View as "text/plain" | Blame | Last modification | View Log | Download | RSS feed
package net.brutex.sbm.wsclient;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ImportCurrentOverallStatus.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="ImportCurrentOverallStatus">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="IMPORT-IN-PROGRESS"/>
* <enumeration value="IMPORT-COMPLETED"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "ImportCurrentOverallStatus")
@XmlEnum
public enum ImportCurrentOverallStatus {
@XmlEnumValue("IMPORT-IN-PROGRESS")
IMPORT_IN_PROGRESS("IMPORT-IN-PROGRESS"),
@XmlEnumValue("IMPORT-COMPLETED")
IMPORT_COMPLETED("IMPORT-COMPLETED");
private final String value;
ImportCurrentOverallStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static ImportCurrentOverallStatus fromValue(String v) {
for (ImportCurrentOverallStatus c: ImportCurrentOverallStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}