public class BC4JViewObjectAttributeDefinition extends java.lang.Object implements AttributeDefinition
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 |
|---|
BC4JViewObjectAttributeDefinition(BC4JViewObjectStructureDefinition structureDefinition,
AttributeDef attributeDefinition) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public BC4JViewObjectAttributeDefinition(BC4JViewObjectStructureDefinition structureDefinition, AttributeDef attributeDefinition)
public boolean isReadOnly()
AttributeDefinitionisReadOnly in interface AttributeDefinitionpublic boolean isKey()
AttributeDefinitionisKey in interface AttributeDefinitionpublic java.lang.String getSourceTypeString()
AttributeDefinitiongetSourceTypeString in interface AttributeDefinitionpublic java.lang.String getJavaTypeString()
VariableDefinitiongetJavaTypeString in interface VariableDefinitionpublic DataControlDefinition getDataControlDefinition()
VariableDefinitiongetDataControlDefinition in interface VariableDefinitionpublic Definition getDefinitionParent()
NamedDefinitiongetDefinitionParent in interface NamedDefinitionpublic java.lang.String getName()
NamedDefinitiongetName in interface NamedDefinitionpublic java.lang.String getFullName()
NamedDefinitiongetFullName in interface NamedDefinitionpublic 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 int getDefinitionType()
DefinitiongetDefinitionType in interface Definition