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.XmlAnyElement;
6   import javax.xml.bind.annotation.XmlElement;
7   import javax.xml.bind.annotation.XmlType;
8   import org.w3c.dom.Element;
9   
10  /**
11   * <p>
12   * Java class for StandardBusinessDocument 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="StandardBusinessDocument">
19   *   &lt;complexContent>
20   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21   *       &lt;sequence>
22   *         &lt;element ref="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}StandardBusinessDocumentHeader" minOccurs="0"/>
23   *         &lt;any processContents='lax' namespace='##other'/>
24   *       &lt;/sequence>
25   *     &lt;/restriction>
26   *   &lt;/complexContent>
27   * &lt;/complexType>
28   * </pre>
29   */
30  @XmlAccessorType(XmlAccessType.FIELD)
31  @XmlType(name = "StandardBusinessDocument", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader", propOrder = {
32          "standardBusinessDocumentHeader", "any" })
33  public class StandardBusinessDocument {
34  
35      @XmlElement(name = "StandardBusinessDocumentHeader", namespace = "http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader")
36      protected StandardBusinessDocumentHeader standardBusinessDocumentHeader;
37      @XmlAnyElement(lax = true)
38      protected Object any;
39  
40      /**
41       * Gets the value of the standardBusinessDocumentHeader property.
42       * 
43       * @return possible object is {@link StandardBusinessDocumentHeader }
44       */
45      public StandardBusinessDocumentHeader getStandardBusinessDocumentHeader() {
46          return standardBusinessDocumentHeader;
47      }
48  
49      /**
50       * Sets the value of the standardBusinessDocumentHeader property.
51       * 
52       * @param value
53       *            allowed object is {@link StandardBusinessDocumentHeader }
54       */
55      public void setStandardBusinessDocumentHeader(StandardBusinessDocumentHeader value) {
56          this.standardBusinessDocumentHeader = value;
57      }
58  
59      /**
60       * Gets the value of the any property.
61       * 
62       * @return possible object is {@link Element } {@link Object }
63       */
64      public Object getAny() {
65          return any;
66      }
67  
68      /**
69       * Sets the value of the any property.
70       * 
71       * @param value
72       *            allowed object is {@link Element } {@link Object }
73       */
74      public void setAny(Object value) {
75          this.any = value;
76      }
77  
78  }