//
// 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.08.30 at 03:25:42 PM KST
//
package org.oliot.model.ale;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>
* Java class for ECTime complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="ECTime">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>long">
* <attribute name="unit" use="required" type="{urn:epcglobal:ale:xsd:1}ECTimeUnit" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ECTime", propOrder = { "value" })
public class ECTime {
@XmlValue
protected long value;
@XmlAttribute(name = "unit", required = true)
protected String unit;
/**
* Gets the value of the value property.
*
*/
public long getValue() {
return value;
}
/**
* Sets the value of the value property.
*
*/
public void setValue(long value) {
this.value = value;
}
/**
* Gets the value of the unit property.
*
* @return possible object is {@link String }
*
*/
public String getUnit() {
return unit;
}
/**
* Sets the value of the unit property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setUnit(String value) {
this.unit = value;
}
}