Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.6.0)

E10653-07

oracle.binding.meta
Interface AttributeDefinition

All Superinterfaces:
Definition, NamedDefinition, VariableDefinition
All Known Subinterfaces:
AccessorDefinition, AccessorParameterDefinition, OperationReturnDefinition, ParameterDefinition
All Known Implementing Classes:
AccessorDef, AttributeDef, BaseAttributeDefinition, BC4JViewObjectAccessorDefinition, BC4JViewObjectAttributeDefinition, MethodReturnDef, ParamDef

public interface AttributeDefinition
extends VariableDefinition

Interface for holding attribute metadata.


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
 
Method Summary
 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.
 
Methods inherited from interface oracle.binding.meta.VariableDefinition
getDataControlDefinition, getJavaTypeString
 
Methods inherited from interface oracle.binding.meta.NamedDefinition
getDefinitionParent, getFullName, getName, getProperties, getProperty
 
Methods inherited from interface oracle.binding.meta.Definition
getDefinitionType
 

Method Detail

isReadOnly

boolean isReadOnly()
Finds out whether this attribute is read-only or is updateable.

Returns:
True if this attribute is read-only, false otherwise.

isKey

boolean isKey()
Finds out whether this attribute is the primary key of the row.

Returns:
True if this attribute is the primary key, false otherwise.

getSourceTypeString

java.lang.String getSourceTypeString()
Returns the actual java type of the attribute in the data source. This may be different from the java type returned by getJavaTypeString if the data control is returning an attribute as a different datatype as what it is in its data source. For example, if the source type is a java.lang.String representing some number, the java type of the attribute could be java.lang.Integer.

Returns:
The java type of the attribute in the data source.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.6.0)

E10653-07

Copyright © 1997, 2011, Oracle. All rights reserved.