|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| 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
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 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,
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 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 isAccessor()
ParameterDefinitionisAccessor in interface ParameterDefinitionpublic final StructureDefinition getStructure()
AccessorDefinitiongetStructure in interface AccessorDefinitionpublic final boolean isCollection()
AccessorDefinitionisCollection in interface AccessorDefinitionpublic boolean isScalarCollection()
AccessorDefinitionisScalarCollection in interface AccessorDefinitionpublic void setParent(OperationDefinition parent)
public boolean isReadOnly()
AttributeDefinitionisReadOnly in interface AttributeDefinitionpublic boolean isKey()
AttributeDefinitionisKey in interface AttributeDefinitionpublic java.lang.String getSourceTypeString()
AttributeDefinitiongetSourceTypeString in interface AttributeDefinitionpublic StructureDefinition getCollectionStructure()
AccessorDefinitiongetCollectionStructure in interface AccessorDefinitionpublic AccessorDefinition getParentAccessor()
AccessorDefinitiongetParentAccessor 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.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||