|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeDef
Represents the definition of a named attribute (i.e. column in a database table)
Field Summary | |
---|---|
static byte |
ATTR_ASSOCIATED_ROW
An attribute that returns a single row. |
static byte |
ATTR_ASSOCIATED_ROWITERATOR
An ASSOCIATION attribute that returns a row-iterator. |
static byte |
ATTR_DYNAMIC
An attribute which is added only through calls to ViewObject . |
static byte |
ATTR_ENTITY_DERIVED
An attribute derived from an Entity Object. |
static byte |
ATTR_HIDDEN
A hidden attribute. |
static byte |
ATTR_PERSISTENT
A persistent attribute that is mapped to a column in a database table. |
static byte |
ATTR_ROWSET
Internal use only. |
static byte |
ATTR_SQL_DERIVED
A attribute whose value is retrieved via a SQL statement. |
static byte |
ATTR_TRANSIENT
A attribute which is not mapped to any other attribute or column. |
static byte |
ATTR_VARIABLE
An attribute which is added only through calls to ViewObject . |
static byte |
READONLY
The attribute cannot be modified. |
static byte |
UPDATEABLE
The attribute can be freely modified. |
static byte |
UPDATEABLE_WHILE_NEW
The attribute can be modified until it is committed, but cannot be subsequently modified. |
Method Summary | |
---|---|
ViewObject |
getAccessorVO(ViewObject originVO)
For an accessor attribute, this method creates a View Object that works for the View Link definition. |
byte |
getAttributeKind()
Gets the attribute value. |
java.lang.String |
getColumnName()
Gets the name of the database column the attribute represents. |
java.lang.String |
getColumnNameForQuery()
Gets the column name to be used in query statement. |
int |
getElemSQLType()
Returns the jdbc type of the elements of this attribute. |
java.lang.Class |
getElemType()
Returns the element type of the attribute. |
int |
getIndex()
Gets the index of the attribute in the context of a StoreInfo instance. |
java.lang.Class |
getJavaType()
Gets the Java class of the object stored for this attribute definition. |
ListBindingDef |
getListBindingDef()
|
java.lang.String |
getLOVName()
Gets the name of the LOV (list of values) associated with this attribute definition. |
java.lang.String |
getName()
Gets the name of the attribute. |
int |
getPrecision()
Gets the precision of a numeric or string attribute. |
int |
getScale()
Get the scale value of a numeric attribute. |
int |
getSQLType()
Gets the JDBC type of the attribute. |
AttributeHints |
getUIHelper()
Returns the user interface hints interface for retrieving hint * information such as labels, prompts,... |
byte |
getUpdateableFlag()
Tests if an attribute can be modified. |
boolean |
isDiscrColumn()
Tests if an attribute is a discriminator. |
boolean |
isMandatory()
Tests if an attribute does not allow null values. |
boolean |
isPrimaryKey()
Tests if an attribute is a Primary Key. |
boolean |
isQueriable()
Tests if an attribute is queriable. |
boolean |
isSelected()
Tests if an attribute is transient. |
Methods inherited from interface oracle.jbo.Properties |
---|
getProperties, getProperty, getProperty, refreshProperty |
Field Detail |
---|
static final byte ATTR_VARIABLE
ViewObject
.
static final byte ATTR_PERSISTENT
static final byte ATTR_SQL_DERIVED
static final byte ATTR_ASSOCIATED_ROW
static final byte ATTR_TRANSIENT
static final byte ATTR_DYNAMIC
ViewObject
.
static final byte ATTR_ENTITY_DERIVED
These attributes are View Object attributes derived from transient Entity Object attributes.
static final byte ATTR_ASSOCIATED_ROWITERATOR
static final byte ATTR_ROWSET
static final byte ATTR_HIDDEN
static final byte READONLY
static final byte UPDATEABLE_WHILE_NEW
static final byte UPDATEABLE
Method Detail |
---|
byte getAttributeKind()
ATTR
constants defined for this class.java.lang.String getName()
java.lang.String getColumnName()
java.lang.String getColumnNameForQuery()
int getIndex()
StoreInfo
instance.
java.lang.Class getJavaType()
int getSQLType()
java.sql.Types
int getScale()
int getPrecision()
'Precision' for a string is the maximum length.
boolean isSelected()
true
if this attribute is transient.boolean isQueriable()
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.
true
if this attribute is queriable.byte getUpdateableFlag()
READONLY
, UPDATEABLE
, or
UPDATEABLE_WHILE_NEW
.boolean isPrimaryKey()
true
if this is either a Primary Key attribute or part of the
attributes that constitute the Primary Key for a given row.boolean isMandatory()
true
if this attribute cannot store a null valueAttributeHints getUIHelper()
AttributeHints
java.lang.Class getElemType()
For VARRAYs, this method returns the class name of the elements that are in the VARRAY.
Element type is relevant only if the attribute is an array attribute.
int getElemSQLType()
For VARRAYs, this method returns the jdbc type of the elements that are in the VARRAY.
Element type is relevant only if the attribute is an array attribute.
boolean isDiscrColumn()
ViewObject getAccessorVO(ViewObject originVO)
originVO
- the View Object that owns the accessor
ViewObject
instance.java.lang.String getLOVName()
ListBindingDef getListBindingDef()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |