org.fosstrak.ale.xsd.ale.epcglobal
Class ECTime

java.lang.Object
  extended by org.fosstrak.ale.xsd.ale.epcglobal.ECTime

public class ECTime
extends java.lang.Object

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" use="required" type="{urn:epcglobal:ale:xsd:1}ECTimeUnit" />
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  java.lang.String unit
           
protected  long value
           
 
Constructor Summary
ECTime()
           
 
Method Summary
 java.lang.String getUnit()
          Gets the value of the unit property.
 long getValue()
          Gets the value of the value property.
 void setUnit(java.lang.String 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 java.lang.String 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.


getUnit

public java.lang.String getUnit()
Gets the value of the unit property.

Returns:
possible object is String

setUnit

public void setUnit(java.lang.String value)
Sets the value of the unit property.

Parameters:
value - allowed object is String


Copyright © 2009. All Rights Reserved.