public class RowDefPersonalized extends java.lang.Object implements StructureDef
| Constructor and Description |
|---|
RowDefPersonalized(RowDef rowDef) |
| Modifier and Type | Method and Description |
|---|---|
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).
|
AttributeDef |
lookupAttributeDef(java.lang.String name)
Gets an attribute definition, given its name.
|
public RowDefPersonalized(RowDef rowDef)
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 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.public java.lang.String getColumnNameForQuery(int index)
getColumnNameForQuery in interface StructureDef