org.apache.cxf.binding.corba.wsdl.ModeType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.01.04 at 03:44:56 PM EST
//
package org.apache.cxf.binding.corba.wsdl;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for modeType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="modeType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="in"/>
* <enumeration value="inout"/>
* <enumeration value="out"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "modeType")
@XmlEnum
public enum ModeType {
@XmlEnumValue("in")
IN("in"),
@XmlEnumValue("inout")
INOUT("inout"),
@XmlEnumValue("out")
OUT("out");
private final String value;
ModeType(String v) {
value = v;
}
public String value() {
return value;
}
public static ModeType fromValue(String v) {
for (ModeType c: ModeType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}