|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.binding.metaimpl.BaseValueObjectDefinition oracle.binding.metaimpl.BaseAttributeDefinition
public class BaseAttributeDefinition
A class for holding metadata of attributes.
Field Summary |
---|
Fields inherited from interface oracle.binding.meta.Definition |
---|
TYPE_ACCESSOR, TYPE_ATTRIBUTE, TYPE_CRITERIA, TYPE_CRITERIA_ITEM, TYPE_CRITERIA_OPERATOR, TYPE_CRITERIA_ROW, TYPE_DATACONTROL, TYPE_DEFINITION, TYPE_DEFINITIONCONTEXT, TYPE_NAMED, TYPE_OPERATION, TYPE_OPERATIONRETURN, TYPE_PARAMETER, TYPE_STRUCTURE, TYPE_VARIABLE |
Constructor Summary | |
---|---|
BaseAttributeDefinition(java.lang.String id,
NamedDefinition parent,
java.lang.String javaType,
boolean isReadOnly,
boolean isKey)
Constructor. |
Method Summary | |
---|---|
int |
getDefinitionType()
Retrieves the type of the variable. |
java.lang.String |
getSourceTypeString()
Returns the actual java type of the attribute in the data source. |
boolean |
isKey()
Finds out whether this attribute is the primary key of the row. |
boolean |
isReadOnly()
Finds out whether this attribute is read-only or is updateable. |
void |
setReadOnly(boolean isReadOnly)
Specify whether this attribute is read-only or is updateable. |
void |
setSourceTypeString(java.lang.String sourceTypeString)
Set the java type of this attribute in the data source. |
Methods inherited from class oracle.binding.metaimpl.BaseValueObjectDefinition |
---|
getDataControlDefinition, getDefinitionParent, getFullName, getJavaTypeString, getName, getProperties, getProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.binding.meta.VariableDefinition |
---|
getDataControlDefinition, getJavaTypeString |
Methods inherited from interface oracle.binding.meta.NamedDefinition |
---|
getDefinitionParent, getFullName, getName, getProperties, getProperty |
Constructor Detail |
---|
public BaseAttributeDefinition(java.lang.String id, NamedDefinition parent, java.lang.String javaType, boolean isReadOnly, boolean isKey)
id
- Identifier, or name, of the attribute.parent
- Metadata of the parent structure.javaType
- Fully-qualified Java class name of the attribute type.isReadOnly
- Whether the attribute is read-only.isKey
- Whether the attribute is the primary key of a row.Method Detail |
---|
public boolean isReadOnly()
isReadOnly
in interface AttributeDefinition
public void setReadOnly(boolean isReadOnly)
public void setSourceTypeString(java.lang.String sourceTypeString)
sourceTypeString
- A String representing the java type.public boolean isKey()
isKey
in interface AttributeDefinition
public java.lang.String getSourceTypeString()
getSourceTypeString
in interface AttributeDefinition
public int getDefinitionType()
BaseValueObjectDefinition
getDefinitionType
in interface Definition
getDefinitionType
in class BaseValueObjectDefinition
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.6.0) E10653-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |