|
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.Objectoracle.adf.model.adapter.dataformat.ParamDef
public class ParamDef
Defines a method parameter of a data control.
Field Summary |
---|
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 | |
---|---|
ParamDef(java.lang.String name,
OperationDefinition parent,
java.lang.String javaType,
java.lang.String elementJavaType)
Creates a new instance of a collection of scalar type. |
|
ParamDef(java.lang.String name,
OperationDefinition parent,
java.lang.String javaType,
java.lang.String elementName,
java.lang.String elementJavaType)
Creates a new instance of a collection of scalar type. |
|
ParamDef(java.lang.String name,
java.lang.String javaType,
OperationDefinition parent,
boolean isCollection)
Creates a new instance of simple type. |
|
ParamDef(java.lang.String name,
StructureDefinition def,
OperationDefinition parent,
boolean isCollection)
Creates a complex paramter. |
|
ParamDef(java.lang.String name,
StructureDefinition def,
OperationDefinition parent,
boolean isCollection,
boolean isScalarCollection)
Creates a complex paramter. |
Method Summary | |
---|---|
StructureDefinition |
getCollectionStructure()
Retrieves the metadata of the collection itself. |
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. |
AccessorDefinition |
getParentAccessor()
Retrieves the AccessorDefinition of the parent accessor. |
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. |
StructureDefinition |
getStructure()
Retrieves the metadata of the elements that the accessor collection contains. |
boolean |
isAccessor()
Whether the parameter definition is an accessor. |
boolean |
isCollection()
Since an accessor can return a structured object (or a collection). |
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. |
boolean |
isScalarCollection()
Returns true if the accessor returns a collection of scalars. |
void |
setParent(OperationDefinition parent)
Sets a parent to this definition. |
void |
setProperty(java.lang.String name,
java.lang.Object val)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParamDef(java.lang.String name, java.lang.String javaType, OperationDefinition parent, boolean isCollection)
name
- name of the parameter.javaType
- java type of the parameter.parent
- the parent definition of this object.isCollection
- true if this parameter is a collectionpublic ParamDef(java.lang.String name, OperationDefinition parent, java.lang.String javaType, java.lang.String elementJavaType)
name
- name of the parameter.parent
- the parent definition of this object.javaType
- java type of the parameter.elementJavaType
- java type of each collection element.public ParamDef(java.lang.String name, OperationDefinition parent, java.lang.String javaType, java.lang.String elementName, java.lang.String elementJavaType)
name
- name of the parameter.parent
- the parent definition of this object.javaType
- java type of the parameter.elementName
- the name of element in the collection.elementJavaType
- java type of each collection element.public ParamDef(java.lang.String name, StructureDefinition def, OperationDefinition parent, boolean isCollection)
name
- name of the parameter.def
- the complex definition of this paramter.parent
- the parent definition of this object.isCollection
- true if this parameter is a collectionpublic ParamDef(java.lang.String name, StructureDefinition def, OperationDefinition parent, boolean isCollection, boolean isScalarCollection)
name
- name of the parameter.def
- the complex definition of this paramter.parent
- the parent definition of this object.isCollection
- true if this parameter is a collectionisScalarCollection
- indicates if the accessor is a collection of scalars.Method Detail |
---|
public final java.lang.String getName()
NamedDefinition
getName
in interface NamedDefinition
public final Definition getDefinitionParent()
NamedDefinition
getDefinitionParent
in interface NamedDefinition
public final java.lang.String getFullName()
NamedDefinition
getFullName
in interface NamedDefinition
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 final java.lang.String getJavaTypeString()
VariableDefinition
getJavaTypeString
in interface VariableDefinition
public DataControlDefinition getDataControlDefinition()
VariableDefinition
getDataControlDefinition
in interface VariableDefinition
public int getDefinitionType()
Definition
getDefinitionType
in interface Definition
public final boolean isAccessor()
ParameterDefinition
isAccessor
in interface ParameterDefinition
public final StructureDefinition getStructure()
AccessorDefinition
getStructure
in interface AccessorDefinition
public final boolean isCollection()
AccessorDefinition
isCollection
in interface AccessorDefinition
public boolean isScalarCollection()
AccessorDefinition
isScalarCollection
in interface AccessorDefinition
public void setParent(OperationDefinition parent)
public boolean isReadOnly()
AttributeDefinition
isReadOnly
in interface AttributeDefinition
public boolean isKey()
AttributeDefinition
isKey
in interface AttributeDefinition
public java.lang.String getSourceTypeString()
AttributeDefinition
getSourceTypeString
in interface AttributeDefinition
public StructureDefinition getCollectionStructure()
AccessorDefinition
getCollectionStructure
in interface AccessorDefinition
public AccessorDefinition getParentAccessor()
AccessorDefinition
getParentAccessor
in interface AccessorDefinition
public void setProperty(java.lang.String name, java.lang.Object val)
|
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 |