Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

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
 
Method Summary
 DataControlDefinition getDataControlDefinition()
          Retrieves the DataControlDefinition that this Operation belongs to.
 int getOperationId()
          Retrieves the operation id of the operation.
 DefinitionContainer getOperationParameters()
          Retrieves the metadata of the parameters of the operation.
 OperationReturnDefinition getOperationReturnType()
          Retrieves the metadata of the return type of the operation.
 boolean isStatic()
           
 
Methods inherited from interface oracle.binding.meta.NamedDefinition
getDefinitionParent, getFullName, getName, getProperties, getProperty
 
Methods inherited from interface oracle.binding.meta.Definition
getDefinitionType
 

Field Detail

CUSTOM

static final int CUSTOM
See Also:
Constant Field Values
Method Detail

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.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

Copyright © 1997, 2011, Oracle. All rights reserved.