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.bc4j.meta
Class AbstractNamedDefinition

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

All Implemented Interfaces:
Definition, NamedDefinition
Direct Known Subclasses:
StructureDefinitionImpl

public abstract class AbstractNamedDefinition
extends java.lang.Object
implements NamedDefinition

Abstract base class for NamedDefintion implementation classes, as well as other abstract base classes such as AbstractOperationDefinition.


Field Summary
protected  java.util.Hashtable mProperties
           

 

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
AbstractNamedDefinition()
           

 

Method Summary
 DataControlDefinition getDataControlDefinition()
           
 Definition getDefinitionParent()
          Returns the parent of this metadata definition, which is the Definition that contains this Definition.
abstract  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 getName()
          Returns the name of this Definition.
 AccessorDefinition getParentAccessor()
           
protected  java.lang.String getParentFullName()
           
 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.
protected  void initProperties()
          subclasses should overrides this method to initialize mProperties with names and values of their properties.
static boolean isCollectionType(java.lang.Class propClass)
           
protected  void resolveFullName()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

mProperties

protected java.util.Hashtable mProperties

Constructor Detail

AbstractNamedDefinition

public AbstractNamedDefinition()

Method Detail

getDataControlDefinition

public DataControlDefinition getDataControlDefinition()

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.

initProperties

protected void initProperties()
subclasses should overrides this method to initialize mProperties with names and values of their properties.

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

isCollectionType

public static boolean isCollectionType(java.lang.Class propClass)

getParentFullName

protected java.lang.String getParentFullName()

resolveFullName

protected void resolveFullName()

getParentAccessor

public AccessorDefinition getParentAccessor()

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.