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.XmlType;
6   import javax.xml.bind.annotation.XmlValue;
7   
8   /**
9    * EPC represents the Electronic Product Code.
10   * <p>
11   * Java class for EPC 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="EPC">
18   *   &lt;simpleContent>
19   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
20   *     &lt;/extension>
21   *   &lt;/simpleContent>
22   * &lt;/complexType>
23   * </pre>
24   */
25  @XmlAccessorType(XmlAccessType.FIELD)
26  @XmlType(name = "EPC", namespace = "urn:epcglobal:xsd:1", propOrder = { "value" })
27  public class EPC {
28  
29      @XmlValue
30      protected String value;
31  
32      /**
33       * Gets the value of the value property.
34       * 
35       * @return possible object is {@link String }
36       */
37      public String getValue() {
38          return value;
39      }
40  
41      /**
42       * Sets the value of the value property.
43       * 
44       * @param value
45       *            allowed object is {@link String }
46       */
47      public void setValue(String value) {
48          this.value = value;
49      }
50  
51  }