public enum ParameterChangePolicy extends java.lang.Enum<ParameterChangePolicy>
CHANGE_PARAMETERS and
ADD_PARAMETERS are at the same level and are mutual exclusive.
In the inheritance of the activity model, the parameter change policy applies
to the next level of entities for parameters, that is, when setting
the parameter change policy from GENERIC to FIXED,
one may change the parameters of the current entity but not that of the child
entity.
However, the parameter change policy FIXED affects the
parameter templates of the current entity. In this case no changes
(no addition and no removal) are allowed for parameter templates. This does
not make any sense since parameters may not be changed any more.
| Enum Constant and Description |
|---|
ADD_CHANGE_PARAMETERS
Parameters may be added and changed but not removed.
|
ADD_PARAMETERS
Parameters may be added, but no parameters may be changed or removed.
|
ADD_VIRTUAL
Parameters may not added, changed or removed.
|
CHANGE_PARAMETERS
Parameters may be changed, but no parameters may be added or removed.
|
FIXED
The interface of the operation is fixed; no parameters may be added,
changed or removed even no virtual parameters.
|
GENERIC
Parameters may be added, changed and removed arbitrarily.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getCode()
Returns a byte code representing this parameter change policy.
|
static ParameterChangePolicy |
valueOf(byte code)
Returns the parameter change policy for the given code or
null if
the code is not recognised. |
static ParameterChangePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParameterChangePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterChangePolicy GENERIC
public static final ParameterChangePolicy ADD_CHANGE_PARAMETERS
public static final ParameterChangePolicy ADD_PARAMETERS
CHANGE_PARAMETERS; these policies are mutual exclusive.public static final ParameterChangePolicy CHANGE_PARAMETERS
ADD_PARAMETERS; these policies are mutual exclusive.public static final ParameterChangePolicy ADD_VIRTUAL
public static final ParameterChangePolicy FIXED
public static ParameterChangePolicy[] values()
for (ParameterChangePolicy c : ParameterChangePolicy.values()) System.out.println(c);
public static ParameterChangePolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte getCode()
public static ParameterChangePolicy valueOf(byte code)
null if
the code is not recognised.code - the code for which to find the parameter change policy