Business Components

Uses of Class
oracle.jbo.server.AttributeDefImpl

Packages that use.*
PackageDescription
oracle.jbo.server Contains the implementation of middle tier components. 
oracle.jbo.server.rules Contains sample validation beans. 
 

Uses of AttributeDefImpl in oracle.jbo.server
 

Subclasses of AttributeDefImpl in oracle.jbo.server
TypeName
 class AssociationDefImpl
           NAME AssociationDefImpl.java - DESCRIPTION The AssociationDefImpl describes a read-only property that a JavaBean exports via a get accessor method.
 class ViewAttributeDefImpl
          The ViewAttributeDefImpl is an alias to an AttributeDefImpl.
 

Fields in oracle.jbo.server declared as AttributeDefImpl
TypeName
protected  AttributeDefImpl[] AssociationEnd.mColumnAttrs
           
protected  AttributeDefImpl[] EntityAssociation.mBindVars
          The list of AttributeDefImpls as bind variables on one end.
protected  AttributeDefImpl[] EntityAssociation.mOtherBindVars
          The list of bind variable AttributeDefImpls on one end.
protected  AttributeDefImpl ViewAttributeDefImpl.mAttrDesc
           
protected  AttributeDefImpl[] EntityDefImpl.mFKeys
          List of attributes that comprise the foreign key.
protected  AttributeDefImpl[] EntityDefImpl.mPrimaryKeys
          List of attributes that comprise the primary key.
protected  AttributeDefImpl EntityDefImpl.mOIDAttribute
          If entity is a OIDObject
 

Methods in oracle.jbo.server that return AttributeDefImpl
TypeName
 AttributeDefImpl[] AssociationEnd.getAttributeDefImpls()
           
protected  AttributeDefImpl[] ViewDefImpl.getAttributeDefImpls()
          Gets an array of attribute definitions in this View Def.
 AttributeDefImpl ViewDefImpl.addEntityAttribute(java.lang.String attrName, java.lang.String entityUsageName, java.lang.String entityAttrName, boolean isPersistent)
           
 AttributeDefImpl ViewDefImpl.addViewAttribute(java.lang.String attrName, java.lang.String expression, java.lang.Class javaType)
           
 AttributeDefImpl ViewRowImpl.getEntityAttrForAttribute(java.lang.String attrName)
           
 AttributeDefImpl[] AssociationDefBase.getAttributeDefImpls()
           
 AttributeDefImpl[] AssociationDefBase.getOtherAttributeDefImpls()
           
 AttributeDefImpl[] AssociationDefBase.getAttributeDefImplsByEndName(java.lang.String endName)
          Returns the attribute definitions of one end of the association.
 AttributeDefImpl[] EntityAssociation.getBindVariables()
          Returns the bind variables for one end of the association.
 AttributeDefImpl[] EntityAssociation.getOtherBindVariables()
          Returns the bind variables for the other end of the association.
 AttributeDefImpl[] ViewObjectImpl.getPrimaryKeys()
          Constructs an array of entity attribute definitions of the primary keys of the View Object's Entity Objects.
 AttributeDefImpl EntityDefImpl.getAttributeDefImpl(java.lang.String attrName)
          Given an attribute name, returns the attribute definition object.
 AttributeDefImpl EntityDefImpl.getAttributeDefImpl(int index)
          Given the attribute's column position (index) in the database, returns the attribute definition object.
protected  AttributeDefImpl EntityDefImpl.getAttributeDefImplByColumnName(java.lang.String colName)
          Given an attribute's column name, returns the attribute definition object.
protected  AttributeDefImpl[] EntityDefImpl.getAttributeDefImpls()
          Returns the AttributeDefImpls objects for this Entity Object.
protected  AttributeDefImpl[] EntityDefImpl.getForeignKeyAttrs()
          Returns the list of AttributeDefs that make the foreign key for the composition cases.
protected  AttributeDefImpl[] EntityDefImpl.getPrimaryKeys()
          Returns the AttributeDef's that define the primary key.
protected  AttributeDefImpl EntityDefImpl.getOIDAttribute()
          Internal: Applications should not use this method.
protected  AttributeDefImpl[] EntityDefImpl.getRetrievedOnInsertAttributes()
          Returns the list of attributes for which the Refresh on Insert flag is enabled at Design Time.
protected  AttributeDefImpl[] EntityDefImpl.getRetrievedOnUpdateAttributes()
          Returns the list of attributes for which the Refresh on Update flag is enabled at Design Time.
