All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.toop.edm.jaxb.w3.odrl.UndefinedTerm Maven / Gradle / Ivy

The newest version!

package eu.toop.edm.jaxb.w3.odrl;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
import com.helger.commons.annotation.CodingStyleguideUnaware;


/**
 * 

Java class for UndefinedTerm. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="UndefinedTerm">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="http://www.w3.org/ns/odrl/2/support"/>
 *     <enumeration value="http://www.w3.org/ns/odrl/2/ignore"/>
 *     <enumeration value="http://www.w3.org/ns/odrl/2/invalid"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "UndefinedTerm") @XmlEnum @CodingStyleguideUnaware public enum UndefinedTerm { @XmlEnumValue("http://www.w3.org/ns/odrl/2/support") HTTP_____WWW___W_3___ORG___NS___ODRL___2___SUPPORT("http://www.w3.org/ns/odrl/2/support"), @XmlEnumValue("http://www.w3.org/ns/odrl/2/ignore") HTTP_____WWW___W_3___ORG___NS___ODRL___2___IGNORE("http://www.w3.org/ns/odrl/2/ignore"), @XmlEnumValue("http://www.w3.org/ns/odrl/2/invalid") HTTP_____WWW___W_3___ORG___NS___ODRL___2___INVALID("http://www.w3.org/ns/odrl/2/invalid"); private final String value; UndefinedTerm(String v) { value = v; } public String value() { return value; } public static UndefinedTerm fromValue(String v) { for (UndefinedTerm c: UndefinedTerm.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy