Oracle Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


oracle.binding.meta
Interface AttributeDefinition

All Superinterfaces:
Definition, NamedDefinition, VariableDefinition
All Known Subinterfaces:
AccessorDefinition
All Known Implementing Classes:
BaseAttributeDefinition

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_DATACONTROL, TYPE_DEFINITION, TYPE_DEFINITIONCONTEXT, TYPE_METHODRETURN, TYPE_NAMED, TYPE_OPERATION, 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

public boolean isReadOnly()
Finds out whether this attribute is read-only or is updateable.
Returns:
True if this attribute is read-only, false otherwise.

isKey

public 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

public 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 Application Development Framework Model and Business Components Java API Reference 10.1.3.1.0
B28969-01


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