|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-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 boolean |
discrValuesQualify(java.lang.Object[] values)
|
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. |
oracle.jbo.mom.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()
|
protected void |
loadProperties(oracle.jbo.mom.xml.DefElementImpl 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(oracle.jbo.mom.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. |
Methods inherited from class oracle.jbo.mom.DefinitionObject |
addExtendedDefObject, 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 |
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()
StructureDef
getName()
returns the VO's
instance name and getDefName()
returns the
View definition's name.
getDefName
in interface StructureDef
public java.lang.String getDefFullName()
StructureDef
getFullName()
returns the VO's
full instance name and getDefFullName()
returns the
View definition's full name.
getDefFullName
in interface StructureDef
protected AttributeDefImpl[] getDiscrColumns()
protected void setDiscrColumns(AttributeDefImpl[] discrCols)
discrCols
- an array attribute definitions of the discriminator columns.protected boolean discrValuesQualify(java.lang.Object[] values)
protected RowDef findDefForDiscrValues(java.lang.Object[] values, boolean recurse)
public int getBindingStyle()
SQLBuilder
interface.
SQLBuilder
public 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:
SQLBuilder
public java.lang.String getAliasName()
public void setAliasName(java.lang.String s)
public 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.
public abstract AttributeDef[] getAttributeDefs()
getAttributeDefs
in interface StructureDef
public abstract int getAttributeCount()
getAttributeCount
in interface StructureDef
public abstract AttributeDef findAttributeDef(java.lang.String name)
findAttributeDef
in interface StructureDef
name
- the name of an AttributeDef
.
NoDefException
- - if the attribute is not found.public abstract AttributeDef lookupAttributeDef(java.lang.String name)
lookupAttributeDef
in interface StructureDef
name
- the name of an AttributeDef
.
public abstract AttributeDef getAttributeDef(int index)
getAttributeDef
in interface StructureDef
index
- the index of an AttributeDef
, where the leftmost
attribute has index zero.
public int getAttributeIndexOf(java.lang.String name)
StructureDef
getAttributeIndexOf
in interface StructureDef
name
- 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.
public oracle.jbo.server.PackageDefImpl getPackageDef()
public java.lang.String getPackageName()
protected void setName(java.lang.String name)
name
- the name to be given to this object.public oracle.jbo.mom.DefinitionObject getBaseDefObject()
public void setBaseDefObject(oracle.jbo.mom.DefinitionObject baseDefObject)
protected void resolveReferences()
protected void finishedLoading()
protected void setParent(NamedObjectImpl parent)
parent
- the named object that is to be the parent of this object.protected void loadProperties(oracle.jbo.mom.xml.DefElementImpl 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()
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.