|
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.adf.model.adapter.dataformat.ParamDef
Defines a method parameter of a data control.
| Field Summary |
| 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 | |
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, 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 | |
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. |
StructureDefinition |
getStructure()If the parameter is a structure, returns the metadata of the structure. |
boolean |
isCollection()Whether the parameter is a Collection of objects. |
boolean |
isScalarCollection()Returns true if the parameter is a collection of scalars. |
boolean |
isStructured()Whether the parameter is a structure, such as a JavaBean or a Collection of JavaBeans. |
void |
setParent(OperationDefinition parent)Sets a parent to this definition. |
| 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 collection
public 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,
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 collection
public 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()
NamedDefinitiongetName in interface NamedDefinitionpublic final Definition getDefinitionParent()
NamedDefinitiongetDefinitionParent in interface NamedDefinitionpublic final 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 final java.lang.String getJavaTypeString()
VariableDefinitiongetJavaTypeString in interface VariableDefinitionpublic DataControlDefinition getDataControlDefinition()
VariableDefinitiongetDataControlDefinition in interface VariableDefinitionpublic int getDefinitionType()
DefinitiongetDefinitionType in interface Definitionpublic final boolean isStructured()
ParameterDefinitionisStructured in interface ParameterDefinitionpublic final StructureDefinition getStructure()
ParameterDefinitiongetStructure in interface ParameterDefinitionpublic final boolean isCollection()
ParameterDefinitionisCollection in interface ParameterDefinitionpublic boolean isScalarCollection()
ParameterDefinitionisScalarCollection in interface ParameterDefinitionpublic void setParent(OperationDefinition parent)
|
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 | ||||||||||