|
package org.fosstrak.epcis.model;
|
|
|
|
import javax.xml.bind.annotation.XmlEnum;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
|
|
/**
|
|
* <p>
|
|
* Java class for ActionType.
|
|
* <p>
|
|
* The following schema fragment specifies the expected content contained within
|
|
* this class.
|
|
* <p>
|
|
*
|
|
* <pre>
|
|
* <simpleType name="ActionType">
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
* <enumeration value="ADD"/>
|
|
* <enumeration value="OBSERVE"/>
|
|
* <enumeration value="DELETE"/>
|
|
* </restriction>
|
|
* </simpleType>
|
|
* </pre>
|
|
*/
|
|
@XmlType(name = "ActionType", namespace = "urn:epcglobal:epcis:xsd:1")
|
|
@XmlEnum
|
|
public enum ActionType {
|
|
|
|
ADD, OBSERVE, DELETE;
|
|
|
|
public String value() {
|
|
return name();
|
|
}
|
|
|
|
public static ActionType fromValue(String v) {
|
|
return valueOf(v);
|
|
}
|
|
|
|
}
|