public class StatusFlag
extends java.lang.Object
implements java.io.Serializable
For all but "Final status flags", the value and label are the same. For Final flags, the value is an encoded string that allows the system to identify the flag as a Final (see StatusFlags).
$Id $
Constructor and Description |
---|
StatusFlag(org.dom4j.Element statusFlagElement)
Constructor for the StatusFlag object that accepts a
Element and parses it into label and description values. |
StatusFlag(java.lang.String label,
java.lang.String description)
Constructor for the StatusFlag object
|
StatusFlag(java.lang.String label,
java.lang.String value,
java.lang.String description)
Constructor for the StatusFlag object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Gets the description attribute of the StatusFlag object
|
java.lang.String |
getLabel()
Gets the label attribute of the StatusFlag object
|
java.lang.String |
getValue()
Gets the value attribute of the StatusFlag object
|
java.lang.String |
toString()
Description of the Method
|
public StatusFlag(java.lang.String label, java.lang.String description)
label
- Description of the Parameterdescription
- Description of the Parameterpublic StatusFlag(java.lang.String label, java.lang.String value, java.lang.String description)
label
- Description of the Parametervalue
- Description of the Parameterdescription
- Description of the Parameterpublic StatusFlag(org.dom4j.Element statusFlagElement) throws java.lang.Exception
Element
and parses it into label and description values.statusFlagElement
- Description of the Parameterjava.lang.Exception
- if unable to parse into label and description
valuespublic java.lang.String getLabel()
public java.lang.String getValue()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object