Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


Uses of Class
oracle.jbo.server.AttributeDefImpl

Packages that use AttributeDefImpl
oracle.jbo.server Contains the implementation of middle tier components. 
oracle.jbo.server.ejb.facade   
oracle.jbo.server.rules Contains sample validation beans. 

 

Uses of AttributeDefImpl in oracle.jbo.server

 

Subclasses of AttributeDefImpl in oracle.jbo.server
 class AssociationDefImpl
           
 class ViewAttributeDefImpl
          The ViewAttributeDefImpl is an alias to an AttributeDefImpl.

 

Fields in oracle.jbo.server declared as AttributeDefImpl
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
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[] AssociationEnd.mColumnAttrs
           

 

Methods in oracle.jbo.server that return AttributeDefImpl
 AttributeDefImpl ViewRowImpl.getEntityAttrForAttribute(java.lang.String attrName)
           
 AttributeDefImpl[] ViewObjectImpl.getPrimaryKeys()
          Constructs an array of entity attribute definitions of the primary keys of the View Object's Entity Objects.
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)
           
protected abstract  AttributeDefImpl[] RowDef.getAttributeDefImpls()
           
protected  AttributeDefImpl[] RowDef.getDiscrColumns()
          Returns the AttributeDef's of the discriminator columns.
protected  AttributeDefImpl[] EntityImpl.getRefreshSQLKeyAttrs(int operation)
          Returns an array of AttributeDefImpl containing attributes that should be used in the where-clause (as key columns) when a select statement is executed to fetch refresh-on attributes.
protected  AttributeDefImpl[] EntityImpl.buildRefreshSQL(java.lang.StringBuffer sqlBuffer, int operation, AttributeDefImpl[] columns, AttributeDefImpl[] retKeycols, boolean withInto)
          Builds the sql SELECT statement to fetch refresh-on-insert or update attributes and uses getRefreshSQLKeyAttrs() to create WHERE clause for this SELECT statement.
 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.
 AttributeDefImpl EntityDefImpl.addAttribute(java.lang.String attrName, java.lang.String columnName, java.lang.Class javaType, boolean isPrimaryKey, boolean isDiscriminator, boolean isPersistent)
           
 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[] AssociationEnd.getAttributeDefImpls()
           
 AttributeDefImpl[] AssociationDefBase.getAttributeDefImpls()
           
 AttributeDefImpl[] AssociationDefBase.getOtherAttributeDefImpls()
           
 AttributeDefImpl[] AssociationDefBase.getAttributeDefImplsByEndName(java.lang.String endName)
          Returns the attribute definitions of one end of the association.

 

Methods in oracle.jbo.server with parameters of type AttributeDefImpl
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, byte version)
           
protected  Element ViewRowImpl.renderAttributeInXMLElement(Document xmlDoc, AttributeDefImpl ad, boolean explicitNull)
           
protected  void ViewRowImpl.readAttributeFromXMLElement(Node rowElt, AttributeDefImpl ad)
           
protected  void ViewObjectImpl.passivateTransients(ViewRowImpl currentRow, AttributeDefImpl[] attrs, Document doc, Element parent)
          Deprecated. since 9.0.3.3 use passivateTransients(ViewRowSetImpl vrs...)
protected  void ViewObjectImpl.passivateTransients(ViewRowSetImpl vrs, 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 the given ViewRowSet into the given parent xml node.
protected  void ViewObjectImpl.activateTransientAttribute(ViewRowImpl row, Node transRow, AttributeDefImpl ad)
          Override this method if activation of a transient attribute needs to also set/populate/ calculate some dependent attributes.
protected  void ViewObjectImpl.activateTransients(AttributeDefImpl[] attrs, Element parent)
          Deprecated. since 9.0.3.3 use activateTransients with ViewRowSetImpl
protected  void ViewObjectImpl.activateTransients(ViewRowSetImpl vrs, AttributeDefImpl[] attrs, Element parent)
          ReStores the attributes from the given array for either just the current row or all the rows in the given ViewRowSet into the given parent xml node.
 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)
           
 void SQLBuilder.buildSelectString(DBTransactionImpl trans, java.lang.StringBuffer buffer, java.lang.String sourceName, java.lang.String sourceAlias, AttributeDefImpl[] attrs, boolean withIntoClause, int bindingStyle)
           
 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)
           
 int SQLBuilder.bindWhereClause(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] retrKeyCols, java.lang.Object rowid, int bindIndex)
           
 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)
           
 void SQLBuilder.buildWhereClause(EntityImpl entityContext, java.lang.StringBuffer buffer, AttributeDefImpl[] keyCols, java.lang.Object rowid)
           
 boolean SQLBuilder.compareFetchedValue(EntityImpl entity, AttributeDefImpl ad, java.lang.Object cacheValue, java.lang.Object fetchedValue)
          Compare the cacheValue with fetchedValue and if they are equal return true This api is used when comparing cached entity with a faulted in entity.
