Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


oracle.adf.model.meta.bc4j
Class BC4JViewObjectAttributeDefinition

java.lang.Object
  extended by oracle.adf.model.meta.bc4j.BC4JViewObjectAttributeDefinition

All Implemented Interfaces:
AttributeDefinition, Definition, NamedDefinition, VariableDefinition

public class BC4JViewObjectAttributeDefinition
extends java.lang.Object
implements AttributeDefinition

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
BC4JViewObjectAttributeDefinition(BC4JViewObjectStructureDefinition structureDefinition, AttributeDef attributeDefinition)
           

 

Method Summary
 DataControlDefinition getDataControlDefinition()
          Retrieves the DataControlDefinition that this Variable belongs to.
 Definition getDefinitionParent()
          Returns the parent of this metadata definition, which is the Definition that contains this Definition.
 int getDefinitionType()
          Retrieves the type of this definition.
 java.lang.String getFullName()
          Returns the full name of this Definition, which includes the name of any parent objects.
 java.lang.String getJavaTypeString()
          Retrieves the type of the variable.
 java.lang.String getName()
          Returns the name of this Definition.
 java.util.Hashtable getProperties()
          Gets the table of properties.
 java.lang.Object getProperty(java.lang.String propertyName)
          Retrieves the value of a property with the given name.
 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BC4JViewObjectAttributeDefinition

public BC4JViewObjectAttributeDefinition(BC4JViewObjectStructureDefinition structureDefinition,
                                         AttributeDef attributeDefinition)

Method Detail

isReadOnly

public boolean isReadOnly()
Description copied from interface: AttributeDefinition
Finds out whether this attribute is read-only or is updateable.
Specified by:
isReadOnly in interface AttributeDefinition
Returns:
True if this attribute is read-only, false otherwise.

isKey

public boolean isKey()
Description copied from interface: AttributeDefinition
Finds out whether this attribute is the primary key of the row.
Specified by:
isKey in interface AttributeDefinition
Returns:
True if this attribute is the primary key, false otherwise.

getSourceTypeString

public java.lang.String getSourceTypeString()
Description copied from interface: AttributeDefinition
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.
Specified by:
getSourceTypeString in interface AttributeDefinition
Returns:
The java type of the attribute in the data source.

getJavaTypeString

public java.lang.String getJavaTypeString()
Description copied from interface: VariableDefinition
Retrieves the type of the variable.
Specified by:
getJavaTypeString in interface VariableDefinition
Returns:
The fully qualified Java class name of the variable type.

getDataControlDefinition

public DataControlDefinition getDataControlDefinition()
Description copied from interface: VariableDefinition
Retrieves the DataControlDefinition that this Variable belongs to.
Specified by:
getDataControlDefinition in interface VariableDefinition
Returns:
The DataControlDefinition that this Variable belongs to.

getDefinitionParent

public Definition getDefinitionParent()
Description copied from interface: NamedDefinition
Returns the parent of this metadata definition, which is the Definition that contains this Definition. For example, the parent of an AttributeDefinition could be a StructureDefinition if the attribute is contained in the structure.
Specified by:
getDefinitionParent in interface NamedDefinition
Returns:
The parent Definition

getName

public java.lang.String getName()
Description copied from interface: NamedDefinition
Returns the name of this Definition.
Specified by:
getName in interface NamedDefinition
Returns:
Name of this Definition.

getFullName

public java.lang.String getFullName()
Description copied from interface: NamedDefinition
Returns the full name of this Definition, which includes the name of any parent objects. The full name should reflect the runtime nesting level.
Specified by:
getFullName in interface NamedDefinition
Returns:
Full name of this Definition.

getProperty

public java.lang.Object getProperty(java.lang.String propertyName)
Description copied from interface: NamedDefinition
Retrieves the value of a property with the given name. Properties can be used for UI hints such as display width and height.
Specified by:
getProperty in interface NamedDefinition
Parameters:
propertyName - Name of the property to be retrieved.
Returns:
Value of the property with the given property name.

getProperties

public java.util.Hashtable getProperties()
Description copied from interface: NamedDefinition
Gets the table of properties. This returns a hashtable to ensure any modification done by caller would be synchronized. Note that this API has not been added to the JSR yet.
Specified by:
getProperties in interface NamedDefinition
Returns:
a hashtable of properties.

getDefinitionType

public int getDefinitionType()
Description copied from interface: Definition
Retrieves the type of this definition. It can be one of the TYPE_* constants defined in this class. This is useful to find out the actual type of the Definition without doing an instanceof operations.
Specified by:
getDefinitionType in interface Definition
Returns:
The type of definition that this Definition implementation class implements.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


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