|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.config.StatusFlag
public class StatusFlag
Hold a tuple of status value, label and accompanying decription.
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 Summary | |
---|---|
StatusFlag(Element statusFlagElement)
Constructor for the StatusFlag object that accepts a Element and parses it into label and description values. |
|
StatusFlag(String label,
String description)
Constructor for the StatusFlag object |
|
StatusFlag(String label,
String value,
String description)
Constructor for the StatusFlag object |
Method Summary | |
---|---|
String |
getDescription()
Gets the description attribute of the StatusFlag object |
String |
getLabel()
Gets the label attribute of the StatusFlag object |
String |
getValue()
Gets the value attribute of the StatusFlag object |
String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StatusFlag(String label, String description)
label
- Description of the Parameterdescription
- Description of the Parameterpublic StatusFlag(String label, String value, String description)
label
- Description of the Parametervalue
- Description of the Parameterdescription
- Description of the Parameterpublic StatusFlag(Element statusFlagElement) throws Exception
Element
and parses it into label and description values.
statusFlagElement
- Description of the Parameter
Exception
- if unable to parse into label and description
valuesMethod Detail |
---|
public String getLabel()
public String getValue()
public String getDescription()
public String toString()
toString
in class Object
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |