public class StatusFlags
extends java.lang.Object
implements java.io.Serializable
$Id $
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DCS_SPECIAL |
static java.lang.String |
DEFAULT_FINAL_STATUS
Description of the Field
|
static java.lang.String |
IMPORTED_STATUS
Description of the Field
|
static StatusFlag |
IMPORTED_STATUS_FLAG
Description of the Field
|
static java.lang.String |
NDR_EXPORTED_STATUS |
static java.lang.String |
NDR_IMPORTED_STATUS |
static java.lang.String |
NEW_STATUS
Description of the Field
|
static StatusFlag |
NEW_STATUS_FLAG
Description of the Field
|
static java.lang.String |
RECOMMENDED_STATUS |
static StatusFlag |
RECOMMENDED_STATUS_FLAG |
static java.lang.String |
UNKNOWN_STATUS
Description of the Field
|
static StatusFlag |
UNKNOWN_STATUS_FLAG
Description of the Field
|
Constructor and Description |
---|
StatusFlags() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCollection(java.lang.String statusValue)
Derives a collection key from a final status value string.
|
static StatusFlag |
getFinalStatusFlag(java.lang.String label,
java.lang.String collection)
Gets the finalStatusFlag attribute of the StatusFlags class
|
static java.lang.String |
getFinalStatusValue(java.lang.String collection)
Creates a final status value string based on given collection key.
|
static boolean |
isFinalStatusValue(java.lang.String s)
Determines whether the given string is a final status value, and therefore provides
a means of identifying "final status flags"
|
static void |
main(java.lang.String[] args)
The main program for the StatusFlags class
|
static java.util.List |
reservedStatusLabels()
Description of the Method
|
public static final java.lang.String DCS_SPECIAL
public static final java.lang.String UNKNOWN_STATUS
public static final java.lang.String NEW_STATUS
public static final java.lang.String IMPORTED_STATUS
public static final java.lang.String NDR_IMPORTED_STATUS
public static final java.lang.String NDR_EXPORTED_STATUS
public static final java.lang.String RECOMMENDED_STATUS
public static final java.lang.String DEFAULT_FINAL_STATUS
public static final StatusFlag UNKNOWN_STATUS_FLAG
public static final StatusFlag NEW_STATUS_FLAG
public static final StatusFlag IMPORTED_STATUS_FLAG
public static final StatusFlag RECOMMENDED_STATUS_FLAG
public static final java.util.List reservedStatusLabels()
public static final java.lang.String getFinalStatusValue(java.lang.String collection)
The status value is created by inserting the collection key into the FINAL_STATUS_VALUE_TEMPLATE. For example, for the collection key, "dcc", the final status value would be "_|-final-dcc-|_" "
collection
- Description of the Parameterpublic static final StatusFlag getFinalStatusFlag(java.lang.String label, java.lang.String collection)
label
- Description of the Parametercollection
- Description of the Parameterpublic static final java.lang.String getCollection(java.lang.String statusValue)
statusValue
- Description of the Parameterpublic static final boolean isFinalStatusValue(java.lang.String s)
s
- Description of the Parameterpublic static void main(java.lang.String[] args)
args
- The command line arguments