public abstract class AbstractNamedDefinition extends java.lang.Object implements NamedDefinition
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
mFullName |
protected java.lang.String |
mName |
protected java.util.Hashtable |
mProperties |
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 and Description |
|---|
AbstractNamedDefinition() |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected void |
setDefinitionParent(NamedDefinition parent) |
protected java.lang.String mName
protected java.lang.String mFullName
protected java.util.Hashtable mProperties
public DataControlDefinition getDataControlDefinition()
public Definition getDefinitionParent()
NamedDefinitiongetDefinitionParent in interface NamedDefinitionprotected void setDefinitionParent(NamedDefinition parent)
public java.lang.String getName()
NamedDefinitiongetName in interface NamedDefinitionpublic java.lang.String getFullName()
NamedDefinitiongetFullName in interface NamedDefinitionprotected void initProperties()
public java.lang.Object getProperty(java.lang.String propertyName)
NamedDefinitiongetProperty in interface NamedDefinitionpropertyName - Name of the property to be retrieved.public java.util.Hashtable getProperties()
NamedDefinitiongetProperties in interface NamedDefinitionpublic abstract int getDefinitionType()
DefinitiongetDefinitionType in interface Definitionpublic static boolean isCollectionType(java.lang.Class propClass)
protected java.lang.String getParentFullName()
protected void resolveFullName()
public AccessorDefinition getParentAccessor()