com.ibm.wbiserver.brules.mgmt
Interface EnumerationItem
- All Superinterfaces:
- java.io.Serializable
public interface EnumerationItem
- extends java.io.Serializable
This interface represents a single valid value in an enumeration constraint.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
java.lang.String |
getUserPresentation()
Get the user presentation for this enumeration item. |
java.lang.String |
getValue()
Get the value of this enumeration item as a string. |
COPYRIGHT
static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
getUserPresentation
java.lang.String getUserPresentation()
- Get the user presentation for this enumeration item. If not null, this is the string that
should be used to display this enumeration item to the user.
- Returns:
- The user presentation string for this enumeration item or null if no user
presentation string is set.
getValue
java.lang.String getValue()
- Get the value of this enumeration item as a string. If the type of the associated parameter
is not string, then the returned string value can be parsed into the type expected by the
parameter using standard Java conversion methods. For example, if the type of the
associated parameter is boolean, then the string value can be converted to a boolean type
using the
Boolean.valueOf()
method.
- Returns:
- The value of this enumeration item as a string.