|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.common.StructureDefHelper
public class 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 |
getColumnNameForQuery(int index)
|
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()
StructureDef
getName
in interface StructureDef
public java.lang.String getFullName()
StructureDef
getFullName
in interface StructureDef
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 void setName(java.lang.String name)
public AttributeDef[] getAttributeDefs()
StructureDef
getAttributeDefs
in interface StructureDef
public int getAttributeCount()
StructureDef
getAttributeCount
in interface StructureDef
public AttributeDef findAttributeDef(java.lang.String attrName)
StructureDef
findAttributeDef
in interface StructureDef
attrName
- the name of an AttributeDef
.
public AttributeDef lookupAttributeDef(java.lang.String name)
StructureDef
lookupAttributeDef
in interface StructureDef
name
- the name of an AttributeDef
.
public AttributeDef getAttributeDef(int index)
StructureDef
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 java.lang.String getColumnNameForQuery(int index)
getColumnNameForQuery
in interface StructureDef
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 Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |