|
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.adf.model.generic.StructureDefImpl
Imlemented by classes that access a View Object's or Entity Object's metadata.
ApplicationModule
,
RowSet
Field Summary | |
protected StructureDefImpl[] |
mAccessors
|
protected AttributeDefImpl[] |
mAttrs
|
protected java.lang.Class |
mBeanClass
|
protected java.lang.String |
mBeanClassName
|
protected boolean |
mElementsScalar
|
protected java.lang.Class |
mMsgClass
|
protected java.lang.String |
mMsgClassName
|
protected java.lang.String |
mName
|
protected StructureDefImpl[] |
mScalarAccessors
|
static java.lang.String |
PName_ArrayElementType
|
static java.lang.String |
PName_BeanClass
|
static java.lang.String |
PName_FieldName
|
static java.lang.String |
PName_FieldType
|
static java.lang.String |
PName_IsCollection
|
static java.lang.String |
PName_Master
|
static java.lang.String |
PName_MasterAccName
|
static java.lang.String |
PName_MsgBundleClass
|
static java.lang.String |
SCALAR_ELEMENT_NAME
|
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 | |
StructureDefImpl()
|
|
StructureDefImpl(DCDataControl app,
java.lang.String sDefName,
java.lang.String sName)
|
Method Summary | |
void |
addValidator(JboValidatorInterface intf)
|
static StructureDefImpl |
createAndLoadFromXML(oracle.jbo.mom.xml.DefElementImpl elem)
|
protected StructureDefImpl |
createNewAccessor(java.lang.String sDefName,
java.lang.String sName)
|
AttributeDef |
findAttributeDef(java.lang.String name)
Gets an attribute definition, given its name. |
StructureDefImpl |
getAccessorDef(java.lang.String name)
|
StructureDefImpl[] |
getAccessors()
|
java.lang.String |
getArrayElementType()
|
int |
getAttributeCount()
Returns the number of defined attributes. |
AttributeDef |
getAttributeDef(int index)
Gets an attribute definition, given its index. |
AttributeDef[] |
getAttributeDefs()
Gets the defined attributes. |
int |
getAttributeIndexOf(java.lang.String name)
Finds the index (0-based) of the named attribute. |
java.lang.Class |
getBeanClass()
|
java.lang.String |
getBeanClassName()
|
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). |
java.lang.String |
getFieldType()
|
java.lang.String |
getFullName()
Returns the structure's fully qualified name. |
java.lang.String |
getMessageBundleClassName()
|
protected StructureDefImpl[] |
getScalarAccessorsList()
|
java.util.ArrayList |
getValidators()
|
void |
init(java.util.HashMap map)
Advanced only for testing purposes. |
boolean |
isCollection()
|
AttributeDef |
lookupAttributeDef(java.lang.String name)
Gets an attribute definition, given its name. |
protected void |
readChildren(oracle.jbo.mom.xml.DefElementImpl elem)
|
void |
readContents(oracle.jbo.mom.xml.DefElementImpl elem)
|
void |
setArrayElementType(java.lang.String sType)
|
void |
setBeanClassName(java.lang.String sName)
|
void |
setFieldType(java.lang.String sType)
|
void |
setIsCollection(boolean bSet)
|
protected void |
setName(java.lang.String str)
Name this object. |
Methods inherited from class oracle.jbo.mom.DefinitionObject |
addExtendedDefObject, finishedLoading, getBaseDefObject, getContainerDef, getContainerName, getExtendedDefObjects, hasExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadProperties, resolveReferences, setBaseDefObject, setObjectResolved, setParent |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
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 |
getName |
Methods inherited from interface oracle.jbo.rules.ValidationManager |
getName |
Field Detail |
protected AttributeDefImpl[] mAttrs
protected StructureDefImpl[] mAccessors
protected StructureDefImpl[] mScalarAccessors
protected java.lang.String mName
protected java.lang.String mMsgClassName
protected java.lang.String mBeanClassName
protected java.lang.Class mBeanClass
protected java.lang.Class mMsgClass
protected boolean mElementsScalar
public static final java.lang.String PName_FieldType
public static final java.lang.String PName_FieldName
public static final java.lang.String PName_BeanClass
public static final java.lang.String PName_MsgBundleClass
public static final java.lang.String PName_Master
public static final java.lang.String PName_MasterAccName
public static final java.lang.String PName_IsCollection
public static final java.lang.String PName_ArrayElementType
public static final java.lang.String SCALAR_ELEMENT_NAME
Constructor Detail |
public StructureDefImpl()
public StructureDefImpl(DCDataControl app, java.lang.String sDefName, java.lang.String sName)
Method Detail |
public java.lang.String getFullName()
StructureDef
getFullName
in interface StructureDef
getFullName
in class NamedObjectImpl
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
public java.lang.String getArrayElementType()
public void setArrayElementType(java.lang.String sType)
public boolean isCollection()
public void setIsCollection(boolean bSet)
public AttributeDef[] getAttributeDefs()
getAttributeDefs
in interface StructureDef
public int getAttributeCount()
getAttributeCount
in interface StructureDef
public AttributeDef findAttributeDef(java.lang.String name)
findAttributeDef
in interface StructureDef
name
- the name of an AttributeDef
.
NoDefException
- - if the attribute is not found.public AttributeDef lookupAttributeDef(java.lang.String name)
lookupAttributeDef
in interface StructureDef
name
- the name of an AttributeDef
.
public 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 StructureDefImpl getAccessorDef(java.lang.String name)
public StructureDefImpl[] getAccessors()
public static StructureDefImpl createAndLoadFromXML(oracle.jbo.mom.xml.DefElementImpl elem)
public void init(java.util.HashMap map)
public void readContents(oracle.jbo.mom.xml.DefElementImpl elem)
protected void readChildren(oracle.jbo.mom.xml.DefElementImpl elem)
protected StructureDefImpl[] getScalarAccessorsList()
protected StructureDefImpl createNewAccessor(java.lang.String sDefName, java.lang.String sName)
protected void setName(java.lang.String str)
NamedObjectImpl
public java.lang.String getFieldType()
public void setFieldType(java.lang.String sType)
public java.lang.String getMessageBundleClassName()
public java.lang.String getBeanClassName()
public void setBeanClassName(java.lang.String sName)
public java.lang.Class getBeanClass()
public void addValidator(JboValidatorInterface intf)
addValidator
in interface ValidationManager
public java.util.ArrayList getValidators()
getValidators
in interface ValidationManager
|
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.