protected  void RowDef.setDiscrColumns(AttributeDefImpl[] discrCols)
          Sets the AttributeDef's of the discriminator columns.
 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
protected  void OracleSQLBuilderImpl.buildReturningClause(java.lang.StringBuffer sqlBuffer, DBTransactionImpl trans, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode, boolean oracleBinding)
           
 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
protected  int OracleSQLBuilderImpl.bindWhereAttrValue(EntityImpl entityContext, DBTransactionImpl trans, java.sql.PreparedStatement stmt, AttributeDefImpl attrDef, int bindIndex, boolean skipNull)
           
 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.
 void OracleSQLBuilderImpl.buildOptUpdateWhereClause(EntityImpl entityContext, java.lang.StringBuffer buffer, AttributeDefImpl[] cols)
           
 java.lang.StringBuffer OracleSQLBuilderImpl.buildInsertStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
          Construct a SQL INSERT statement
 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.
 boolean OracleSQLBuilderImpl.compareFetchedValue(EntityImpl entity, AttributeDefImpl ad, java.lang.Object cacheValue, java.lang.Object fetchedValue)
          Override for Oracle because in OracleDB, in cache we may have "" string that was posted and DB assumes that string as null and returns null on fetch again.
protected  ViewAttributeDefImpl EntityReference.findViewAttributeDefImpl(java.lang.String name, AttributeDefImpl attr)
           
protected  ViewAttributeDefImpl EntityReference.findViewAttrDefByViewAttrName(java.lang.String name, AttributeDefImpl attr)
           
protected  ViewAttributeDefImpl EntityReference.findViewAttrDefByEntityAttrName(java.lang.String name, AttributeDefImpl attr)
           
protected  com.sun.java.util.collections.ArrayList EntityReference.findViewAttributeDefImpls(AttributeDefImpl attr)
           
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)
          Advanced: Applications should not use this method. * Reads all the attribute values from the xml-element and sets them into this row.
protected  AttributeDefImpl[] EntityImpl.buildRefreshSQL(java.lang.StringBuffer sqlBuffer, int operation, AttributeDefImpl[] columns, AttributeDefImpl[] retKeycols, boolean withInto)
          Builds the sql SELECT statement to fetch refresh-on-insert or update attributes and uses getRefreshSQLKeyAttrs() to create WHERE clause for this SELECT statement.
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.
protected  java.lang.Object EntityImpl.getHistoryContextForAttribute(AttributeDefImpl attr)
           
protected  void EntityImpl.buildWhereClause(java.lang.StringBuffer buffer, AttributeDefImpl[] keyCols, java.lang.Object rowid)
          Construct a SQL WHERE clause for the Entity into the designated Buffer.
protected  int EntityImpl.bindWhereClause(java.sql.PreparedStatement stmt, AttributeDefImpl[] keyCols, java.lang.Object rowid, int bindIndex)
          Bind the Primary key values for the designated Statement.
 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.
 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
protected  int BaseSQLBuilderImpl.bindWhereAttrValue(EntityImpl entityContext, DBTransactionImpl trans, java.sql.PreparedStatement stmt, AttributeDefImpl attrDef, int bindIndex, boolean skipNull)
           
 int BaseSQLBuilderImpl.bindWhereClause(EntityImpl entityContext, java.sql.PreparedStatement stmt, AttributeDefImpl[] keyCols, java.lang.Object rowid, int bindIndex)
           
 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.
 void BaseSQLBuilderImpl.buildOptUpdateWhereClause(EntityImpl entityContext, java.lang.StringBuffer buffer, AttributeDefImpl[] cols)
           
 java.lang.StringBuffer BaseSQLBuilderImpl.buildInsertStatement(EntityImpl entityContext, AttributeDefImpl[] cols, AttributeDefImpl[] retrCols, AttributeDefImpl[] retrKeyCols, boolean batchMode)
          Construct a SQL INSERT statement
 void BaseSQLBuilderImpl.buildSelectString(DBTransactionImpl trans, java.lang.StringBuffer buffer, java.lang.String sourceName, java.lang.String sourceAlias, AttributeDefImpl[] attrs, boolean withIntoClause, int bindingStyle)
           
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[] retrKeyCols)
           
 boolean BaseSQLBuilderImpl.compareFetchedValue(EntityImpl entity, AttributeDefImpl ad, java.lang.Object cacheValue, java.lang.Object fetchedValue)
           

 

Uses of AttributeDefImpl in oracle.jbo.server.ejb.facade

 

Subclasses of AttributeDefImpl in oracle.jbo.server.ejb.facade
 class CmrAccessorDefImpl
           

 

Uses of AttributeDefImpl in oracle.jbo.server.rules

 

Fields in oracle.jbo.server.rules declared as AttributeDefImpl
protected  AttributeDefImpl JboBaseValidator.mValidatingAttr
           

 

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

 


Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


 

Copyright © 1997, 2005, Oracle. All rights reserved.