|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.server.DefObject
oracle.jbo.server.RowDef
Default implementation of DefInterface implemented by all of JBO Definition classes.
| Field Summary | |
protected java.lang.Class |
mComponentClass |
| Fields inherited from class oracle.jbo.mom.DefinitionObject |
mBaseDefObject, mExtendedDefObjects, mObjectResolved |
| Fields inherited from class oracle.jbo.common.NamedObjectImpl |
mFullName, mObjName, mParent, mProperties |
| Constructor Summary | |
RowDef() |
|
| Method Summary | |
protected void |
addExtendedDefObject(DefinitionObject extendedDefObject) |
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) |
protected boolean |
discrValuesQualify(java.lang.Object[] values) |
VariableValueManager |
ensureVariableManager()Returns this object's Variable Value Manager. |
abstract AttributeDef |
findAttributeDef(java.lang.String name)Gets an attribute definition, given its name. |
protected RowDef |
findDefForDiscrValues(java.lang.Object[] values, boolean recurse) |
protected void |
finishedLoading() |
java.lang.String |
getAliasName()Returns the database alias that was declared for this definition object at Design-Time. |
abstract int |
getAttributeCount()Returns the number of defined attributes. |
abstract AttributeDef |
getAttributeDef(int index)Gets an attribute definition, given its index. |
protected abstract AttributeDefImpl[] |
getAttributeDefImpls() |
abstract AttributeDef[] |
getAttributeDefs()Gets the defined attributes. |
int |
getAttributeIndexOf(java.lang.String name)Finds the index (0-based) of the named attribute. |
DefinitionObject |
getBaseDefObject() |
int |
getBindingStyle()Returns the Oracle or JDBC binding style defined for this Entity definition. |
java.lang.String |
getClientProxyClassName() |
java.lang.String |
getComponentInterfaceName() |
java.lang.String |
getDefFullName()Returns the fully qualified name of the structure's base definition. |
java.lang.String |
getDefName()Returns the structure's base definition name (short form). |
protected AttributeDefImpl[] |
getDiscrColumns()Returns the AttributeDef's of the discriminator columns. |
protected java.lang.String |
getEffectiveClientProxyClassName() |
protected java.lang.String |
getEffectiveComponentInterfaceName() |
java.lang.Class |
getMessageBundleClass()Internal: Applications should not use this method. |
oracle.jbo.server.PackageDefImpl |
getPackageDef() |
java.lang.String |
getPackageName() |
abstract java.lang.Class |
getRowClass() |
VariableValueManager |
getVariableManager()Returns this object's current Variable Value Manager. |
protected VariableValueManager[] |
getVarMgrParents() |
boolean |
hasVariables()Returns a flag indicating whether this object has Variables or not. |
protected void |
loadProperties(DefElement xmlElement) |
protected void |
loadVariables(DefElement xmlElement) |
abstract AttributeDef |
lookupAttributeDef(java.lang.String name)Gets an attribute definition, given its name. |
void |
registerDefObject()Registers this Row Def with MetaObjectManager. |
abstract void |
resolveDefObject() |
protected void |
resolveReferences() |
void |
setAliasName(java.lang.String s) |
void |
setBaseDefObject(DefinitionObject baseDefObject) |
void |
setBindingStyle(int bindingStyle)Sets the Oracle or JDBC binding style defined for this Entity definition. |
protected void |
setClientProxyClassName(java.lang.String name) |
protected void |
setComponentInterfaceName(java.lang.String interfaceName) |
protected void |
setDiscrColumns(AttributeDefImpl[] discrCols)Sets the AttributeDef's of the discriminator columns. |
void |
setMessageBundleClass(java.lang.Class collClass)Internal: Applications should not use this method. |
protected void |
setName(java.lang.String name)Name this object. |
protected void |
setParent(NamedObjectImpl parent)Sets this object's parent. |
protected void |
verifyExtendedDefObjects() |
| Methods inherited from class oracle.jbo.mom.DefinitionObject |
getContainerDef, getContainerName, getExtendedDefObjects, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, setObjectResolved |
| Methods inherited from class oracle.jbo.common.NamedObjectImpl |
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, refreshProperty, setFullName, setPropertiesMap, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.jbo.StructureDef |
getFullName, getName |
| Methods inherited from interface oracle.jbo.VariableManagerOwner |
getName |
| Field Detail |
protected java.lang.Class mComponentClass
| Constructor Detail |
public RowDef()
| Method Detail |
public abstract java.lang.Class getRowClass()
protected abstract AttributeDefImpl[] getAttributeDefImpls()
public java.lang.String getDefName()
StructureDefgetName() returns the VO's instance name and getDefName() returns the View definition's name.getDefName in interface StructureDefpublic java.lang.String getDefFullName()
StructureDefgetFullName() returns the VO's full instance name and getDefFullName() returns the View definition's full name.getDefFullName in interface StructureDefprotected AttributeDefImpl[] getDiscrColumns()
protected void setDiscrColumns(AttributeDefImpl[] discrCols)
discrCols - an array attribute definitions of the discriminator columns.protected boolean discrValuesQualify(java.lang.Object[] values)
protected void verifyExtendedDefObjects()
protected void addExtendedDefObject(DefinitionObject extendedDefObject)
addExtendedDefObject in class DefinitionObject
protected RowDef findDefForDiscrValues(java.lang.Object[] values,
boolean recurse)
public int getBindingStyle()
SQLBuilder interface.SQLBuilderpublic void setBindingStyle(int bindingStyle)
SQLBuilder interface.bindingStyle - an integer representing the Oracle or JDBC binding style for this Entity definition. The possible values can be:
SQLBuilderpublic java.lang.String getAliasName()
public void setAliasName(java.lang.String s)
public abstract AttributeDef[] getAttributeDefs()
getAttributeDefs in interface StructureDefpublic abstract int getAttributeCount()
getAttributeCount in interface StructureDefpublic abstract AttributeDef findAttributeDef(java.lang.String name)
findAttributeDef in interface StructureDefname - the name of an AttributeDef.NoDefException - - if the attribute is not found.public abstract AttributeDef lookupAttributeDef(java.lang.String name)
lookupAttributeDef in interface StructureDefname - the name of an AttributeDef.public abstract AttributeDef getAttributeDef(int index)
getAttributeDef in interface StructureDefindex - the index of an AttributeDef, where the leftmost attribute has index zero.public int getAttributeIndexOf(java.lang.String name)
StructureDefgetAttributeIndexOf in interface StructureDefname - the attribute's name.0 to getAttributeCount() - 1. If the named attribute is not found, it returns -1.public abstract void resolveDefObject()
public void registerDefObject()
This method should be called after the Row Def is all set up and after resolveDefObject() is called.
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)
public oracle.jbo.server.PackageDefImpl getPackageDef()
public java.lang.String getPackageName()
protected void setName(java.lang.String name)
setName in class DefinitionObjectname - the name to be given to this object.public DefinitionObject getBaseDefObject()
getBaseDefObject in class DefinitionObjectpublic void setBaseDefObject(DefinitionObject baseDefObject)
setBaseDefObject in class DefinitionObjectprotected void resolveReferences()
resolveReferences in class DefinitionObjectprotected void finishedLoading()
finishedLoading in class DefinitionObjectprotected void setParent(NamedObjectImpl parent)
setParent in class DefinitionObjectparent - the named object that is to be the parent of this object.protected void loadProperties(DefElement xmlElement)
loadProperties in class DefinitionObjectxmlElement - The XML element to load from.protected void loadVariables(DefElement xmlElement)
protected void setComponentInterfaceName(java.lang.String interfaceName)
public java.lang.String getComponentInterfaceName()
public java.lang.String getClientProxyClassName()
protected void setClientProxyClassName(java.lang.String name)
protected java.lang.String getEffectiveClientProxyClassName()
protected java.lang.String getEffectiveComponentInterfaceName()
public VariableValueManager getVariableManager()
VariableManagerOwnernull if Variable Value Manager has been initialized.
When a framework object is first created, its Variable Value Manager may be null. This method does not initialize (create) the Variable Value Manager.
in contrast, ensures that the Variable Value Manager is initialized (created).VariableManagerOwner.ensureVariableManager()
getVariableManager in interface VariableManagerOwnernull if one was not yet initialized.protected VariableValueManager[] getVarMgrParents()
public boolean hasVariables()
VariableManagerOwnerhasVariables in interface VariableManagerOwnerpublic VariableValueManager ensureVariableManager()
VariableManagerOwnerensureVariableManager in interface VariableManagerOwnerpublic void setMessageBundleClass(java.lang.Class collClass)
Sets the implementation class for this Object's Message Bundle class.
collClass - the message bundle implementation class.public java.lang.Class getMessageBundleClass()
Returns the class of the reference object.
getMessageBundleClass in interface VariableManagerOwner
|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||