Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Oracle Application Development Framework Model Java API Reference 10g Release 3 (10.1.3) B25778-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Oracle Application Development Framework Model Java API Reference 10g Release 3 (10.1.3) B25778-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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