com.unboundid.scim.ldap.AttributeDefinition 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.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 AttributeDefinition complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AttributeDefinition">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="derivation" type="{http://www.unboundid.com/scim-ldap}DerivedAttributeDefinition" minOccurs="0"/>
* <choice>
* <element name="simple" type="{http://www.unboundid.com/scim-ldap}SimpleAttributeDefinition"/>
* <element name="complex" type="{http://www.unboundid.com/scim-ldap}ComplexAttributeDefinition"/>
* <element name="simpleMultiValued" type="{http://www.unboundid.com/scim-ldap}SimpleMultiValuedAttributeDefinition"/>
* <element name="complexMultiValued" type="{http://www.unboundid.com/scim-ldap}ComplexMultiValuedAttributeDefinition"/>
* </choice>
* </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="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AttributeDefinition", namespace = "http://www.unboundid.com/scim-ldap", propOrder = {
"description",
"derivation",
"simple",
"complex",
"simpleMultiValued",
"complexMultiValued"
})
public class AttributeDefinition {
@XmlElement(required = true)
protected String description;
protected DerivedAttributeDefinition derivation;
protected SimpleAttributeDefinition simple;
protected ComplexAttributeDefinition complex;
protected SimpleMultiValuedAttributeDefinition simpleMultiValued;
protected ComplexMultiValuedAttributeDefinition complexMultiValued;
@XmlAttribute(name = "name", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "Name")
protected String name;
@XmlAttribute(name = "schema", required = true)
protected String schema;
@XmlAttribute(name = "readOnly")
protected Boolean readOnly;
@XmlAttribute(name = "required")
protected Boolean required;
/**
* 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 derivation property.
*
* @return
* possible object is
* {@link DerivedAttributeDefinition }
*
*/
public DerivedAttributeDefinition getDerivation() {
return derivation;
}
/**
* Sets the value of the derivation property.
*
* @param value
* allowed object is
* {@link DerivedAttributeDefinition }
*
*/
public void setDerivation(DerivedAttributeDefinition value) {
this.derivation = value;
}
/**
* Gets the value of the simple property.
*
* @return
* possible object is
* {@link SimpleAttributeDefinition }
*
*/
public SimpleAttributeDefinition getSimple() {
return simple;
}
/**
* Sets the value of the simple property.
*
* @param value
* allowed object is
* {@link SimpleAttributeDefinition }
*
*/
public void setSimple(SimpleAttributeDefinition value) {
this.simple = value;
}
/**
* Gets the value of the complex property.
*
* @return
* possible object is
* {@link ComplexAttributeDefinition }
*
*/
public ComplexAttributeDefinition getComplex() {
return complex;
}
/**
* Sets the value of the complex property.
*
* @param value
* allowed object is
* {@link ComplexAttributeDefinition }
*
*/
public void setComplex(ComplexAttributeDefinition value) {
this.complex = value;
}
/**
* Gets the value of the simpleMultiValued property.
*
* @return
* possible object is
* {@link SimpleMultiValuedAttributeDefinition }
*
*/
public SimpleMultiValuedAttributeDefinition getSimpleMultiValued() {
return simpleMultiValued;
}
/**
* Sets the value of the simpleMultiValued property.
*
* @param value
* allowed object is
* {@link SimpleMultiValuedAttributeDefinition }
*
*/
public void setSimpleMultiValued(SimpleMultiValuedAttributeDefinition value) {
this.simpleMultiValued = value;
}
/**
* Gets the value of the complexMultiValued property.
*
* @return
* possible object is
* {@link ComplexMultiValuedAttributeDefinition }
*
*/
public ComplexMultiValuedAttributeDefinition getComplexMultiValued() {
return complexMultiValued;
}
/**
* Sets the value of the complexMultiValued property.
*
* @param value
* allowed object is
* {@link ComplexMultiValuedAttributeDefinition }
*
*/
public void setComplexMultiValued(ComplexMultiValuedAttributeDefinition value) {
this.complexMultiValued = value;
}
/**
* 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 readOnly property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isReadOnly() {
if (readOnly == null) {
return false;
} else {
return readOnly;
}
}
/**
* Sets the value of the readOnly property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setReadOnly(Boolean value) {
this.readOnly = value;
}
/**
* Gets the value of the required property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isRequired() {
if (required == null) {
return false;
} else {
return required;
}
}
/**
* Sets the value of the required property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRequired(Boolean value) {
this.required = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy