public interface ParameterValue extends java.io.Serializable, BusinessRuleValidateable, BusinessRuleChangeDetector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
Parameter |
getParameter()
Get the parameter for this value.
|
java.lang.String |
getValue()
Get the parameter value.
|
void |
setValue(java.lang.String newValue)
Set the parameter value.
|
validate
hasChanges
static final java.lang.String COPYRIGHT
Parameter getParameter()
java.lang.String getValue()
String
that can be directly converted to
the type of the parameter.void setValue(java.lang.String newValue) throws ValidationException
Double.valueOf()
method. Note that for boolean types the only allowed
values are the strings "true" and "false", all lower case. The converted value is
checked to ensure that it does not violate any constraints specified for the
parameter.newValue
- The new value for this parameter as a String
. This value
should be directly convertible to the type of the parameter using standard Java methods.ValidationException
- if any validation errors are detected as specified above.ChangesNotAllowedException
- if changes to this object are temporarily
disallowed while other changes are being published.