xuml.tools.miuml.metamodel.jaxb.Side Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of miuml-jaxb Show documentation
Show all versions of miuml-jaxb Show documentation
Contains miUML metamodel schema and xuml-tools extensions schema and generates JAXB classes from those schemas.
//
// 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: 2015.08.19 at 09:36:38 PM AEST
//
package xuml.tools.miuml.metamodel.jaxb;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Side.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Side">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="active"/>
* <enumeration value="passive"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "Side")
@XmlEnum
public enum Side {
@XmlEnumValue("active")
ACTIVE("active"),
@XmlEnumValue("passive")
PASSIVE("passive");
private final String value;
Side(String v) {
value = v;
}
public String value() {
return value;
}
public static Side fromValue(String v) {
for (Side c: Side.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy