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

com.unboundid.scim.ldap.ResourceDefinition Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.8.26
Show newest version
//
// 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 java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for ResourceDefinition complex type. * *

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

 * <complexType name="ResourceDefinition">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="endpoint" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="LDAPSearchRef" type="{http://www.unboundid.com/scim-ldap}LDAPSearchParametersRef"/>
 *         <element name="LDAPAdd" type="{http://www.unboundid.com/scim-ldap}LDAPAddParameters" minOccurs="0"/>
 *         <element name="attribute" type="{http://www.unboundid.com/scim-ldap}AttributeDefinition" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}Name" />
 *       <attribute name="schema" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="mapping" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ResourceDefinition", namespace = "http://www.unboundid.com/scim-ldap", propOrder = { "description", "endpoint", "ldapSearchRef", "ldapAdd", "attribute" }) public class ResourceDefinition { @XmlElement(required = true) protected String description; @XmlElement(required = true) protected String endpoint; @XmlElement(name = "LDAPSearchRef", required = true) protected LDAPSearchParametersRef ldapSearchRef; @XmlElement(name = "LDAPAdd") protected LDAPAddParameters ldapAdd; protected List attribute; @XmlAttribute(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "Name") protected String name; @XmlAttribute(required = true) protected String schema; @XmlAttribute protected String mapping; /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the endpoint property. * * @return * possible object is * {@link String } * */ public String getEndpoint() { return endpoint; } /** * Sets the value of the endpoint property. * * @param value * allowed object is * {@link String } * */ public void setEndpoint(String value) { this.endpoint = value; } /** * Gets the value of the ldapSearchRef property. * * @return * possible object is * {@link LDAPSearchParametersRef } * */ public LDAPSearchParametersRef getLDAPSearchRef() { return ldapSearchRef; } /** * Sets the value of the ldapSearchRef property. * * @param value * allowed object is * {@link LDAPSearchParametersRef } * */ public void setLDAPSearchRef(LDAPSearchParametersRef value) { this.ldapSearchRef = value; } /** * Gets the value of the ldapAdd property. * * @return * possible object is * {@link LDAPAddParameters } * */ public LDAPAddParameters getLDAPAdd() { return ldapAdd; } /** * Sets the value of the ldapAdd property. * * @param value * allowed object is * {@link LDAPAddParameters } * */ public void setLDAPAdd(LDAPAddParameters value) { this.ldapAdd = value; } /** * Gets the value of the attribute property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the attribute property. * *

* For example, to add a new item, do as follows: *

     *    getAttribute().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AttributeDefinition } * * */ public List getAttribute() { if (attribute == null) { attribute = new ArrayList(); } return this.attribute; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the schema property. * * @return * possible object is * {@link String } * */ public String getSchema() { return schema; } /** * Sets the value of the schema property. * * @param value * allowed object is * {@link String } * */ public void setSchema(String value) { this.schema = value; } /** * Gets the value of the mapping property. * * @return * possible object is * {@link String } * */ public String getMapping() { return mapping; } /** * Sets the value of the mapping property. * * @param value * allowed object is * {@link String } * */ public void setMapping(String value) { this.mapping = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy