oracle.binding.meta
Interface ParameterDefinition
- All Superinterfaces:
- Definition, NamedDefinition, VariableDefinition
- All Known Subinterfaces:
- MethodReturnDefinition
- public interface ParameterDefinition
- extends VariableDefinition
Interface for holding metadata for a method parameter.
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 |
Method Summary |
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. |
isStructured
public boolean isStructured()
- Whether the parameter is a structure, such as a JavaBean or a Collection of JavaBeans.
-
- Returns:
- True if the parameter is a structure, false if it is a simple type such as a String, int, etc.
getStructure
public StructureDefinition getStructure()
- If the parameter is a structure, returns the metadata of the structure.
-
- Returns:
- The metadata of the parameter if it is a structure, or null otherwise.
isCollection
public boolean isCollection()
- Whether the parameter is a Collection of objects.
-
- Returns:
- True if the parameter is a Collection of objects, false otherwise.
isScalarCollection
public boolean isScalarCollection()
- Returns true if the parameter is a collection of scalars. Scalars are simple types that are not structured and are not collections.
-
- Returns:
- true if this parameter is a collection of scalars, false otherwise.
Copyright © 1997, 2006, Oracle. All rights reserved.