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