com.unboundid.scim.ldap.OnConflict Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scim-ldap Show documentation
Show all versions of scim-ldap Show documentation
The UnboundID SCIM-LDAP module builds on the UnboundID SCIM-SDK to provide
classes that map SCIM resources to LDAP entries and vice versa. It also
contains several APIs that may be used to implement custom behaviors for
the mapping configuration file to extend its capabilities above and beyond
those provided out of the box. Each extension type varies in the amount of
control the implementation has over the mapping process and the amount of
effort required for implementation.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.05.08 at 03:01:00 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);
}
}