// // 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.JoinColumn; import javax.persistence.OneToOne; import javax.xml.bind.annotation.XmlElement; @Entity public class SensingElement { @Id @GeneratedValue(strategy=GenerationType.AUTO) private int id; @OneToOne @JoinColumn(name="epc_id") @XmlElement(required = true) protected EPCN epc; @XmlElement(required = true) protected String type; @XmlElement(required = true) protected String value; @XmlElement(required = true) protected String uom; /** * Gets the value of the epc property. * * @return * possible object is * {@link EPCN } * */ public EPCN getEpc() { return epc; } /** * Sets the value of the epc property. * * @param value * allowed object is * {@link EPCN } * */ public void setEpc(EPCN value) { this.epc = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the uom property. * * @return * possible object is * {@link String } * */ public String getUom() { return uom; } /** * Sets the value of the uom property. * * @param value * allowed object is * {@link String } * */ public void setUom(String value) { this.uom = value; } public SensingElement() { super(); } public SensingElement( String type, String value, String uom) { super(); this.type = type; this.value = value; this.uom = uom; } }