001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004// Any modifications to this file will be lost upon recompilation of the source schema. 
005// Generated on: 2015.08.26 at 05:38:23 AM CEST 
006//
007
008
009package org.opends.dsml.protocol;
010
011import java.util.ArrayList;
012import java.util.List;
013import javax.xml.bind.annotation.XmlAccessType;
014import javax.xml.bind.annotation.XmlAccessorType;
015import javax.xml.bind.annotation.XmlAttribute;
016import javax.xml.bind.annotation.XmlElement;
017import javax.xml.bind.annotation.XmlType;
018
019
020/**
021 * <p>Java class for DsmlModification complex type.
022 * 
023 * <p>The following schema fragment specifies the expected content contained within this class.
024 * 
025 * <pre>
026 * &lt;complexType name="DsmlModification">
027 *   &lt;complexContent>
028 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029 *       &lt;sequence>
030 *         &lt;element name="value" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlValue" maxOccurs="unbounded" minOccurs="0"/>
031 *       &lt;/sequence>
032 *       &lt;attribute name="name" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}AttributeDescriptionValue" />
033 *       &lt;attribute name="operation" use="required">
034 *         &lt;simpleType>
035 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
036 *             &lt;enumeration value="add"/>
037 *             &lt;enumeration value="delete"/>
038 *             &lt;enumeration value="replace"/>
039 *           &lt;/restriction>
040 *         &lt;/simpleType>
041 *       &lt;/attribute>
042 *     &lt;/restriction>
043 *   &lt;/complexContent>
044 * &lt;/complexType>
045 * </pre>
046 * 
047 * 
048 */
049@XmlAccessorType(XmlAccessType.FIELD)
050@XmlType(name = "DsmlModification", namespace = "urn:oasis:names:tc:DSML:2:0:core", propOrder = {
051    "value"
052})
053public class DsmlModification {
054
055    @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core", type = String.class)
056    protected List<Object> value;
057    @XmlAttribute(name = "name", required = true)
058    protected String name;
059    @XmlAttribute(name = "operation", required = true)
060    protected String operation;
061
062    /**
063     * Gets the value of the value property.
064     * 
065     * <p>
066     * This accessor method returns a reference to the live list,
067     * not a snapshot. Therefore any modification you make to the
068     * returned list will be present inside the JAXB object.
069     * This is why there is not a <CODE>set</CODE> method for the value property.
070     * 
071     * <p>
072     * For example, to add a new item, do as follows:
073     * <pre>
074     *    getValue().add(newItem);
075     * </pre>
076     * 
077     * 
078     * <p>
079     * Objects of the following type(s) are allowed in the list
080     * {@link String }
081     * 
082     * 
083     */
084    public List<Object> getValue() {
085        if (value == null) {
086            value = new ArrayList<Object>();
087        }
088        return this.value;
089    }
090
091    /**
092     * Gets the value of the name property.
093     * 
094     * @return
095     *     possible object is
096     *     {@link String }
097     *     
098     */
099    public String getName() {
100        return name;
101    }
102
103    /**
104     * Sets the value of the name property.
105     * 
106     * @param value
107     *     allowed object is
108     *     {@link String }
109     *     
110     */
111    public void setName(String value) {
112        this.name = value;
113    }
114
115    /**
116     * Gets the value of the operation property.
117     * 
118     * @return
119     *     possible object is
120     *     {@link String }
121     *     
122     */
123    public String getOperation() {
124        return operation;
125    }
126
127    /**
128     * Sets the value of the operation property.
129     * 
130     * @param value
131     *     allowed object is
132     *     {@link String }
133     *     
134     */
135    public void setOperation(String value) {
136        this.operation = value;
137    }
138
139}