oracle.jbo.common
Class StructureDefHelper
java.lang.Object
|
+--oracle.jbo.common.StructureDefHelper
- public class StructureDefHelper
- extends java.lang.Object
- implements StructureDef
Internal: Applications should not use this class.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
attributes
protected java.util.Hashtable attributes
attributeList
protected AttributeDef[] attributeList
StructureDefHelper
public StructureDefHelper()
getAttributeDefs
public AttributeDef[] getAttributeDefs()
- Description copied from interface: StructureDef
- Gets the defined attributes.
- Specified by:
- getAttributeDefs in interface StructureDef
- Tags copied from interface: StructureDef
- Returns:
- an array of attribute definitions.
getAttributeCount
public int getAttributeCount()
- Description copied from interface: StructureDef
- Returns the number of defined attributes.
- Specified by:
- getAttributeCount in interface StructureDef
- Tags copied from interface: StructureDef
- Returns:
- the number of attributes.
findAttributeDef
public AttributeDef findAttributeDef(java.lang.String name)
- Description copied from interface: StructureDef
- Gets an attribute definition, given its name.
- Specified by:
- findAttributeDef in interface StructureDef
- Tags copied from interface: StructureDef
- Parameters:
name
- the name of an AttributeDef
.- Returns:
- an attribute definition
- Throws:
- NoDefException - - if the attribute is not found.
getAttributeDef
public AttributeDef getAttributeDef(int index)
- Description copied from interface: StructureDef
- Gets an attribute definition, given its index.
- Specified by:
- getAttributeDef in interface StructureDef
- Tags copied from interface: StructureDef
- Parameters:
index
- the index of an AttributeDef
, where the leftmost
attribute has index zero.- Returns:
- an attribute definition.
getNewAttributeDefHelper
protected AttributeDefHelper getNewAttributeDefHelper()
addDynamicAttribute
public AttributeDef addDynamicAttribute(java.lang.String name,
int index)
addViewLinkAccessor
public AttributeDef addViewLinkAccessor(java.lang.String name,
int index)
removeViewLinkAccessor
public void removeViewLinkAccessor(AttributeDef accr)