protected  AttributeDefImpl[] EntityDefImpl.getRetrievedOnInsertPrimaryKeys()
          Returns the list of primary keys for which the Refresh on Insert flag is enabled at Design Time.
protected  AttributeDefImpl[] EntityDefImpl.getRetrievedOnUpdatePrimaryKeys()
          Returns the list of primary key attributes for which the Refresh on Update flag is enabled at Design Time.
 AttributeDefImpl[] EntityDefImpl.getUniqueKeys()
          Returns the list of attributes that were marked as Unique-key constituents in designtime The order of attribute definitions is the order in which the unique-key attributes appear in the set of attributes for this entity.
protected  AttributeDefImpl EntityDefImpl.getChangeIndicatorColumn()
          Returns the AttributeDef for the Change Indicator column for the datasource.
 

Methods in oracle.jbo.server with parameters of type AttributeDefImpl
TypeName
 void BaseSQLBuilderImpl.doPreparedStatementDefines(java.sql.PreparedStatement ps, AttributeDefImpl[] attrs)
           
 java.lang.Object[] BaseSQLBuilderImpl.doLoadBulkFromResultSet(AttributeDefImpl[] attrDefs, int attrIndex, java.sql.ResultSet rs, int index, DBTransactionImpl trans)
           
 java.lang.StringBuffer BaseSQLBuilderImpl.buildUpdateStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
          DOCTD: Method declaration TODO: KM _ don't like the fact that this requires an entitydef
 int BaseSQLBuilderImpl.bindInsertStatement(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, com.sun.java.util.collections.HashMap retrList, boolean batchMode)
          DOCTD: Method declaration
 int BaseSQLBuilderImpl.bindUpdateStatement(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, com.sun.java.util.collections.HashMap retrList, boolean batchMode)
          DOCTD: Method declaration
 void BaseSQLBuilderImpl.buildWhereClause(EntityImpl entityContext, java.lang.StringBuffer buffer, AttributeDefImpl[] keyCols, java.lang.Object rowid)
          Construct a SQL WHERE clause for the Entity into the designated Buffer, based upon the Source Columns.
 java.lang.StringBuffer BaseSQLBuilderImpl.buildInsertStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
          Construct a SQL INSERT statement
protected  void BaseSQLBuilderImpl.buildSelectString(java.lang.StringBuffer buffer, java.lang.String sourceName, AttributeDefImpl[] attrs, boolean withIntoClause)
          Construct a SQL SELECT statement for the Entity into the designated Buffer.
 void BaseSQLBuilderImpl.doRefreshSQL(EntityImpl entityContext, int operation, AttributeDefImpl[] columns, AttributeDefImpl[] keyCols)
           
 void OracleSQLBuilderImpl.doPreparedStatementDefines(java.sql.PreparedStatement stmt, AttributeDefImpl[] columns)
           
 java.lang.Object[] OracleSQLBuilderImpl.doLoadBulkFromResultSet(AttributeDefImpl[] attrDefs, int attrIndex, java.sql.ResultSet rs, int index, DBTransactionImpl trans)
           
 java.lang.StringBuffer OracleSQLBuilderImpl.buildUpdateStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
          DOCTD: Method declaration TODO: KM _ don't like the fact that this requires an entitydef
 int OracleSQLBuilderImpl.bindInsertStatement(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, com.sun.java.util.collections.HashMap retrList, boolean batchMode)
          DOCTD: Method declaration
 int OracleSQLBuilderImpl.bindUpdateStatement(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, com.sun.java.util.collections.HashMap retrList, boolean batchMode)
          DOCTD: Method declaration
 void OracleSQLBuilderImpl.buildWhereClause(EntityImpl entityContext, java.lang.StringBuffer buffer, AttributeDefImpl[] keyCols, java.lang.Object rowid)
          Construct a SQL WHERE clause for the Entity into the designated Buffer, based upon the Source Columns.
 java.lang.StringBuffer OracleSQLBuilderImpl.buildInsertStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
          Construct a SQL INSERT statement
protected  void OracleSQLBuilderImpl.buildSelectString(DBTransactionImpl trans, java.lang.StringBuffer buffer, java.lang.String sourceName, java.lang.String sourceAlias, AttributeDefImpl[] attrs, boolean withIntoClause, int bindingStyle)
          Construct a SQL SELECT statement for the Entity into the designated Buffer.
