|
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
public abstract class RowDef
Abstract class which represents the definition of a tabular row
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
protected OrderedDictionary |
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 | |
---|---|
RowDef()
|
Method Summary | |
---|---|
void |
addAltKey(int indx,
java.lang.String name,
java.lang.String[] components)
|
void |
addListBindingDef(ListBindingDef lbDef)
|
void |
addViewAccessorDef(ViewAccessorDef va)
|
protected java.lang.StringBuffer |
appendBindingNameForAttr(java.lang.StringBuffer strBuf,
AttributeDef attrDef)
|
protected int |
appendBindingSpec(java.lang.StringBuffer strBuf,
int bindingStyle,
int bindIndex,
AttributeDef attrDef,
AttributeDef theOtherAttrDef,
AssociationEnd assocEnd)
|
protected void |
bindListBindings()
|
protected void |
createDef()
This method should be used to perform custom-metadata initialization in a subclass of RowDef. |
protected boolean |
discrValuesQualify(java.lang.Object[] values)
|
KeyDef |
findAltKeyDef(java.lang.String name)
|
AttributeDef |
findAttributeDef(java.lang.String name)
Retrieve a column definition by column name |
protected RowDef |
findDefForDiscrValues(java.lang.Object[] values,
boolean recurse)
|
ListBindingDef |
findListBindingDef(java.lang.String name)
|
ViewAccessorDef |
findViewAccessorDef(java.lang.String name)
|
java.lang.String |
formatForOutput(OutputFormatter formatter)
|
java.lang.String |
getAliasName()
|
AttributeDefImpl[] |
getAltKeyAttrDefs(int keyIndex)
|
AttributeDefImpl[] |
getAltKeyAttrDefs(java.lang.String keyName)
|
int |
getAltKeyCount()
|
KeyDef |
getAltKeyDef(int keyIndex)
|
java.lang.String[] |
getAltKeyNames()
|
int |
getAttributeCount()
How many attributes comprise this row? |
AttributeDef |
getAttributeDef(int index)
Retrive a column definition by column index |
AttributeDefImpl |
getAttributeDefImpl(int index)
Given the attribute's column position (index) in the database, returns the attribute definition object. |
AttributeDefImpl |
getAttributeDefImpl(java.lang.String attrName)
Given an attribute name, returns the attribute definition object. |
protected AttributeDefImpl[] |
getAttributeDefImpls()
Returns the AttributeDefImpls objects for this Entity Object. |
AttributeDef[] |
getAttributeDefs()
Get all column definitions which comprise this row. |
int |
getAttributeIndexOf(java.lang.String name)
Which index corresponds to the column with the specified name? |
java.lang.Class |
getBaseComponentClass()
|
int |
getBindingStyle()
|
java.lang.String |
getClientProxyClassName()
|
java.lang.String |
getColumnNameForQuery(int index)
|
java.lang.Class |
getComponentClass()
|
java.lang.String |
getComponentInterfaceName()
|
java.lang.String |
getDefFullName()
Get the full name of this row definition object |
java.lang.String |
getDefName()
Get the short name of this row definition object |
protected AttributeDefImpl[] |
getDiscrColumns()
Returns the AttributeDef's of the discriminator columns. |
protected java.lang.String |
getEffectiveClientProxyClassName()
|
protected java.lang.String |
getEffectiveComponentInterfaceName()
|
AttributeDefImpl |
getEffectiveDateTransientAttr()
Retuns the Attribute definition that stores the Effective Date value in a row. |
ArrayList |
getListBindingDefs()
|
protected abstract AttributeDefImpl[] |
getPrimaryKeys()
|
abstract java.lang.Class |
getRowClass()
|
ArrayList |
getViewAccessorDefs()
|
boolean |
isEffectiveDated()
Tests if the row definition corresponds to an Effective Dated object. |
protected static void |
loadFromXML(org.kxml2.io.KXmlParser parser,
oracle.jbo.server.RemotableCompDef defObj)
|
protected void |
loadListBindings(org.kxml2.io.KXmlParser parser)
|
protected ViewAccessorDef |
loadViewAccessor(org.kxml2.io.KXmlParser parser)
|
void |
loadXMLContents(org.kxml2.io.KXmlParser parser,
java.lang.String fullName)
|
KeyDef |
lookupAltKeyDef(java.lang.String name)
|
AttributeDef |
lookupAttributeDef(java.lang.String name)
Retrieve a column definition by column name |
ListBindingDef |
lookupListBindingDef(java.lang.String name)
|
ViewAccessorDef |
lookupViewAccessorDef(java.lang.String name)
|
void |
setAliasName(java.lang.String name)
|
protected void |
setBindingStyle(int style)
|
void |
setClientProxyClassName(java.lang.String name)
|
void |
setComponentClass(java.lang.Class refClass)
|
void |
setComponentInterfaceName(java.lang.String interfaceName)
|
protected void |
setDiscrColumns(AttributeDefImpl[] discrCols)
Sets the AttributeDef's of the discriminator columns. |
void |
setThrowOnListBindingMismatch(boolean b)
|
boolean |
throwOnListBindingMismatch()
|
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.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
protected OrderedDictionary mAttrAccessors
Constructor Detail |
---|
public RowDef()
Method Detail |
---|
public AttributeDef findAttributeDef(java.lang.String name)
findAttributeDef
in interface StructureDef
name
- the name of an AttributeDef
.
public int getAttributeCount()
getAttributeCount
in interface StructureDef
public AttributeDef getAttributeDef(int index)
getAttributeDef
in interface StructureDef
index
- 0...n
public AttributeDefImpl getAttributeDefImpl(int index)
This method takes the Entity attribute's database column position (index) and returns the corresponding attribute definition object. For example, use this method to get the attribute definition object to store custom properties.
index
- the attribute's database column position, where the leftmost column has index 0.
public AttributeDefImpl getAttributeDefImpl(java.lang.String attrName)
This method takes the string name of an Entity Object attribute and returns the corresponding attribute definition object. For example, use this method to get the attribute definition object to store custom properties.
attrName
- the specified Entity attribute.
protected AttributeDefImpl[] getAttributeDefImpls()
public AttributeDef[] getAttributeDefs()
getAttributeDefs
in interface StructureDef
public int getAttributeIndexOf(java.lang.String name)
getAttributeIndexOf
in interface StructureDef
name
- the attribute's name.
public java.lang.String getDefFullName()
getDefFullName
in interface StructureDef
public java.lang.String getDefName()
getDefName
in interface StructureDef
public AttributeDef lookupAttributeDef(java.lang.String name)
lookupAttributeDef
in interface StructureDef
name
- the name of an AttributeDef
.
public java.lang.String getAliasName()
public void setAliasName(java.lang.String name)
protected void setBindingStyle(int style)
public int getBindingStyle()
protected AttributeDefImpl[] getDiscrColumns()
protected void setDiscrColumns(AttributeDefImpl[] discrCols)
discrCols
- an array attribute definitions of the discriminator columns.protected abstract AttributeDefImpl[] getPrimaryKeys()
protected int appendBindingSpec(java.lang.StringBuffer strBuf, int bindingStyle, int bindIndex, AttributeDef attrDef, AttributeDef theOtherAttrDef, AssociationEnd assocEnd)
protected java.lang.StringBuffer appendBindingNameForAttr(java.lang.StringBuffer strBuf, AttributeDef attrDef)
public void addAltKey(int indx, java.lang.String name, java.lang.String[] components)
public KeyDef lookupAltKeyDef(java.lang.String name)
public KeyDef findAltKeyDef(java.lang.String name)
public ArrayList getViewAccessorDefs()
public boolean isEffectiveDated()
public AttributeDefImpl getEffectiveDateTransientAttr()
public abstract java.lang.Class getRowClass()
protected void createDef()
Override this method to satisfy your application's specific custom properties for the row definition (entity or view). For example, you would override this method if your application builds custom properties programatically based on user preferences.
public java.lang.Class getBaseComponentClass()
public java.lang.String getColumnNameForQuery(int index)
getColumnNameForQuery
in interface StructureDef
public java.lang.String formatForOutput(OutputFormatter formatter)
formatForOutput
in interface Formattable
formatForOutput
in class NamedObjectImpl
public AttributeDefImpl[] getAltKeyAttrDefs(java.lang.String keyName)
public AttributeDefImpl[] getAltKeyAttrDefs(int keyIndex)
public KeyDef getAltKeyDef(int keyIndex)
public java.lang.String[] getAltKeyNames()
public int getAltKeyCount()
protected RowDef findDefForDiscrValues(java.lang.Object[] values, boolean recurse)
protected boolean discrValuesQualify(java.lang.Object[] values)
public ViewAccessorDef lookupViewAccessorDef(java.lang.String name)
public ViewAccessorDef findViewAccessorDef(java.lang.String name)
public void addViewAccessorDef(ViewAccessorDef va)
public ArrayList getListBindingDefs()
public ListBindingDef lookupListBindingDef(java.lang.String name)
public ListBindingDef findListBindingDef(java.lang.String name)
public void addListBindingDef(ListBindingDef lbDef)
public void setThrowOnListBindingMismatch(boolean b)
public boolean throwOnListBindingMismatch()
protected void loadListBindings(org.kxml2.io.KXmlParser parser)
protected void bindListBindings()
protected ViewAccessorDef loadViewAccessor(org.kxml2.io.KXmlParser parser)
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 |