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 javax.xml.bind.annotation.XmlAccessType;
012import javax.xml.bind.annotation.XmlAccessorType;
013import javax.xml.bind.annotation.XmlAttribute;
014import javax.xml.bind.annotation.XmlType;
015
016
017/**
018 * <p>Java class for ModifyDNRequest complex type.
019 * 
020 * <p>The following schema fragment specifies the expected content contained within this class.
021 * 
022 * <pre>
023 * &lt;complexType name="ModifyDNRequest">
024 *   &lt;complexContent>
025 *     &lt;extension base="{urn:oasis:names:tc:DSML:2:0:core}DsmlMessage">
026 *       &lt;attribute name="dn" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlDN" />
027 *       &lt;attribute name="newrdn" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlRDN" />
028 *       &lt;attribute name="deleteoldrdn" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
029 *       &lt;attribute name="newSuperior" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlDN" />
030 *     &lt;/extension>
031 *   &lt;/complexContent>
032 * &lt;/complexType>
033 * </pre>
034 * 
035 * 
036 */
037@XmlAccessorType(XmlAccessType.FIELD)
038@XmlType(name = "ModifyDNRequest", namespace = "urn:oasis:names:tc:DSML:2:0:core")
039public class ModifyDNRequest
040    extends DsmlMessage
041{
042
043    @XmlAttribute(name = "dn", required = true)
044    protected String dn;
045    @XmlAttribute(name = "newrdn", required = true)
046    protected String newrdn;
047    @XmlAttribute(name = "deleteoldrdn")
048    protected Boolean deleteoldrdn;
049    @XmlAttribute(name = "newSuperior")
050    protected String newSuperior;
051
052    /**
053     * Gets the value of the dn property.
054     * 
055     * @return
056     *     possible object is
057     *     {@link String }
058     *     
059     */
060    public String getDn() {
061        return dn;
062    }
063
064    /**
065     * Sets the value of the dn property.
066     * 
067     * @param value
068     *     allowed object is
069     *     {@link String }
070     *     
071     */
072    public void setDn(String value) {
073        this.dn = value;
074    }
075
076    /**
077     * Gets the value of the newrdn property.
078     * 
079     * @return
080     *     possible object is
081     *     {@link String }
082     *     
083     */
084    public String getNewrdn() {
085        return newrdn;
086    }
087
088    /**
089     * Sets the value of the newrdn property.
090     * 
091     * @param value
092     *     allowed object is
093     *     {@link String }
094     *     
095     */
096    public void setNewrdn(String value) {
097        this.newrdn = value;
098    }
099
100    /**
101     * Gets the value of the deleteoldrdn property.
102     * 
103     * @return
104     *     possible object is
105     *     {@link Boolean }
106     *     
107     */
108    public boolean isDeleteoldrdn() {
109        if (deleteoldrdn == null) {
110            return true;
111        } else {
112            return deleteoldrdn;
113        }
114    }
115
116    /**
117     * Sets the value of the deleteoldrdn property.
118     * 
119     * @param value
120     *     allowed object is
121     *     {@link Boolean }
122     *     
123     */
124    public void setDeleteoldrdn(Boolean value) {
125        this.deleteoldrdn = value;
126    }
127
128    /**
129     * Gets the value of the newSuperior property.
130     * 
131     * @return
132     *     possible object is
133     *     {@link String }
134     *     
135     */
136    public String getNewSuperior() {
137        return newSuperior;
138    }
139
140    /**
141     * Sets the value of the newSuperior property.
142     * 
143     * @param value
144     *     allowed object is
145     *     {@link String }
146     *     
147     */
148    public void setNewSuperior(String value) {
149        this.newSuperior = value;
150    }
151
152}