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()
NamedDefinition
getDefinitionParent
in interface NamedDefinition
protected void setDefinitionParent(NamedDefinition parent)
public java.lang.String getName()
NamedDefinition
getName
in interface NamedDefinition
public java.lang.String getFullName()
NamedDefinition
getFullName
in interface NamedDefinition
protected void initProperties()
public java.lang.Object getProperty(java.lang.String propertyName)
NamedDefinition
getProperty
in interface NamedDefinition
propertyName
- Name of the property to be retrieved.public java.util.Hashtable getProperties()
NamedDefinition
getProperties
in interface NamedDefinition
public abstract int getDefinitionType()
Definition
getDefinitionType
in interface Definition
public static boolean isCollectionType(java.lang.Class propClass)
protected java.lang.String getParentFullName()
protected void resolveFullName()
public AccessorDefinition getParentAccessor()