protected  java.lang.Object ViewRowImpl.getAttrInvokeAccessor(int ix, AttributeDefImpl attrRef)
           
protected  void ViewRowImpl.setAttrInvokeAccessor(int index, java.lang.Object val, AttributeDefImpl attrRef)
           
protected  void ViewRowImpl.appendXMLElementNodes(Document xmlDoc, Node node, int depthCount, long options, AttributeDefImpl[] attrs)
          Writes XML-element nodes for each attribute in this row and appends it to the given row-node.
protected  Element ViewRowImpl.renderAttributeInXMLElement(Document xmlDoc, AttributeDefImpl ad, boolean explicitNull)
           
protected  void ViewRowImpl.readAttributeFromXMLElement(Node rowElt, AttributeDefImpl ad)
           
 void EntityAssociation.setBindVariables(AttributeDefImpl[] vars)
          Sets the bind variables for one end of the association.
 void EntityAssociation.setOtherBindVariables(AttributeDefImpl[] vars)
          Sets the bind variables for the other end of the association.
protected  java.lang.Object EntityImpl.getAttrInvokeAccessor(int index, AttributeDefImpl attrDef)
           
protected  void EntityImpl.setAttrInvokeAccessor(int index, java.lang.Object val, AttributeDefImpl attrDef)
           
protected  java.lang.Object EntityImpl.getAttributeValue(AttributeDefImpl attr)
          Internal: Applications should not use this method.
protected  java.lang.Object EntityImpl.getPKBasedRef(AttributeDefImpl attr)
           
protected  void EntityImpl.appendXMLElementNodes(Document xmlDoc, Node node, int nContainees, long options, AttributeDefImpl[] attrs)
           
protected  boolean EntityImpl.readAttrsFromXML(Element rowElt, AttributeDefImpl[] attrs, int ChangeState)
          Reads all the attribute values from the xml-element and sets them into this row.
protected  int EntityImpl.bindDMLStatement(int operation, java.sql.PreparedStatement stmt, AttributeDefImpl[] allAttrs, AttributeDefImpl[] retCols, AttributeDefImpl[] retKeys, com.sun.java.util.collections.HashMap retrList, boolean batchMode)
          Advanced: Most applications should not use this method. This method binds current attribute values to the given jdbc PreparedStatement.
protected  java.lang.StringBuffer EntityImpl.buildDMLStatement(int operation, AttributeDefImpl[] allAttrs, AttributeDefImpl[] retCols, AttributeDefImpl[] retKeys, boolean batchMode)
          Advanced: Most applications should not use this method. This method constructs the DML statement and returns it as a StringBuffer.
 java.lang.StringBuffer SQLBuilder.buildInsertStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
           
 java.lang.StringBuffer SQLBuilder.buildUpdateStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
           
 int SQLBuilder.bindInsertStatement(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, com.sun.java.util.collections.HashMap retrList, boolean batchMode)
           
 int SQLBuilder.bindUpdateStatement(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, com.sun.java.util.collections.HashMap retrList, boolean batchMode)
           
 void SQLBuilder.doPreparedStatementDefines(java.sql.PreparedStatement ps, AttributeDefImpl[] attrs)
          Performs the equivalent of clearDefines() on a prepared statement.
 java.lang.Object[] SQLBuilder.doLoadBulkFromResultSet(AttributeDefImpl[] attrs, int attrIndex, java.sql.ResultSet rs, int rsIndex, DBTransactionImpl trans)
          Loads an array of objects from a result set.
 void SQLBuilder.doRefreshSQL(EntityImpl entityContext, int operation, AttributeDefImpl[] columns, AttributeDefImpl[] keyCols)
           
protected  void ViewObjectImpl.passivateTransients(ViewRowImpl currentRow, AttributeDefImpl[] attrs, Document doc, Element parent)
          Stores the attributes from the given array for either just the current row or all the rows in this viewrowset into the given parent xml node.
protected  void ViewObjectImpl.activateTransients(AttributeDefImpl[] attrs, Element parent)
          ReStores the attributes from the given array for either just the current row or all the rows in this viewrowset into the given parent xml node.
 

Uses of AttributeDefImpl in oracle.jbo.server.rules
 

Methods in oracle.jbo.server.rules with parameters of type AttributeDefImpl
TypeName
 void JboBaseValidator.setValidatingAttribute(AttributeDefImpl attr)
          Sets the validating attribute.
 


Business Components