|
Oracle Application Development Framework Model and Business Components Java API Reference VERSION B16005-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
oracle.binding.metaimpl.BaseValueObjectDefinition
oracle.binding.metaimpl.BaseAttributeDefinition
oracle.adf.model.adapter.dataformat.AttributeDef
Implements an attrtibute.
| Field Summary | |
static java.lang.String |
LEAFELEMENT_HINT |
static java.lang.String |
LEAFELEMENT_NO_ATTRIBUTE |
static java.lang.String |
LEAFELEMENT_WITH_ATTRIBUTE |
| Fields inherited from interface oracle.binding.meta.Definition |
TYPE_ACCESSOR, TYPE_ATTRIBUTE, TYPE_DATACONTROL, TYPE_DEFINITION, TYPE_DEFINITIONCONTEXT, TYPE_METHODRETURN, TYPE_NAMED, TYPE_OPERATION, TYPE_PARAMETER, TYPE_STRUCTURE, TYPE_VARIABLE |
| Constructor Summary | |
AttributeDef(java.lang.String name, StructureDefinition parent, java.lang.String javaType)Creates an attribute definition. |
|
AttributeDef(java.lang.String name, StructureDefinition parent, java.lang.String javaType, boolean isReadOnly, boolean isKey)Creates an attribute definition. |
|
| Method Summary | |
void |
addProperties(java.util.Map props)Adds custom properties to this object. |
void |
addProperty(java.lang.String propName, java.lang.Object value)Adds a custom property to this object. |
java.lang.String |
getBindPath()Gets the bind path of the definition if set. |
int |
getDefinitionType()Retrieves the type of this definition. |
java.lang.String |
getFullName()Returns the full name of the definition. |
java.lang.String |
getName()Gets the displyable name. |
java.util.Hashtable |
getProperties()Returns a Hashtable containing all the custom properties set against this object. |
java.lang.Object |
getProperty(java.lang.String propName)Returns a custom property value given its name. |
void |
setBindPath(java.lang.String path)Sets the bind path. |
void |
setName(java.lang.String name)Sets a displyable name. |
| Methods inherited from class oracle.binding.metaimpl.BaseAttributeDefinition |
getSourceTypeString, isKey, isReadOnly, setReadOnly, setSourceTypeString |
| Methods inherited from class oracle.binding.metaimpl.BaseValueObjectDefinition |
getDataControlDefinition, getDefinitionParent, getJavaTypeString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.binding.meta.VariableDefinition |
getDataControlDefinition, getJavaTypeString |
| Methods inherited from interface oracle.binding.meta.NamedDefinition |
getDefinitionParent |
| Field Detail |
public static final java.lang.String LEAFELEMENT_HINT
public static final java.lang.String LEAFELEMENT_NO_ATTRIBUTE
public static final java.lang.String LEAFELEMENT_WITH_ATTRIBUTE
| Constructor Detail |
public AttributeDef(java.lang.String name,
StructureDefinition parent,
java.lang.String javaType,
boolean isReadOnly,
boolean isKey)
name - name of this attribute.parent - parent of this attribute.javaType - equivalent Java type of this attribute (e.g. java.lang.String).isReadOnly - flag to determine if the value of this attribute is read-only.isKey - flag to indicate if the attribute is a key.
public AttributeDef(java.lang.String name,
StructureDefinition parent,
java.lang.String javaType)
name - name of this attribute.parent - parent of this attribute.javaType - equivalent Java type of this attribute (e.g. java.lang.String).| Method Detail |
public void setName(java.lang.String name)
public java.lang.String getName()
public void addProperty(java.lang.String propName,
java.lang.Object value)
propName - Name of the custom propertyvalue - Value of the custom propertypublic java.lang.Object getProperty(java.lang.String propName)
propName - Name of the custom property whose value is to be retrieved.public void addProperties(java.util.Map props)
props - properties have to be added.public java.util.Hashtable getProperties()
Hashtable containing all the custom properties set against this object.Hashtable consisting of all the custom properties.public void setBindPath(java.lang.String path)
public java.lang.String getBindPath()
public java.lang.String getFullName()
public int getDefinitionType()
Definition
|
Oracle Application Development Framework Model and Business Components Java API Reference VERSION B16005-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||