eu.toop.edm.jaxb.w3.odrl.ConflictTerm Maven / Gradle / Ivy
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 ConflictTerm.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ConflictTerm">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="http://www.w3.org/ns/odrl/2/perm"/>
* <enumeration value="http://www.w3.org/ns/odrl/2/prohibit"/>
* <enumeration value="http://www.w3.org/ns/odrl/2/invalid"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ConflictTerm")
@XmlEnum
@CodingStyleguideUnaware
public enum ConflictTerm {
@XmlEnumValue("http://www.w3.org/ns/odrl/2/perm")
HTTP_____WWW___W_3___ORG___NS___ODRL___2___PERM("http://www.w3.org/ns/odrl/2/perm"),
@XmlEnumValue("http://www.w3.org/ns/odrl/2/prohibit")
HTTP_____WWW___W_3___ORG___NS___ODRL___2___PROHIBIT("http://www.w3.org/ns/odrl/2/prohibit"),
@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;
ConflictTerm(String v) {
value = v;
}
public String value() {
return value;
}
public static ConflictTerm fromValue(String v) {
for (ConflictTerm c: ConflictTerm.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy