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 BusinessTransactionType 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="BusinessTransactionType">
18   *   &lt;simpleContent>
19   *     &lt;extension base="&lt;urn:epcglobal:epcis:xsd:1>BusinessTransactionIDType">
20   *       &lt;attribute name="type" type="{urn:epcglobal:epcis:xsd:1}BusinessTransactionTypeIDType" />
21   *     &lt;/extension>
22   *   &lt;/simpleContent>
23   * &lt;/complexType>
24   * </pre>
25   */
26  @XmlAccessorType(XmlAccessType.FIELD)
27  @XmlType(name = "BusinessTransactionType", namespace = "urn:epcglobal:epcis:xsd:1", propOrder = { "value" })
28  public class BusinessTransactionType {
29  
30      @XmlValue
31      protected String value;
32      @XmlAttribute(name = "type")
33      protected String type;
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 type property.
56       * 
57       * @return possible object is {@link String }
58       */
59      public String getType() {
60          return type;
61      }
62  
63      /**
64       * Sets the value of the type property.
65       * 
66       * @param value
67       *            allowed object is {@link String }
68       */
69      public void setType(String value) {
70          this.type = value;
71      }
72  
73  }