public class StandardOperationDef extends java.lang.Object implements OperationDefinition
ACTION_BINDING_CONTAINER_EXECUTE, ACTION_BINDING_CONTAINER_FIND, ACTION_COMMIT_TRANSACTION, ACTION_CREATE_INSERT_ROW, ACTION_CREATE_ROW, ACTION_CREATE_TEMP_WITH_PARAMS, ACTION_CREATE_WITH_PARAMS, ACTION_CUSTOM_EXECUTES_START, ACTION_EXECUTE, ACTION_EXECUTE_WITH_PARAMS, ACTION_FIND, ACTION_FIRST, ACTION_INVOKE_METHOD, ACTION_ITERATOR_BINDING_EXECUTE, ACTION_ITERATOR_BINDING_FIND, ACTION_LAST, ACTION_NEXT, ACTION_NEXT_SET, ACTION_PREVIOUS, ACTION_PREVIOUS_SET, ACTION_REMOVE_CURRENT_ROW, ACTION_REMOVEROW_WITH_KEY, ACTION_RESET, ACTION_RESET_STATE, ACTION_ROLLBACK_TRANSACTION, ACTION_SETCURRENTROW_WITH_KEY, ACTION_SETCURRENTROW_WITH_KEYVALUECUSTOMTYPE_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 and Description | 
|---|
| StandardOperationDef(int id) | 
| StandardOperationDef(int id,
                    java.lang.String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| BaseValueObjectDefinition | addParameter(java.lang.String name,
            java.lang.String javaType,
            java.lang.String fullName)Add a parameter to the standard operation. | 
| DataControlDefinition | getDataControlDefinition()Retrieves the DataControlDefinition that this Operation belongs to. | 
| static java.lang.String | getDefaultKeyForId(int nId) | 
| static java.lang.String | getDefaultLabelForId(int nId) | 
| static java.lang.String | getDefaultNameForId(int nId) | 
| 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 | getName()Returns the name of this Definition. | 
| static int | getOperationCodeFromId(java.lang.String sId) | 
| 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. | 
| 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. | 
| boolean | isStatic() | 
| void | setDataControlDefinition(DataControlDefinition dataControlDefinition)Set the DataControlDefinition to be returned in the interface method
 getDataControlDefinition. | 
| void | setFullName(java.lang.String fullName)The fullname to be returned by the getFullName() interface
 method can be overriden by the value set by this method. | 
| void | setName(java.lang.String name)The name to be returned by the getName() interface method, should
 the default one used in the constructor need to be overwritten. | 
| void | setOperationReturn(OperationReturnDefinition operationReturnDef)Set the return type of the standard operation. | 
| void | setParent(StructureDefinition parent)Set the parent definition to be returned in the interface method
 getParent. | 
| void | setProperty(java.lang.String propertyName,
           java.lang.Object propertyValue) | 
public StandardOperationDef(int id,
                    java.lang.String name)
id - The action id for the action. 
           See oracle.adf.model.meta.OperationDefinition for list.name - Name (key) for the action. This name should not be localized.public StandardOperationDef(int id)
public static int getOperationCodeFromId(java.lang.String sId)
public static java.lang.String getDefaultNameForId(int nId)
public static java.lang.String getDefaultKeyForId(int nId)
public static java.lang.String getDefaultLabelForId(int nId)
public DefinitionContainer getOperationParameters()
OperationDefinitiongetOperationParameters in interface OperationDefinitionParameterDefinition, 
EmptyDefinitionContainerpublic OperationReturnDefinition getOperationReturnType()
OperationDefinitiongetOperationReturnType in interface OperationDefinitionpublic int getOperationId()
OperationDefinitiongetOperationId in interface OperationDefinitionpublic void setDataControlDefinition(DataControlDefinition dataControlDefinition)
dataControlDefinition - The DataControlDefinition that this standard operation
                              belongs to.public DataControlDefinition getDataControlDefinition()
OperationDefinitiongetDataControlDefinition in interface OperationDefinitionpublic void setParent(StructureDefinition parent)
parent - The parent definition of this action definition.public Definition getDefinitionParent()
NamedDefinitiongetDefinitionParent in interface NamedDefinitionpublic void setName(java.lang.String name)
name - The name to be returned when getName() is called.public java.lang.String getName()
NamedDefinitiongetName in interface NamedDefinitionpublic BaseValueObjectDefinition addParameter(java.lang.String name, java.lang.String javaType, java.lang.String fullName)
name - Name of the parameter.javaType - A String containing the Java type of the parameter.fullName - full name of the parameter.public void setOperationReturn(OperationReturnDefinition operationReturnDef)
operationReturnDef - The operation return definition to be returned
                           when getOperationReturnType() is called.public void setFullName(java.lang.String fullName)
fullName - The full name to be returned when getFullName() is called.public 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 void setProperty(java.lang.String propertyName,
               java.lang.Object propertyValue)
public int getDefinitionType()
DefinitiongetDefinitionType in interface Definitionpublic boolean isStatic()
isStatic in interface OperationDefinition