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.*;
19  
20  
21  /**
22   * <p>Java class for AttributeValueAssertion complex type.
23   * 
24   * <p>The following schema fragment specifies the expected content contained within this class.
25   * 
26   * <pre>
27   * &lt;complexType name="AttributeValueAssertion">
28   *   &lt;complexContent>
29   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30   *       &lt;sequence>
31   *         &lt;element name="value" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlValue"/>
32   *       &lt;/sequence>
33   *       &lt;attribute name="name" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}AttributeDescriptionValue" />
34   *     &lt;/restriction>
35   *   &lt;/complexContent>
36   * &lt;/complexType>
37   * </pre>
38   * 
39   * 
40   */
41  @XmlAccessorType(XmlAccessType.FIELD)
42  @XmlType(name = "AttributeValueAssertion", propOrder = {
43      "value"
44  })
45  public class AttributeValueAssertion {
46  
47      @XmlElement(required = true, type = String.class)
48      @XmlSchemaType(name = "anySimpleType")
49      protected Object value;
50      @XmlAttribute(name = "name", required = true)
51      protected String name;
52  
53      /**
54       * Gets the value of the value property.
55       * 
56       * @return
57       *     possible object is
58       *     {@link String }
59       *     
60       */
61      public Object getValue() {
62          return value;
63      }
64  
65      /**
66       * Sets the value of the value property.
67       * 
68       * @param value
69       *     allowed object is
70       *     {@link String }
71       *     
72       */
73      public void setValue(Object value) {
74          this.value = value;
75      }
76  
77      /**
78       * Gets the value of the name property.
79       * 
80       * @return
81       *     possible object is
82       *     {@link String }
83       *     
84       */
85      public String getName() {
86          return name;
87      }
88  
89      /**
90       * Sets the value of the name property.
91       * 
92       * @param value
93       *     allowed object is
94       *     {@link String }
95       *     
96       */
97      public void setName(String value) {
98          this.name = value;
99      }
100 
101 }