public class DCMethodParameterDef extends PropertyNameValueDef implements java.io.Serializable, OperationParameter
Modifier and Type | Field and Description |
---|---|
static int |
PARAM_DEFAULT
For internal use only.
|
static int |
PARAM_FINAL
Binding definition has the expression to get to the value that should be used for this parameter.
|
static java.lang.String |
PARAM_FINAL_STR |
static int |
PARAM_MANDATORY
Parameter value has to be set by the caller.
|
static java.lang.String |
PARAM_MANDATORY_STR |
static int |
PARAM_OPTIONAL
Binding definition's value is used only if the parameter is not specifically set by the caller.
|
static java.lang.String |
PARAM_OPTIONAL_STR |
static int |
PARAM_REQUIRED
Parameter value has to be set by the caller.
|
NULL_VALUE
Constructor and Description |
---|
DCMethodParameterDef() |
DCMethodParameterDef(DCMethodParameterDef other) |
DCMethodParameterDef(java.lang.String name,
java.lang.String type,
java.lang.Object value) |
DCMethodParameterDef(java.lang.String name,
java.lang.String type,
java.lang.Object value,
int scope) |
Modifier and Type | Method and Description |
---|---|
int |
getOption() |
boolean |
isFinal()
A usage cannot override this parameter expression.
|
boolean |
isMandatory()
Return true if a value for this parameter has to be passed in in the usage of this parameter's container.
|
boolean |
isOptional() |
boolean |
isParamFinal()
Deprecated.
since 10.1.3
|
boolean |
isParamRequired()
Deprecated.
since 10.1.3
|
void |
loadFromXMLFile(DefElement xmlElement) |
void |
setOption(int scope) |
clone, convertToText, convertToVector, copy, getColumnList, getDefXMLElementTag, getDefXMLNameSpace, getFullName, getName, getType, getTypedValue, getTypeName, getValue, getXMLElementTag, setBeanProperty, setName, setType, setValue
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getTypeName, getValue
public static final int PARAM_FINAL
public static final int PARAM_OPTIONAL
public static final int PARAM_REQUIRED
public static final int PARAM_MANDATORY
public static final int PARAM_DEFAULT
public static final java.lang.String PARAM_OPTIONAL_STR
public static final java.lang.String PARAM_FINAL_STR
public static final java.lang.String PARAM_MANDATORY_STR
public DCMethodParameterDef()
public DCMethodParameterDef(java.lang.String name, java.lang.String type, java.lang.Object value, int scope)
public DCMethodParameterDef(java.lang.String name, java.lang.String type, java.lang.Object value)
public DCMethodParameterDef(DCMethodParameterDef other)
public int getOption()
public void setOption(int scope)
public void loadFromXMLFile(DefElement xmlElement)
loadFromXMLFile
in class PropertyNameValueDef
public final boolean isFinal()
public final boolean isOptional()
public final boolean isMandatory()
public final boolean isParamFinal()
public final boolean isParamRequired()