![JAR search and dependency download from the Maven repository](/logo.png)
com.unboundid.scim.ldap.OnConflict 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: 2021.09.07 at 04:20:58 PM CDT
//
package com.unboundid.scim.ldap;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for OnConflict.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="OnConflict">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="merge"/>
* <enumeration value="overwrite"/>
* <enumeration value="preserve"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "OnConflict", namespace = "http://www.unboundid.com/scim-ldap")
@XmlEnum
public enum OnConflict {
@XmlEnumValue("merge")
MERGE("merge"),
@XmlEnumValue("overwrite")
OVERWRITE("overwrite"),
@XmlEnumValue("preserve")
PRESERVE("preserve");
private final String value;
OnConflict(String v) {
value = v;
}
public String value() {
return value;
}
public static OnConflict fromValue(String v) {
for (OnConflict c: OnConflict.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy