|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adf.model.utils.StandardOperationDef
public class StandardOperationDef
Definition for standard operations
Field Summary |
---|
Fields inherited from interface oracle.binding.meta.OperationDefinition |
---|
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 |
Constructor Summary | |
---|---|
StandardOperationDef(int id)
|
|
StandardOperationDef(int id,
java.lang.String name)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
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()
OperationDefinition
getOperationParameters
in interface OperationDefinition
ParameterDefinition
,
EmptyDefinitionContainer
public OperationReturnDefinition getOperationReturnType()
OperationDefinition
getOperationReturnType
in interface OperationDefinition
public int getOperationId()
OperationDefinition
getOperationId
in interface OperationDefinition
public void setDataControlDefinition(DataControlDefinition dataControlDefinition)
dataControlDefinition
- The DataControlDefinition that this standard operation
belongs to.public DataControlDefinition getDataControlDefinition()
OperationDefinition
getDataControlDefinition
in interface OperationDefinition
public void setParent(StructureDefinition parent)
parent
- The parent definition of this action definition.public Definition getDefinitionParent()
NamedDefinition
getDefinitionParent
in interface NamedDefinition
public void setName(java.lang.String name)
name
- The name to be returned when getName() is called.public java.lang.String getName()
NamedDefinition
getName
in interface NamedDefinition
public 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()
NamedDefinition
getFullName
in interface NamedDefinition
public java.lang.Object getProperty(java.lang.String propertyName)
NamedDefinition
getProperty
in interface NamedDefinition
propertyName
- Name of the property to be retrieved.
public java.util.Hashtable getProperties()
NamedDefinition
getProperties
in interface NamedDefinition
public void setProperty(java.lang.String propertyName, java.lang.Object propertyValue)
public int getDefinitionType()
Definition
getDefinitionType
in interface Definition
public boolean isStatic()
isStatic
in interface OperationDefinition
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |