View Javadoc
1   /*
2    * Copyright 2017 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2;
17  
18  import javax.xml.bind.annotation.XmlAccessType;
19  import javax.xml.bind.annotation.XmlAccessorType;
20  import javax.xml.bind.annotation.XmlAttribute;
21  import javax.xml.bind.annotation.XmlElement;
22  import javax.xml.bind.annotation.XmlType;
23  
24  
25  /**
26   * <p>Java class for CompareRequest complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType name="CompareRequest">
32   *   &lt;complexContent>
33   *     &lt;extension base="{urn:oasis:names:tc:DSML:2:0:core}DsmlMessage">
34   *       &lt;sequence>
35   *         &lt;element name="assertion" type="{urn:oasis:names:tc:DSML:2:0:core}AttributeValueAssertion"/>
36   *       &lt;/sequence>
37   *       &lt;attribute name="dn" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlDN" />
38   *     &lt;/extension>
39   *   &lt;/complexContent>
40   * &lt;/complexType>
41   * </pre>
42   * 
43   * 
44   */
45  @XmlAccessorType(XmlAccessType.FIELD)
46  @XmlType(name = "CompareRequest", propOrder = {
47      "assertion"
48  })
49  public class CompareRequest
50      extends DsmlMessage
51  {
52  
53      @XmlElement(required = true)
54      protected AttributeValueAssertion assertion;
55      @XmlAttribute(name = "dn", required = true)
56      protected String dn;
57  
58      /**
59       * Gets the value of the assertion property.
60       * 
61       * @return
62       *     possible object is
63       *     {@link AttributeValueAssertion }
64       *     
65       */
66      public AttributeValueAssertion getAssertion() {
67          return assertion;
68      }
69  
70      /**
71       * Sets the value of the assertion property.
72       * 
73       * @param value
74       *     allowed object is
75       *     {@link AttributeValueAssertion }
76       *     
77       */
78      public void setAssertion(AttributeValueAssertion value) {
79          this.assertion = value;
80      }
81  
82      /**
83       * Gets the value of the dn property.
84       * 
85       * @return
86       *     possible object is
87       *     {@link String }
88       *     
89       */
90      public String getDn() {
91          return dn;
92      }
93  
94      /**
95       * Sets the value of the dn property.
96       * 
97       * @param value
98       *     allowed object is
99       *     {@link String }
100      *     
101      */
102     public void setDn(String value) {
103         this.dn = value;
104     }
105 
106 }