epcglobal.ale
Class ECTime

java.lang.Object
  extended by epcglobal.ale.ECTime
All Implemented Interfaces:
java.io.Serializable

public class ECTime
extends java.lang.Object
implements java.io.Serializable

An ECTime specifies a time duration in physical units.

Java class for ECTime complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ECTime">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>long">
       <attribute name="unit" type="{urn:epcglobal:ale:xsd:1}ECTimeUnit" />
     </extension>
   </simpleContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  ECTimeUnit unit
           
protected  long value
           
 
Constructor Summary
ECTime()
           
 
Method Summary
 ECTimeUnit getUnit()
          Gets the value of the unit property.
 long getValue()
          Gets the value of the value property.
 boolean isSetUnit()
           
 boolean isSetValue()
           
 void setUnit(ECTimeUnit value)
          Sets the value of the unit property.
 void setValue(long value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected long value

unit

protected ECTimeUnit unit
Constructor Detail

ECTime

public ECTime()
Method Detail

getValue

public long getValue()
Gets the value of the value property.


setValue

public void setValue(long value)
Sets the value of the value property.


isSetValue

public boolean isSetValue()

getUnit

public ECTimeUnit getUnit()
Gets the value of the unit property.

Returns:
possible object is ECTimeUnit

setUnit

public void setUnit(ECTimeUnit value)
Sets the value of the unit property.

Parameters:
value - allowed object is ECTimeUnit

isSetUnit

public boolean isSetUnit()