|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.server.NamedObjectImpl
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.DefObject
oracle.jbo.server.MetaObject
oracle.jbo.server.RowDef
oracle.jbo.server.EntityDefImpl
public class EntityDefImpl
Represents Entity metadata, i.e. structure of an Entity Object
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
static byte |
EFFECTIVE_DATE_TYPE_DATED
Effective Dated entites could be of type dated or effective dated. |
static byte |
EFFECTIVE_DATE_TYPE_EFFECTIVE_DATED
Effective Dated entites could be of type dated or effective dated. |
static byte |
EFFECTIVE_DATE_TYPE_NONE
Constant for specifying non effective dated entitites. |
protected ArrayList |
mAssocAccessors
|
protected ArrayList |
mAssocs
|
protected int |
mBatchThreshold
|
protected AttributeDefImpl[] |
mFKeys
|
protected AttributeDefImpl |
mOIDAttribute
|
Fields inherited from class oracle.jbo.server.RowDef |
---|
mAttrAccessors |
Fields inherited from class oracle.jbo.server.MetaObject |
---|
mComponentClass |
Fields inherited from class oracle.jbo.server.DefObject |
---|
DEF_MDS_CLIENT_KEY, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY |
Fields inherited from class oracle.jbo.server.NamedObjectImpl |
---|
mObjName, mParent, mProperties, mUserData, RES_ID_SUFFIX |
Constructor Summary | |
---|---|
EntityDefImpl()
|
Method Summary | |
---|---|
protected void |
addEntityAssociation(EntityAssociation assoc)
Internal: Applications should not use this method. |
protected void |
addUniqueKeyValidation(JboUniqueKeyValidator val)
|
protected void |
addUniquePKValidation()
Adds validators to each primary key attribute of this Entity to ensure that the primary key for an Entity is always unique. |
void |
addValidator(JboValidatorInterface listener)
Adds a JboValidatorInterface to the listener list. |
protected void |
addVetoableChangeListener(int index,
VetoableChangeListener listener)
This method will be deprecated in a future release. |
protected void |
addVetoableChangeListener(java.lang.String attributeName,
VetoableChangeListener listener)
This method will be deprecated in a future release. |
protected void |
addVetoableChangeListener(VetoableChangeListener listener)
This method will be deprecated in a future release. |
protected EntityImpl |
createBlankInstance(DBTransaction txn)
|
EntityImpl |
createBlankInstance2(DBTransaction txn)
Internal: Applications should not use this method. |
static EntityDefImpl |
createEntityDef(int defScope,
java.lang.String defClassName,
java.lang.String dbObjName,
java.lang.String viewObjectBase)
|
EntityImpl |
findByAltKey(DBTransaction txn,
java.lang.String keyName,
Key key,
boolean inclSubclasses,
boolean searchDatabase)
|
EntityImpl |
findByPKExtended(DBTransaction txn,
Key key,
boolean inclSubclasses)
|
EntityImpl |
findByPrimaryKey(DBTransaction txn,
Key key)
Finds an Entity Object given a Primary Key. |
static EntityDefImpl |
findDefObject(java.lang.String defFullName)
Find the named EntityDefImpl object in the global catalog of metadata |
EntityImpl |
findInCacheByAltKeyExtended(DBTransaction txn,
java.lang.String keyName,
Key key,
boolean inclSubclasses)
|
static EntityDefImpl |
findOrLoadDefObject(java.lang.String defFullName)
|
java.lang.String |
formatForOutput(OutputFormatter formatter)
|
Iterator |
getAllEntityInstancesIterator(DBTransaction tr)
Creates an iterator for stepping through instances of Entities of this definition object type. |
int |
getAltKeyIndex(java.lang.String name)
|
AssociationDefImpl |
getAssociationDefImpl(int index)
Returns the AssociationDefImpl (association accessors) given an index. |
AssociationDefImpl |
getAssociationDefImpl(java.lang.String name)
Returns the AssociationDefImpl (association accessors) given the association name. |
AssociationDefImpl[] |
getAssociationDefImpls()
Returns the AssociationDefImpls. |
protected AttributeDefImpl |
getAttributeDefImplByColumnName(java.lang.String colName)
Given an attribute's column name, returns the attribute definition object. |
protected int[] |
getAutoIncrementIndices()
Determine the indices of AUTO-INCREMENT columns, denoted by a Java type of "oracle.jbo.domain.DBSequence" |
java.lang.Class |
getBaseComponentClass()
|
AttributeDefImpl |
getChangeIndicatorColumn()
Returns the AttributeDef for the Change Indicator column for the datasource. |
java.lang.String |
getClientProxyClassName()
|
java.lang.Class |
getCollClass()
Gets the implementation class of this Entity's collection. |
java.lang.String |
getColumnNameForQuery(int index)
|
java.lang.Class |
getComponentClass()
|
java.lang.String |
getComponentInterfaceName()
|
Iterator |
getCreateEvents()
Returns the list of events to fire when a row is created in the entity. |
AttributeDefImpl |
getDataSecurityAttribute()
|
Iterator |
getDeleteEvents()
Returns the list of events to fire when a row is deleted in the entity. |
protected java.lang.String |
getEffectiveClientProxyClassName()
|
protected java.lang.String |
getEffectiveComponentInterfaceName()
|
protected java.lang.String |
getEffectiveDateTransientAttrName()
The name of the transient attribute that is used to lookup the effective date of a row while doing DML operations. |
byte |
getEffectiveDateType()
Returns the Effective Date type of the Entity definition. |
AttributeDefImpl |
getEffectiveEndDateAttr()
|
AttributeDefImpl |
getEffectiveStartDateAttr()
|
EventDef |
getEventDef(java.lang.String name)
Gets the request event definition. |
Iterator |
getEventParentAttrs()
Gets the list of attributes on the parent entity that are used in the payload of events on this entity. |
Iterator |
getEventTransAttrs()
|
ArrayList |
getExtendedDefObjects(boolean bSkipBusLogicUnits)
|
protected AttributeDefImpl[] |
getForeignKeyAttrs()
Returns the list of AttributeDefs that make the foreign key for the composition cases. |
protected AttributeDefImpl |
getOIDAttribute()
Internal: Applications should not use this method. |
PayloadDef |
getPayloadDef(java.lang.String name)
Returns the specified payload definition. |
protected AttributeDefImpl[] |
getPrimaryKeys()
Returns the AttributeDef's that define the primary key |
AttributeDef[] |
getRawAttributeDefs()
|
int |
getRefAttrIndex()
|
protected AttributeDefImpl[] |
getRetrievedOnInsertAttributes()
Returns the list of attributes for which the Refresh on Insert flag is enabled at Design Time. |
protected AttributeDefImpl[] |
getRetrievedOnInsertPrimaryKeys()
Returns the list of primary keys for which the Refresh on Insert flag is enabled at Design Time. |
protected AttributeDefImpl[] |
getRetrievedOnUpdateAttributes()
Returns the list of attributes for which the Refresh on Update flag is enabled at Design Time. |
protected AttributeDefImpl[] |
getRetrievedOnUpdatePrimaryKeys()
Returns the list of primary key attributes for which the Refresh on Update flag is enabled at Design Time. |
java.lang.Class |
getRowClass()
Gets the implementation class of this Entity's rows. |
java.lang.String |
getSelectClause(SQLBuilder sqlBuilder,
boolean forViewObject)
|
java.lang.String |
getSource()
Returns the name of the database source table |
java.lang.String |
getSourceType()
Returns the name of the database source type. |
AttributeDefImpl[] |
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. |
Iterator |
getUpdateEvents()
Returns the list of events to fire when a row is updated in the entity. |
List |
getValidators()
Get the list of JboValidatorInterface objects registered with this entity |
protected static java.lang.String |
getValidatorSubtype(org.kxml2.io.KXmlParser parser)
|
boolean |
hasDataSecurity()
|
protected boolean |
hasLOBAttrs()
Determines whether the EntityDef contains attributes that are LOBs. |
boolean |
isAssociationAccessorRetained()
|
boolean |
isEffectiveDated()
Checks if this Entity definition is Effective Dated. |
protected boolean |
isOIDInPrimaryKey()
Determines whether the OID (object identifier) attribute is a primary key. |
boolean |
isRefPKBased()
Indicates whether this Entity's REF is primary key based or not. |
protected boolean |
isRowIDPrimaryKey()
Determines whether this Entity Object has a ROWID attribute that is used as a primary key. |
boolean |
isSingleUseKeyStatement()
|
boolean |
isUpdatable()
Internal: Applications should not use this method. |
boolean |
isUpdateChangedColumns()
Determines whether the SQL generation of UPDATE statements should include all of the columns or just the changed columns. |
boolean |
isUseGlueCode()
|
protected void |
loadAttribute(org.kxml2.io.KXmlParser parser)
Load the attributes from the XMLInput Stream |
protected static void |
loadFromXML(org.kxml2.io.KXmlParser parser,
oracle.jbo.server.RemotableCompDef defObj)
|
static EntityDefImpl |
loadFromXml(org.kxml2.io.KXmlParser parser,
java.lang.String fullName)
|
protected void |
loadValidator(org.kxml2.io.KXmlParser parser,
AttributeDefImpl pAttr,
boolean isAttr)
Load a validator specified in the metadata |
protected ViewAccessorDef |
loadViewAccessor(org.kxml2.io.KXmlParser parser)
|
void |
loadXMLContents(org.kxml2.io.KXmlParser parser,
java.lang.String fullName)
|
JboValidatorInterface |
lookupValidator(java.lang.String name)
|
protected void |
removeValidator(JboValidatorInterface listener)
Removes a VetoableChangeListener from the listener list. |
protected void |
removeVetoableChangeListener(int index,
VetoableChangeListener listener)
This method will be deprecated in a future release. |
protected void |
removeVetoableChangeListener(java.lang.String attributeName,
VetoableChangeListener listener)
This method will be deprecated in a future release. |
protected void |
removeVetoableChangeListener(VetoableChangeListener listener)
This method will be deprecated in a future release. |
protected void |
resolveUniqueKeyValidators()
|
void |
setAssociationAccessorRetained(boolean b)
|
void |
setBatchThreshold(int threshold)
|
void |
setBusLogicGroupName(java.lang.String name)
|
void |
setBusLogicUnitName(java.lang.String name)
|
protected void |
setChangeIndicatorColumn(AttributeDefImpl column)
Set the AttributeDef for the Change Indicator column. |
void |
setClientProxyClassName(java.lang.String name)
|
void |
setCollClass(java.lang.Class collClass)
Internal: Applications should not use this method. |
void |
setComponentClass(java.lang.Class refClass)
|
void |
setComponentInterfaceName(java.lang.String interfaceName)
|
void |
setEffectiveDateType(byte effDtType)
Sets the Effective Date Type for this Entity definition. |
void |
setEJBAppProviderURL(java.lang.String url)
|
void |
setEJBHomeJNDIName(java.lang.String nam)
|
void |
setRefPKBased(boolean val)
Internal: Applications should not use this method. |
void |
setRowClass(java.lang.Class rowClass)
Internal: Applications should not use this method. |
void |
setSingleUseKeyStatement(boolean singleUse)
|
void |
setUpdatable(boolean flag)
Internal: Applications should not use this method. |
void |
setUpdateChangedColumns(boolean updateChangedColumns)
Sets the flag for status to update on Changed Columns |
void |
setUseGlueCode(boolean b)
|
protected void |
verifyExtendedDefObjects()
|
Methods inherited from class oracle.jbo.server.MetaObject |
---|
getMessageBundleClass, getMsgBundleDef, setMessageBundleClass |
Methods inherited from class oracle.jbo.mom.PersistableDefObject |
---|
getDefManager |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.rules.ValidationManager |
---|
getFullName, getName, getResourceBundleDef |
Methods inherited from interface oracle.jbo.StructureDef |
---|
getFullName, getName |
Methods inherited from interface oracle.jbo.common.ResourceBundleOwner |
---|
getResourceBundleDef, getResourcePrefix |
Methods inherited from interface oracle.jbo.VariableManagerOwner |
---|
getName |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
public static final byte EFFECTIVE_DATE_TYPE_DATED
public static final byte EFFECTIVE_DATE_TYPE_EFFECTIVE_DATED
public static final byte EFFECTIVE_DATE_TYPE_NONE
protected ArrayList mAssocs
protected ArrayList mAssocAccessors
protected int mBatchThreshold
protected AttributeDefImpl mOIDAttribute
protected AttributeDefImpl[] mFKeys
Constructor Detail |
---|
public EntityDefImpl()
Method Detail |
---|
public AttributeDefImpl getChangeIndicatorColumn()
The Change Indicator column is used, in some applications, to indicate changes in the underlying row in the datastore. It usually takes the form of a Timestamp or a Counter and, is compared at change time, against the value in the cache, to check for consistency.
protected void setChangeIndicatorColumn(AttributeDefImpl column)
column
- public java.lang.String getSource()
public java.lang.String getSourceType()
protected AttributeDefImpl[] getPrimaryKeys()
getPrimaryKeys
in class RowDef
public static final EntityDefImpl findOrLoadDefObject(java.lang.String defFullName)
public static final EntityDefImpl findDefObject(java.lang.String defFullName)
defFullName
-
public void setBusLogicGroupName(java.lang.String name)
public void setBusLogicUnitName(java.lang.String name)
public void setCollClass(java.lang.Class collClass)
Sets the implementation class for this Entity's collection.
collClass
- the collection implementation class.public java.lang.Class getCollClass()
public void setRowClass(java.lang.Class rowClass)
Sets the implementation class for this Entity's rows.
rowClass
- the row implementation class.public static EntityDefImpl createEntityDef(int defScope, java.lang.String defClassName, java.lang.String dbObjName, java.lang.String viewObjectBase)
public static final EntityDefImpl loadFromXml(org.kxml2.io.KXmlParser parser, java.lang.String fullName)
protected static java.lang.String getValidatorSubtype(org.kxml2.io.KXmlParser parser)
protected void loadValidator(org.kxml2.io.KXmlParser parser, AttributeDefImpl pAttr, boolean isAttr)
parser
- protected int[] getAutoIncrementIndices()
entityDef
-
public java.lang.String formatForOutput(OutputFormatter formatter)
formatForOutput
in interface Formattable
formatForOutput
in class RowDef
public java.lang.String getSelectClause(SQLBuilder sqlBuilder, boolean forViewObject)
public boolean hasDataSecurity()
public AttributeDefImpl getDataSecurityAttribute()
public java.lang.String getColumnNameForQuery(int index)
getColumnNameForQuery
in interface StructureDef
getColumnNameForQuery
in class RowDef
public boolean isEffectiveDated()
isEffectiveDated
in class RowDef
true
if the Entity definition has both effective start date and
effective end date attributes, false otherwise.public AttributeDefImpl getEffectiveStartDateAttr()
public AttributeDefImpl getEffectiveEndDateAttr()
public byte getEffectiveDateType()
EntityDefImpl.EFFECTIVE_DATE_TYPE_EFFECTIVE_DATED
,
EntityDefImpl.EFFECTIVE_DATE_TYPE_DATED
or
EntityDefImpl.EFFECTIVE_DATE_TYPE_NONE
protected AttributeDefImpl getAttributeDefImplByColumnName(java.lang.String colName)
This method takes the Entity attribute's database colunm name and returns the corresponding attribute definition object. For example, use this method to get the attribute definition object to store custom properties.
colName
- the name of the attribute's column in the database.
public java.lang.Class getRowClass()
getRowClass
in class RowDef
public boolean isAssociationAccessorRetained()
protected void addEntityAssociation(EntityAssociation assoc)
Adds an Entity Association to this Entity.
assoc
- the entity assocition to be added.public java.lang.Class getBaseComponentClass()
getBaseComponentClass
in class RowDef
public AttributeDef[] getRawAttributeDefs()
public void setEJBHomeJNDIName(java.lang.String nam)
public void setEJBAppProviderURL(java.lang.String url)
public void setBatchThreshold(int threshold)
public void setUpdatable(boolean flag)
Set false if this entity has to be readOnly (e.g., when this entity is mapping a snapshot table.) Default is true.
flag
- public void setUpdateChangedColumns(boolean updateChangedColumns)
public void setUseGlueCode(boolean b)
public void setRefPKBased(boolean val)
Sets a flag that indicates whether this Entity's REF is primary key based or not. This method is meaningful only for an Entity whose base table is an Oracle object table. For such an Entity, a question arises whether the object reference ("REF") for the table is primary key based or not. This method sets this flag.
val
- should be true if the underlying object table's REF is
primary key based. Otherwise, false.public void setAssociationAccessorRetained(boolean b)
public void setEffectiveDateType(byte effDtType)
EntityDefImpl.EFFECTIVE_DATE_TYPE_EFFECTIVE_DATED
,
EntityDefImpl.EFFECTIVE_DATE_TYPE_DATED
or
EntityDefImpl.EFFECTIVE_DATE_TYPE_NONE
. If
the effective dated type is changed from EntityDefImpl.EFFECTIVE_DATE_TYPE_NONE
then the framework assumes that there are start and end effective date
attributes specified for this entity.
effDtType
- EntityDefImpl.EFFECTIVE_DATE_TYPE_EFFECTIVE_DATED
,
EntityDefImpl.EFFECTIVE_DATE_TYPE_DATED
or
EntityDefImpl.EFFECTIVE_DATE_TYPE_NONE
protected void loadAttribute(org.kxml2.io.KXmlParser parser)
elem
- : BC4J Entitypublic boolean isUpdatable()
Returns false if this entity has to be readOnly (e.g., when this entity is mapping a snapshot table.) Default is true.
protected void verifyExtendedDefObjects()
protected void addUniquePKValidation()
Whenever any of the primary key attribute values change, this validation
rule is invoked to validate, both in the cache and the database, that the
new key does not belong to any other
Entity of this type. If the key is
found in one of the Entities,
a TooManyObjectsException
is
thrown.
Subclasses should invoke this method in their createDef() method to add these validators. By default, the framework does not invoke the unique key check. For example, you can add a validator to look for duplicate keys. To do this, follow these instructions:
protected void createDef() { addUniquePKValidation(); }This enables validation to check if the modified primary key value exists in either the database or the cache.
An alternative way to apply this validator in designtime is to edit the entity in designtime and apply UniqueKeyValidator to the entity in the Rules Tab.
TooManyObjectsException
- if a duplicate key is found.RowDef.createDef()
,
TooManyObjectsException
protected void resolveUniqueKeyValidators()
protected void addUniqueKeyValidation(JboUniqueKeyValidator val)
protected java.lang.String getEffectiveDateTransientAttrName()
public AssociationDefImpl[] getAssociationDefImpls()
public AssociationDefImpl getAssociationDefImpl(int index)
index
- of the association attribute.
public AssociationDefImpl getAssociationDefImpl(java.lang.String name)
name
- the name of the association.
public EntityImpl findByPKExtended(DBTransaction txn, Key key, boolean inclSubclasses)
public EntityImpl createBlankInstance2(DBTransaction txn)
Internal method invoked whenever an Entity of this type is created within the framework.
txn
- the Database Transaction Object.
public ArrayList getExtendedDefObjects(boolean bSkipBusLogicUnits)
protected EntityImpl createBlankInstance(DBTransaction txn)
public boolean isSingleUseKeyStatement()
public void setSingleUseKeyStatement(boolean singleUse)
protected boolean isOIDInPrimaryKey()
protected AttributeDefImpl getOIDAttribute()
Returns the object identifier attribute (OID). This method is used to return attributes that are Oracle Objects.
protected boolean isRowIDPrimaryKey()
public Iterator getEventParentAttrs()
public Iterator getEventTransAttrs()
protected AttributeDefImpl[] getForeignKeyAttrs()
public boolean isRefPKBased()
public int getRefAttrIndex()
public EntityImpl findByPrimaryKey(DBTransaction txn, Key key)
Given the name of the databse transaction and the table's primary key, this method returns the associated Entity Object. If the Entity has not already been brought into the cache by any of the View Objects, this method will cause the Entity to be fetched from the database.
This method returns null if the Entity Object is not found.
txn
- the transaction containing the Entity Object.key
- the Primary Key.
public EntityImpl findByAltKey(DBTransaction txn, java.lang.String keyName, Key key, boolean inclSubclasses, boolean searchDatabase)
public Iterator getAllEntityInstancesIterator(DBTransaction tr)
tr
- the transaction containing the Entity Objects.
public EntityImpl findInCacheByAltKeyExtended(DBTransaction txn, java.lang.String keyName, Key key, boolean inclSubclasses)
public int getAltKeyIndex(java.lang.String name)
protected boolean hasLOBAttrs()
This method is used by
doDML
to determine if the EntityDef contains LOB attributes. If it does,
doDML calls
doDMLWithLOBs
to process the DML request. For example:
protected void doDML(int operation, TransactionEvent e) { if (!getEntityDef().hasLOBAttrs()) { getSQLBuilder().doEntityDML(this,operation,e); } else { doDMLWithLOBs(operation, e); } }Developers who implement doDML() to handle the two-phase insert and update process, should override hasLOBAttrs() in the EntityDefImpl subclass and return false. This will cause doDML() to work properly with the current release.
doDML
,
doDMLWithLOBs
public List getValidators()
getValidators
in interface ValidationManager
public JboValidatorInterface lookupValidator(java.lang.String name)
public void addValidator(JboValidatorInterface listener)
JboValidatorInterface
to the listener list.
This method modifies the static/singleton metadata.
addValidator
in interface ValidationManager
listener
- the JboValidatorInterface
to be added.JboValidatorInterface
protected void removeValidator(JboValidatorInterface listener)
VetoableChangeListener
from the listener list.
This method modifies the static/singleton metadata.
listener
- the VetoableChangeListener
to be removed.VetoableChangeListener
protected void addVetoableChangeListener(VetoableChangeListener listener)
Adds a VetoableChangeListener
to the listener list.
This method modifies the static/singleton metadata.
listener
- the VetoableChangeListener
to be added.VetoableChangeListener
protected void addVetoableChangeListener(int index, VetoableChangeListener listener)
Adds a VetoableChangeListener
to the listener list
for an attribute at the given index. Use this method to add a validator
to an attribute.
This method modifies the static/singleton metadata.
index
- the index of the attribute to which the listener is to be added.listener
- the VetoableChangeListener
to be added.VetoableChangeListener
protected void addVetoableChangeListener(java.lang.String attributeName, VetoableChangeListener listener)
Adds a VetoableChangeListener
to the listener list
for an attribute of the given name.
This method modifies the static/singleton metadata.
attributeName
- the attribute to which the listener is to be added.listener
- the VetoableChangeListener
to be added.VetoableChangeListener
protected void removeVetoableChangeListener(VetoableChangeListener listener)
Removes a VetoableChangeListener
from the listener list.
This method modifies the static/singleton metadata.
listener
- the VetoableChangeListener
to be removed.VetoableChangeListener
protected void removeVetoableChangeListener(int index, VetoableChangeListener listener)
Removes a VetoableChangeListener
from the listener list
of the given attribute (by index).
This method modifies the static/singleton metadata.
index
- the index of the attribute from which the listener is to be removed.listener
- the VetoableChangeListener
to be removed.VetoableChangeListener
protected final void removeVetoableChangeListener(java.lang.String attributeName, VetoableChangeListener listener)
Removes a VetoableChangeListener
from the listener list
of the given attribute (by index).
This method modifies the static/singleton metadata.
attributeName
- the attribute to which the listener is to be added.listener
- the VetoableChangeListener
to be removed.VetoableChangeListener
protected AttributeDefImpl[] getRetrievedOnUpdatePrimaryKeys()
protected AttributeDefImpl[] getRetrievedOnInsertPrimaryKeys()
protected AttributeDefImpl[] getRetrievedOnUpdateAttributes()
protected AttributeDefImpl[] getRetrievedOnInsertAttributes()
public AttributeDefImpl[] getUniqueKeys()
public boolean isUpdateChangedColumns()
The return value of this flag indicates whether the SQL Generation of UPDATE statements should include all of the columns or just the changed columns. If this method returns true then only the updated columns will be included, otherwise the method will include all of the columns that are present.
public Iterator getCreateEvents()
public Iterator getUpdateEvents()
public Iterator getDeleteEvents()
protected ViewAccessorDef loadViewAccessor(org.kxml2.io.KXmlParser parser)
loadViewAccessor
in class RowDef
public PayloadDef getPayloadDef(java.lang.String name)
name
- - the name of the requested payload definition
public EventDef getEventDef(java.lang.String name)
name
- - name of the event definition
public boolean isUseGlueCode()
public java.lang.Class getComponentClass()
public void setComponentClass(java.lang.Class refClass)
setComponentClass
in class MetaObject
public void setComponentInterfaceName(java.lang.String interfaceName)
public java.lang.String getComponentInterfaceName()
public java.lang.String getClientProxyClassName()
public void setClientProxyClassName(java.lang.String name)
protected java.lang.String getEffectiveClientProxyClassName()
protected java.lang.String getEffectiveComponentInterfaceName()
protected static void loadFromXML(org.kxml2.io.KXmlParser parser, oracle.jbo.server.RemotableCompDef defObj)
public void loadXMLContents(org.kxml2.io.KXmlParser parser, java.lang.String fullName)
loadXMLContents
in class PersistableDefObject
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |