public interface ValueConstraint
Modifier and Type | Interface and Description |
---|---|
static interface |
ValueConstraint.StructureBuilder |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getEnumerationValues()
For an enumeration, this returns the list of string values defined for that enumeration or
null otherwise. |
java.lang.Number |
getLowerBound()
For a numeric range, this returns the lower bound if one has been specified or
null otherwise. |
ParameterDefinition |
getParameterDefinition(java.lang.String name)
For a structure, this returns the parameter definition for the specified parameter
or
null . |
java.util.List<java.lang.String> |
getParameterNames()
For a structure, this returns the list of parameter names.
|
java.lang.Number |
getUpperBound()
For a numeric range, this returns the upper bound if one has been specified or
null otherwise. |
boolean |
isEnumeration()
Returns
true if this value represents an enumeration i.e. a predefined
set of values. |
boolean |
isNumericRange()
Returns
true if this value represents a numeric range. |
boolean |
isStructure()
Returns
true if this value represents a structure i.e. a predefined
set of parameters as a single object. |
boolean isEnumeration()
true
if this value represents an enumeration i.e. a predefined
set of values.true
if this value represents an enumerationgetEnumerationValues()
java.util.List<java.lang.String> getEnumerationValues()
null
otherwise.null
isEnumeration()
boolean isNumericRange()
true
if this value represents a numeric range.true
if this value represents a numeric rangegetLowerBound()
,
getUpperBound()
java.lang.Number getLowerBound()
null
otherwise.null
isNumericRange()
,
getUpperBound()
java.lang.Number getUpperBound()
null
otherwise.null
isNumericRange()
,
getLowerBound()
boolean isStructure()
true
if this value represents a structure i.e. a predefined
set of parameters as a single object.true
if this value represents a structuregetParameterNames()
,
getParameterDefinition(String)
java.util.List<java.lang.String> getParameterNames()
isStructure()
,
getParameterDefinition(String)
ParameterDefinition getParameterDefinition(java.lang.String name)
null
.name
- the parameter namenull
isStructure()
,
getParameterNames()
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.