public class TagReportData extends TLVParameter
Modifier and Type | Field and Description |
---|---|
protected java.util.List<AccessCommandOpSpecResult> |
accessCommandOpSpecResultList |
protected AccessSpecID |
accessSpecID |
protected java.util.List<AirProtocolTagData> |
airProtocolTagDataList |
protected AntennaID |
antennaID |
protected ChannelIndex |
channelIndex |
protected java.util.List<Custom> |
customList |
protected EPCParameter |
ePCParameter |
protected FirstSeenTimestampUptime |
firstSeenTimestampUptime |
protected FirstSeenTimestampUTC |
firstSeenTimestampUTC |
protected InventoryParameterSpecID |
inventoryParameterSpecID |
protected LastSeenTimestampUptime |
lastSeenTimestampUptime |
protected LastSeenTimestampUTC |
lastSeenTimestampUTC |
protected PeakRSSI |
peakRSSI |
protected ROSpecID |
rOSpecID |
protected SpecIndex |
specIndex |
protected TagSeenCount |
tagSeenCount |
static SignedShort |
TYPENUM |
RESERVEDLENGTH, TYPENUMBERLENGTH
bitLength
Constructor and Description |
---|
TagReportData()
empty constructor to create new parameter.
|
TagReportData(org.jdom.Element element)
Constructor to create parameter from xml encoded parameter
calls decodeXML to decode parameter.
|
TagReportData(LLRPBitList list)
Constructor to create parameter from binary encoded parameter
calls decodeBinary to decode parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
addToAccessCommandOpSpecResultList(AccessCommandOpSpecResult accessCommandOpSpecResult)
add element accessCommandOpSpecResult of type AccessCommandOpSpecResult .
|
void |
addToAirProtocolTagDataList(AirProtocolTagData airProtocolTagData)
add element airProtocolTagData of type AirProtocolTagData .
|
void |
addToCustomList(Custom custom)
add element custom of type Custom .
|
protected void |
decodeBinarySpecific(LLRPBitList binary)
decoding function to be implemented by each parameter
|
void |
decodeXML(org.jdom.Element element)
create objects from xml.
|
LLRPBitList |
encodeBinarySpecific()
protected method to force subclasses to implement their specific encoding
|
org.jdom.Content |
encodeXML(java.lang.String name,
org.jdom.Namespace ns)
create xml representation of this parameter.
|
java.util.List<AccessCommandOpSpecResult> |
getAccessCommandOpSpecResultList()
get accessCommandOpSpecResultList of type List <AccessCommandOpSpecResult> .
|
AccessSpecID |
getAccessSpecID()
get accessSpecID of type AccessSpecID .
|
java.util.List<AirProtocolTagData> |
getAirProtocolTagDataList()
get airProtocolTagDataList of type List <AirProtocolTagData> .
|
AntennaID |
getAntennaID()
get antennaID of type AntennaID .
|
ChannelIndex |
getChannelIndex()
get channelIndex of type ChannelIndex .
|
java.util.List<Custom> |
getCustomList()
get customList of type List <Custom> .
|
EPCParameter |
getEPCParameter()
get ePCParameter of type EPCParameter .
|
FirstSeenTimestampUptime |
getFirstSeenTimestampUptime()
get firstSeenTimestampUptime of type FirstSeenTimestampUptime .
|
FirstSeenTimestampUTC |
getFirstSeenTimestampUTC()
get firstSeenTimestampUTC of type FirstSeenTimestampUTC .
|
InventoryParameterSpecID |
getInventoryParameterSpecID()
get inventoryParameterSpecID of type InventoryParameterSpecID .
|
LastSeenTimestampUptime |
getLastSeenTimestampUptime()
get lastSeenTimestampUptime of type LastSeenTimestampUptime .
|
LastSeenTimestampUTC |
getLastSeenTimestampUTC()
get lastSeenTimestampUTC of type LastSeenTimestampUTC .
|
java.lang.String |
getName()
name of parameter (same as class name)
|
PeakRSSI |
getPeakRSSI()
get peakRSSI of type PeakRSSI .
|
ROSpecID |
getROSpecID()
get rOSpecID of type ROSpecID .
|
SpecIndex |
getSpecIndex()
get specIndex of type SpecIndex .
|
TagSeenCount |
getTagSeenCount()
get tagSeenCount of type TagSeenCount .
|
SignedShort |
getTypeNum()
type number uniquely identifies a parameter.
|
static java.lang.Integer |
length()
For TLV Parameter length can not be determined at compile time.
|
void |
setAccessCommandOpSpecResultList(java.util.List<AccessCommandOpSpecResult> accessCommandOpSpecResultList)
set accessCommandOpSpecResultList of type List <AccessCommandOpSpecResult>.
|
void |
setAccessSpecID(AccessSpecID accessSpecID)
set accessSpecID of type AccessSpecID.
|
void |
setAirProtocolTagDataList(java.util.List<AirProtocolTagData> airProtocolTagDataList)
set airProtocolTagDataList of type List <AirProtocolTagData>.
|
void |
setAntennaID(AntennaID antennaID)
set antennaID of type AntennaID.
|
void |
setChannelIndex(ChannelIndex channelIndex)
set channelIndex of type ChannelIndex.
|
void |
setCustomList(java.util.List<Custom> customList)
set customList of type List <Custom>.
|
void |
setEPCParameter(EPCParameter ePCParameter)
set ePCParameter of type EPCParameter.
|
void |
setFirstSeenTimestampUptime(FirstSeenTimestampUptime firstSeenTimestampUptime)
set firstSeenTimestampUptime of type FirstSeenTimestampUptime.
|
void |
setFirstSeenTimestampUTC(FirstSeenTimestampUTC firstSeenTimestampUTC)
set firstSeenTimestampUTC of type FirstSeenTimestampUTC.
|
void |
setInventoryParameterSpecID(InventoryParameterSpecID inventoryParameterSpecID)
set inventoryParameterSpecID of type InventoryParameterSpecID.
|
void |
setLastSeenTimestampUptime(LastSeenTimestampUptime lastSeenTimestampUptime)
set lastSeenTimestampUptime of type LastSeenTimestampUptime.
|
void |
setLastSeenTimestampUTC(LastSeenTimestampUTC lastSeenTimestampUTC)
set lastSeenTimestampUTC of type LastSeenTimestampUTC.
|
void |
setPeakRSSI(PeakRSSI peakRSSI)
set peakRSSI of type PeakRSSI.
|
void |
setROSpecID(ROSpecID rOSpecID)
set rOSpecID of type ROSpecID.
|
void |
setSpecIndex(SpecIndex specIndex)
set specIndex of type SpecIndex.
|
void |
setTagSeenCount(TagSeenCount tagSeenCount)
set tagSeenCount of type TagSeenCount.
|
java.lang.String |
toString()
return string representation.
|
decodeBinary, encodeBinary
getByteLength
public static final SignedShort TYPENUM
protected EPCParameter ePCParameter
protected ROSpecID rOSpecID
protected SpecIndex specIndex
protected InventoryParameterSpecID inventoryParameterSpecID
protected AntennaID antennaID
protected PeakRSSI peakRSSI
protected ChannelIndex channelIndex
protected FirstSeenTimestampUTC firstSeenTimestampUTC
protected FirstSeenTimestampUptime firstSeenTimestampUptime
protected LastSeenTimestampUTC lastSeenTimestampUTC
protected LastSeenTimestampUptime lastSeenTimestampUptime
protected TagSeenCount tagSeenCount
protected java.util.List<AirProtocolTagData> airProtocolTagDataList
protected AccessSpecID accessSpecID
protected java.util.List<AccessCommandOpSpecResult> accessCommandOpSpecResultList
protected java.util.List<Custom> customList
public TagReportData()
public TagReportData(LLRPBitList list)
list
- to be decodedpublic TagReportData(org.jdom.Element element) throws InvalidLLRPMessageException
element
- to be decodedInvalidLLRPMessageException
public LLRPBitList encodeBinarySpecific()
encodeBinarySpecific
in class TLVParameter
public org.jdom.Content encodeXML(java.lang.String name, org.jdom.Namespace ns)
encodeXML
in class LLRPParameter
name
- of elementns
- Namespace of elementsprotected void decodeBinarySpecific(LLRPBitList binary)
decodeBinarySpecific
in class TLVParameter
binary
- binary representation of the parameterpublic void decodeXML(org.jdom.Element element) throws InvalidLLRPMessageException
decodeXML
in class LLRPParameter
element
- to be decodedInvalidLLRPMessageException
public void setEPCParameter(EPCParameter ePCParameter)
ePCParameter
- to be setpublic void setROSpecID(ROSpecID rOSpecID)
rOSpecID
- to be setpublic void setSpecIndex(SpecIndex specIndex)
specIndex
- to be setpublic void setInventoryParameterSpecID(InventoryParameterSpecID inventoryParameterSpecID)
inventoryParameterSpecID
- to be setpublic void setAntennaID(AntennaID antennaID)
antennaID
- to be setpublic void setPeakRSSI(PeakRSSI peakRSSI)
peakRSSI
- to be setpublic void setChannelIndex(ChannelIndex channelIndex)
channelIndex
- to be setpublic void setFirstSeenTimestampUTC(FirstSeenTimestampUTC firstSeenTimestampUTC)
firstSeenTimestampUTC
- to be setpublic void setFirstSeenTimestampUptime(FirstSeenTimestampUptime firstSeenTimestampUptime)
firstSeenTimestampUptime
- to be setpublic void setLastSeenTimestampUTC(LastSeenTimestampUTC lastSeenTimestampUTC)
lastSeenTimestampUTC
- to be setpublic void setLastSeenTimestampUptime(LastSeenTimestampUptime lastSeenTimestampUptime)
lastSeenTimestampUptime
- to be setpublic void setTagSeenCount(TagSeenCount tagSeenCount)
tagSeenCount
- to be setpublic void setAirProtocolTagDataList(java.util.List<AirProtocolTagData> airProtocolTagDataList)
airProtocolTagDataList
- to be setpublic void setAccessSpecID(AccessSpecID accessSpecID)
accessSpecID
- to be setpublic void setAccessCommandOpSpecResultList(java.util.List<AccessCommandOpSpecResult> accessCommandOpSpecResultList)
accessCommandOpSpecResultList
- to be setpublic void setCustomList(java.util.List<Custom> customList)
customList
- to be setpublic EPCParameter getEPCParameter()
public ROSpecID getROSpecID()
public SpecIndex getSpecIndex()
public InventoryParameterSpecID getInventoryParameterSpecID()
public AntennaID getAntennaID()
public PeakRSSI getPeakRSSI()
public ChannelIndex getChannelIndex()
public FirstSeenTimestampUTC getFirstSeenTimestampUTC()
public FirstSeenTimestampUptime getFirstSeenTimestampUptime()
public LastSeenTimestampUTC getLastSeenTimestampUTC()
public LastSeenTimestampUptime getLastSeenTimestampUptime()
public TagSeenCount getTagSeenCount()
public java.util.List<AirProtocolTagData> getAirProtocolTagDataList()
public AccessSpecID getAccessSpecID()
public java.util.List<AccessCommandOpSpecResult> getAccessCommandOpSpecResultList()
public java.util.List<Custom> getCustomList()
public void addToAirProtocolTagDataList(AirProtocolTagData airProtocolTagData)
airProtocolTagData
- of type AirProtocolTagDatapublic void addToAccessCommandOpSpecResultList(AccessCommandOpSpecResult accessCommandOpSpecResult)
accessCommandOpSpecResult
- of type AccessCommandOpSpecResultpublic void addToCustomList(Custom custom)
custom
- of type Custompublic static java.lang.Integer length()
public SignedShort getTypeNum()
getTypeNum
in class LLRPParameter
public java.lang.String getName()
getName
in class LLRPParameter
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007 ETH Zurich.