public enum SynchronizationStatus extends Enum<SynchronizationStatus> implements Serializable, AdagioEnumerationDef<String>
Enum Constant and Description |
---|
DELETED
TODO: Model Documentation for Enumeration Literal DELETED value "DELETED"
|
DIRTY
TODO: Model Documentation for Enumeration Literal DIRTY value "DIRTY"
|
READY_TO_SYNCHRONIZE
TODO: Model Documentation for Enumeration Literal READY_TO_SYNCHRONIZE value "READY_TO_SYNC"
|
SYNCHRONIZED
TODO: Model Documentation for Enumeration Literal SYNCHRONIZED value "SYNC"
|
CONFIG_OPTION_PREFIX
Modifier and Type | Method and Description |
---|---|
static SynchronizationStatus |
fromString(String name)
Retrieves an instance of SynchronizationStatus from
its name . |
static SynchronizationStatus |
fromValue(String value)
Returns an instance of SynchronizationStatus from String
value . |
String |
getDescription() |
String |
getKey() |
Class<?> |
getType() |
String |
getValue()
Gets the underlying value of this type safe enumeration.
|
String |
getValueAsString() |
static List<String> |
literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.
|
static List<String> |
names()
Returns an unmodifiable list containing the names of the literals that are known
by this enumeration.
|
void |
setValue(String newValue) |
String |
value()
Returns an enumeration literal String
value . |
static SynchronizationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynchronizationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynchronizationStatus SYNCHRONIZED
public static final SynchronizationStatus READY_TO_SYNCHRONIZE
public static final SynchronizationStatus DIRTY
public static final SynchronizationStatus DELETED
public static SynchronizationStatus[] values()
for (SynchronizationStatus c : SynchronizationStatus.values()) System.out.println(c);
public static SynchronizationStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic void setValue(String newValue)
setValue
in interface AdagioEnumerationDef<String>
public String getValueAsString()
getValueAsString
in interface AdagioEnumerationDef<String>
public static SynchronizationStatus fromString(String name)
its name
.name
- the name to create the SynchronizationStatus from.public String value()
value
.
Required by JAXB2 enumeration implementationpublic static SynchronizationStatus fromValue(String value)
value
.
Required by JAXB2 enumeration implementationvalue
- the value to create the SynchronizationStatus from.public String getValue()
getValue
in interface AdagioEnumerationDef<String>
public String getDescription()
getDescription
in interface AdagioEnumerationDef<String>
public String getKey()
getKey
in interface AdagioEnumerationDef<String>
public Class<?> getType()
getType
in interface AdagioEnumerationDef<String>
public static List<String> literals()
Copyright © 2012–2014 IFREMER. All rights reserved.