com.ibm.wbiserver.brules.mgmt

Interface EnumerationItem

All Superinterfaces:
java.io.Serializable

  1. public interface EnumerationItem
  2. extends java.io.Serializable
This interface represents a single valid value in an enumeration constraint.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getUserPresentation()
Get the user presentation for this enumeration item.
  1. java.lang.String
getValue()
Get the value of this enumeration item as a string.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

getUserPresentation

  1. 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

  1. 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.