|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
oracle.jbo.common.StructureDefHelper
Internal: Applications should not use this class.
| Field Summary | |
protected AttributeDef[] |
attributeList |
protected java.util.Hashtable |
attributes |
protected java.lang.String |
mDefFullName |
protected java.lang.String |
mDefName |
protected java.lang.String |
mFullName |
protected java.lang.String |
mName |
| Constructor Summary | |
StructureDefHelper() |
|
| Method Summary | |
AttributeDef |
addDynamicAttribute(java.lang.String name, int index) |
AttributeDef |
addViewLinkAccessor(java.lang.String name, int index) |
AttributeDef |
findAttributeDef(java.lang.String attrName)Gets an attribute definition, given its name. |
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.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 |
getFullName()Returns the structure's fully qualified name. |
java.lang.String |
getName()Returns the structure's name (short form). |
protected AttributeDefHelper |
getNewAttributeDefHelper() |
AttributeDef |
lookupAttributeDef(java.lang.String name)Gets an attribute definition, given its name. |
void |
removeViewLinkAccessor(AttributeDef accr) |
void |
setName(java.lang.String name) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String mName
protected java.lang.String mFullName
protected java.lang.String mDefName
protected java.lang.String mDefFullName
protected java.util.Hashtable attributes
protected AttributeDef[] attributeList
| Constructor Detail |
public StructureDefHelper()
| Method Detail |
public java.lang.String getName()
StructureDefgetName in interface StructureDefpublic java.lang.String getFullName()
StructureDefgetFullName in interface StructureDefpublic 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 StructureDefpublic void setName(java.lang.String name)
public AttributeDef[] getAttributeDefs()
StructureDefgetAttributeDefs in interface StructureDefpublic int getAttributeCount()
StructureDefgetAttributeCount in interface StructureDefpublic AttributeDef findAttributeDef(java.lang.String attrName)
StructureDeffindAttributeDef in interface StructureDefattrName - the name of an AttributeDef.public AttributeDef lookupAttributeDef(java.lang.String name)
StructureDeflookupAttributeDef in interface StructureDefname - the name of an AttributeDef.public AttributeDef getAttributeDef(int index)
StructureDefgetAttributeDef 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.protected AttributeDefHelper getNewAttributeDefHelper()
public AttributeDef addDynamicAttribute(java.lang.String name,
int index)
public AttributeDef addViewLinkAccessor(java.lang.String name,
int index)
public void removeViewLinkAccessor(AttributeDef accr)
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle. All rights reserved.