Skip navigation links
oracle.binding.meta
Interface OperationDefinition
- All Superinterfaces:
- Definition, NamedDefinition
- All Known Subinterfaces:
- OperationDefinition
- All Known Implementing Classes:
- MethodDef, StandardOperationDef
-
public interface OperationDefinition
- extends NamedDefinition
Interface for holding metadata of an operation. The operation can be either a common operation, such as Next and Commit, or custom operation, which is specific to the DataControl implementation.
Field Summary |
static int |
CUSTOM
|
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 |
CUSTOM
static final int CUSTOM
-
- See Also:
- Constant Field Values
getOperationParameters
DefinitionContainer getOperationParameters()
- Retrieves the metadata of the parameters of the operation.
-
- Returns:
- A DefinitionContainer containing the metadata of all parameters in the operation. There should be one ParameterDefinition object in the DefinitionContainer containing metadata for each parameter. If there are no paremeters, or if the operation is a common operation, an instance of EmptyDefinitionContainer should be returned.
- See Also:
ParameterDefinition
, EmptyDefinitionContainer
getOperationReturnType
OperationReturnDefinition getOperationReturnType()
- Retrieves the metadata of the return type of the operation.
-
- Returns:
- Metadata of the return type of the operation. If the operation does not return any value, or if it is a common operation, null can be returned.
getOperationId
int getOperationId()
- Retrieves the operation id of the operation.
-
- Returns:
- The id of the operation, or CUSTOM if this is a custom operation.
getDataControlDefinition
DataControlDefinition getDataControlDefinition()
- Retrieves the DataControlDefinition that this Operation belongs to.
-
- Returns:
- The DataControlDefinition that this Operation belongs to.
isStatic
boolean isStatic()
-
- Returns:
- true if this is a static method on the structure.
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.