View Javadoc

1   package org.fosstrak.epcis.model;
2   
3   import javax.xml.bind.annotation.XmlAccessType;
4   import javax.xml.bind.annotation.XmlAccessorType;
5   import javax.xml.bind.annotation.XmlAttribute;
6   import javax.xml.bind.annotation.XmlType;
7   import javax.xml.bind.annotation.XmlValue;
8   
9   /**
10   * <p>
11   * Java class for PartnerIdentification complex type.
12   * <p>
13   * The following schema fragment specifies the expected content contained within
14   * this class.
15   * 
16   * <pre>
17   * &lt;complexType name="PartnerIdentification">
18   *   &lt;simpleContent>
19   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
20   *       &lt;attribute name="Authority" type="{http://www.w3.org/2001/XMLSchema}string" />
21   *     &lt;/extension>
22   *   &lt;/simpleContent>
23   * &lt;/complexType>
24   * </pre>
25   */
26  @XmlAccessorType(XmlAccessType.FIELD)
27  @XmlType(name = "PartnerIdentification", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", propOrder = { "value" })
28  public class PartnerIdentification {
29  
30      @XmlValue
31      protected String value;
32      @XmlAttribute(name = "Authority")
33      protected String authority;
34  
35      /**
36       * Gets the value of the value property.
37       * 
38       * @return possible object is {@link String }
39       */
40      public String getValue() {
41          return value;
42      }
43  
44      /**
45       * Sets the value of the value property.
46       * 
47       * @param value
48       *            allowed object is {@link String }
49       */
50      public void setValue(String value) {
51          this.value = value;
52      }
53  
54      /**
55       * Gets the value of the authority property.
56       * 
57       * @return possible object is {@link String }
58       */
59      public String getAuthority() {
60          return authority;
61      }
62  
63      /**
64       * Sets the value of the authority property.
65       * 
66       * @param value
67       *            allowed object is {@link String }
68       */
69      public void setAuthority(String value) {
70          this.authority = value;
71      }
72  
73  }