|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectepcglobal.ale.ECTime
public class ECTime
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>
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 |
---|
protected long value
protected ECTimeUnit unit
Constructor Detail |
---|
public ECTime()
Method Detail |
---|
public long getValue()
public void setValue(long value)
public boolean isSetValue()
public ECTimeUnit getUnit()
ECTimeUnit
public void setUnit(ECTimeUnit value)
value
- allowed object is
ECTimeUnit
public boolean isSetUnit()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |