//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.09.15 at 01:39:48 PM KST
//
package org.oliot.model.oliot;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
*
* EPC represents the Electronic Product Code.
*
*
* <p>
* Java class for EPC complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="EPC">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EPC", namespace = "epcglobal.axis.epcis.oliot.org", propOrder = { "value" })
@Entity
@Table(name="EPC")
public class EPCN {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
//@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="epc_seq")
//@SequenceGenerator(name="epc_seq", sequenceName="epc_seq", allocationSize=1)
private int id;
@XmlValue
protected String value;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public EPCN() {
}
public EPCN(String value) {
this.value = value;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}