1 package org.fosstrak.epcis.model; 2 3 import javax.xml.bind.annotation.XmlEnum; 4 import javax.xml.bind.annotation.XmlType; 5 6 /** 7 * <p> 8 * Java class for ActionType. 9 * <p> 10 * The following schema fragment specifies the expected content contained within 11 * this class. 12 * <p> 13 * 14 * <pre> 15 * <simpleType name="ActionType"> 16 * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> 17 * <enumeration value="ADD"/> 18 * <enumeration value="OBSERVE"/> 19 * <enumeration value="DELETE"/> 20 * </restriction> 21 * </simpleType> 22 * </pre> 23 */ 24 @XmlType(name = "ActionType", namespace = "urn:epcglobal:epcis:xsd:1") 25 @XmlEnum 26 public enum ActionType { 27 28 ADD, OBSERVE, DELETE; 29 30 public String value() { 31 return name(); 32 } 33 34 public static ActionType fromValue(String v) { 35 return valueOf(v); 36 } 37 38 }