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.XmlElement;
6   import javax.xml.bind.annotation.XmlSchemaType;
7   import javax.xml.bind.annotation.XmlType;
8   import javax.xml.datatype.XMLGregorianCalendar;
9   
10  /**
11   * <p>
12   * Java class for DocumentIdentification complex type.
13   * <p>
14   * The following schema fragment specifies the expected content contained within
15   * this class.
16   * 
17   * <pre>
18   * &lt;complexType name="DocumentIdentification">
19   *   &lt;complexContent>
20   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21   *       &lt;sequence>
22   *         &lt;element name="Standard" type="{http://www.w3.org/2001/XMLSchema}string"/>
23   *         &lt;element name="TypeVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
24   *         &lt;element name="InstanceIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/>
25   *         &lt;element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
26   *         &lt;element name="MultipleType" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
27   *         &lt;element name="CreationDateAndTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
28   *       &lt;/sequence>
29   *     &lt;/restriction>
30   *   &lt;/complexContent>
31   * &lt;/complexType>
32   * </pre>
33   */
34  @XmlAccessorType(XmlAccessType.FIELD)
35  @XmlType(name = "DocumentIdentification", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", propOrder = {
36          "standard", "typeVersion", "instanceIdentifier", "type", "multipleType", "creationDateAndTime" })
37  public class DocumentIdentification {
38  
39      @XmlElement(name = "Standard", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", required = true)
40      protected String standard;
41      @XmlElement(name = "TypeVersion", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", required = true)
42      protected String typeVersion;
43      @XmlElement(name = "InstanceIdentifier", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", required = true)
44      protected String instanceIdentifier;
45      @XmlElement(name = "Type", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", required = true)
46      protected String type;
47      @XmlElement(name = "MultipleType", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader")
48      protected Boolean multipleType;
49      @XmlElement(name = "CreationDateAndTime", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", required = true)
50      @XmlSchemaType(name = "dateTime")
51      protected XMLGregorianCalendar creationDateAndTime;
52  
53      /**
54       * Gets the value of the standard property.
55       * 
56       * @return possible object is {@link String }
57       */
58      public String getStandard() {
59          return standard;
60      }
61  
62      /**
63       * Sets the value of the standard property.
64       * 
65       * @param value
66       *            allowed object is {@link String }
67       */
68      public void setStandard(String value) {
69          this.standard = value;
70      }
71  
72      /**
73       * Gets the value of the typeVersion property.
74       * 
75       * @return possible object is {@link String }
76       */
77      public String getTypeVersion() {
78          return typeVersion;
79      }
80  
81      /**
82       * Sets the value of the typeVersion property.
83       * 
84       * @param value
85       *            allowed object is {@link String }
86       */
87      public void setTypeVersion(String value) {
88          this.typeVersion = value;
89      }
90  
91      /**
92       * Gets the value of the instanceIdentifier property.
93       * 
94       * @return possible object is {@link String }
95       */
96      public String getInstanceIdentifier() {
97          return instanceIdentifier;
98      }
99  
100     /**
101      * Sets the value of the instanceIdentifier property.
102      * 
103      * @param value
104      *            allowed object is {@link String }
105      */
106     public void setInstanceIdentifier(String value) {
107         this.instanceIdentifier = value;
108     }
109 
110     /**
111      * Gets the value of the type property.
112      * 
113      * @return possible object is {@link String }
114      */
115     public String getType() {
116         return type;
117     }
118 
119     /**
120      * Sets the value of the type property.
121      * 
122      * @param value
123      *            allowed object is {@link String }
124      */
125     public void setType(String value) {
126         this.type = value;
127     }
128 
129     /**
130      * Gets the value of the multipleType property.
131      * 
132      * @return possible object is {@link Boolean }
133      */
134     public Boolean isMultipleType() {
135         return multipleType;
136     }
137 
138     /**
139      * Sets the value of the multipleType property.
140      * 
141      * @param value
142      *            allowed object is {@link Boolean }
143      */
144     public void setMultipleType(Boolean value) {
145         this.multipleType = value;
146     }
147 
148     /**
149      * Gets the value of the creationDateAndTime property.
150      * 
151      * @return possible object is {@link XMLGregorianCalendar }
152      */
153     public XMLGregorianCalendar getCreationDateAndTime() {
154         return creationDateAndTime;
155     }
156 
157     /**
158      * Sets the value of the creationDateAndTime property.
159      * 
160      * @param value
161      *            allowed object is {@link XMLGregorianCalendar }
162      */
163     public void setCreationDateAndTime(XMLGregorianCalendar value) {
164         this.creationDateAndTime = value;
165     }
166 
167 }