oracle.binding.meta
Interface MethodReturnDefinition
- All Superinterfaces:
- Definition, NamedDefinition, ParameterDefinition, VariableDefinition
- public interface MethodReturnDefinition
- extends ParameterDefinition
Marker interface for defining return types, as returned in the getReturnType method in OperationDefinition. Instances of this interface should return TYPE_METHODRETURN, which is defined in oracle.binding.meta.Definition, when its getType() method is called.
| 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 |
getCollectionStructure
public StructureDefinition getCollectionStructure()
- Retrieves the metadata of the return collection. It is possible that the collection itself has operations defined, such as if the collection is a class that implements a java.util.Collection interface and contains methods for searching through its elements. Please note that this is different from the getStructure API, which returns the metadata of the collection elements.
-
- Returns:
- The metadata describing the structure of the collection, or null if there is none available for the return collection.
Copyright © 1997, 2005, Oracle. All rights reserved.