|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
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
public class 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_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 | |
---|---|
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. |
Definition |
getDefinitionParent()
Returns the parent of this attribute. |
int |
getDefinitionType()
Retrieves the type of the variable. |
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, getJavaTypeString, setProperty |
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 |
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()
getName
in interface NamedDefinition
getName
in class BaseValueObjectDefinition
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)
getProperty
in interface NamedDefinition
getProperty
in class BaseValueObjectDefinition
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.
getProperties
in interface NamedDefinition
getProperties
in class BaseValueObjectDefinition
Hashtable
consisting of all the custom properties.public void setBindPath(java.lang.String path)
public java.lang.String getBindPath()
public java.lang.String getFullName()
getFullName
in interface NamedDefinition
getFullName
in class BaseValueObjectDefinition
public int getDefinitionType()
BaseValueObjectDefinition
getDefinitionType
in interface Definition
getDefinitionType
in class BaseAttributeDefinition
public Definition getDefinitionParent()
getDefinitionParent
in interface NamedDefinition
getDefinitionParent
in class BaseValueObjectDefinition
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |