getName

getColumnName

java.lang.String getColumnName()

Gets the name of the database column the attribute represents.

Returns:

the name of the column.

getColumnNameForQuery

java.lang.String getColumnNameForQuery()

Gets the column name to be used in query statement.
If the VO involves multiple entity usages, the
column name may have to be qualified with the
table alias for the appropriate entity. If the
query statement is a full query ("expert mode"),
the where-clause in the outer select must use
column alias used for the inner select. This method
takes care of all this and returns the right
column name to be used for a query statement.

Returns:

the column name to be used in query.

getIndex

int getIndex()

Gets the index of the attribute in the context of a StoreInfo
instance.

Returns:

the index of the attribute row's definition object.

getJavaType

java.lang.Class getJavaType()

Gets the Java class of the object stored for this attribute definition.

Returns:

the class of the attribute.

getLOVName

java.lang.String getLOVName()

Gets the name of the LOV (list of values) associated with this
attribute definition.

getPrecision

isDiscrColumn

Tests if an attribute is a discriminator.
Discriminating attributes are those whose values determine the
(sub)type representing the entity.

Returns:

true if this is a Discriminator Column; false otherwise.

isSelected

boolean isSelected()

isQueriable

boolean isQueriable()

Tests if an attribute is queriable.

Queriable attributes are those that
may have a filter condition for the WHERE clause
If this method returns false, the attribute will
not be used in constructing the WHERE clause
of SQL statements to fetch data.

Returns:

true if this attribute is queriable.

getUpdateableFlag

byte getUpdateableFlag()

Tests if an attribute can be modified.

Returns:

READONLY, UPDATEABLE, or UPDATEABLE_WHILE_NEW.

isPrimaryKey

boolean isPrimaryKey()

Tests if an attribute is a Primary Key.

Returns:

true if this is either a Primary Key attribute or
part of the attributes that constitute the Primary Key for a given row.