public class TagReportContentSelector extends TLVParameter
Modifier and Type | Field and Description |
---|---|
protected java.util.List<AirProtocolEPCMemorySelector> |
airProtocolEPCMemorySelectorList |
protected Bit |
enableAccessSpecID |
protected Bit |
enableAntennaID |
protected Bit |
enableChannelIndex |
protected Bit |
enableFirstSeenTimestamp |
protected Bit |
enableInventoryParameterSpecID |
protected Bit |
enableLastSeenTimestamp |
protected Bit |
enablePeakRSSI |
protected Bit |
enableROSpecID |
protected Bit |
enableSpecIndex |
protected Bit |
enableTagSeenCount |
protected BitList |
reserved0 |
static SignedShort |
TYPENUM |
RESERVEDLENGTH, TYPENUMBERLENGTH
bitLength
Constructor and Description |
---|
TagReportContentSelector()
empty constructor to create new parameter.
|
TagReportContentSelector(org.jdom.Element element)
Constructor to create parameter from xml encoded parameter
calls decodeXML to decode parameter.
|
TagReportContentSelector(LLRPBitList list)
Constructor to create parameter from binary encoded parameter
calls decodeBinary to decode parameter.
|
TagReportContentSelector(LLRPBitList list,
int bitIndex,
int length)
Constructor to create parameter from binary encoded parameter
calls decodeBinary to decode parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
addToAirProtocolEPCMemorySelectorList(AirProtocolEPCMemorySelector airProtocolEPCMemorySelector)
add element airProtocolEPCMemorySelector of type AirProtocolEPCMemorySelector .
|
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<AirProtocolEPCMemorySelector> |
getAirProtocolEPCMemorySelectorList()
get airProtocolEPCMemorySelectorList of type List <AirProtocolEPCMemorySelector> .
|
Bit |
getEnableAccessSpecID()
get enableAccessSpecID of type Bit.
|
Bit |
getEnableAntennaID()
get enableAntennaID of type Bit.
|
Bit |
getEnableChannelIndex()
get enableChannelIndex of type Bit.
|
Bit |
getEnableFirstSeenTimestamp()
get enableFirstSeenTimestamp of type Bit.
|
Bit |
getEnableInventoryParameterSpecID()
get enableInventoryParameterSpecID of type Bit.
|
Bit |
getEnableLastSeenTimestamp()
get enableLastSeenTimestamp of type Bit.
|
Bit |
getEnablePeakRSSI()
get enablePeakRSSI of type Bit.
|
Bit |
getEnableROSpecID()
get enableROSpecID of type Bit.
|
Bit |
getEnableSpecIndex()
get enableSpecIndex of type Bit.
|
Bit |
getEnableTagSeenCount()
get enableTagSeenCount of type Bit.
|
java.lang.String |
getName()
name of parameter (same as class name)
|
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 |
setAirProtocolEPCMemorySelectorList(java.util.List<AirProtocolEPCMemorySelector> airProtocolEPCMemorySelectorList)
set airProtocolEPCMemorySelectorList of type List <AirProtocolEPCMemorySelector>.
|
void |
setEnableAccessSpecID(Bit enableAccessSpecID)
set enableAccessSpecID of type Bit .
|
void |
setEnableAntennaID(Bit enableAntennaID)
set enableAntennaID of type Bit .
|
void |
setEnableChannelIndex(Bit enableChannelIndex)
set enableChannelIndex of type Bit .
|
void |
setEnableFirstSeenTimestamp(Bit enableFirstSeenTimestamp)
set enableFirstSeenTimestamp of type Bit .
|
void |
setEnableInventoryParameterSpecID(Bit enableInventoryParameterSpecID)
set enableInventoryParameterSpecID of type Bit .
|
void |
setEnableLastSeenTimestamp(Bit enableLastSeenTimestamp)
set enableLastSeenTimestamp of type Bit .
|
void |
setEnablePeakRSSI(Bit enablePeakRSSI)
set enablePeakRSSI of type Bit .
|
void |
setEnableROSpecID(Bit enableROSpecID)
set enableROSpecID of type Bit .
|
void |
setEnableSpecIndex(Bit enableSpecIndex)
set enableSpecIndex of type Bit .
|
void |
setEnableTagSeenCount(Bit enableTagSeenCount)
set enableTagSeenCount of type Bit .
|
java.lang.String |
toString()
return string representation.
|
decodeBinary, encodeBinary
getByteLength
public static final SignedShort TYPENUM
protected Bit enableROSpecID
protected Bit enableSpecIndex
protected Bit enableInventoryParameterSpecID
protected Bit enableAntennaID
protected Bit enableChannelIndex
protected Bit enablePeakRSSI
protected Bit enableFirstSeenTimestamp
protected Bit enableLastSeenTimestamp
protected Bit enableTagSeenCount
protected Bit enableAccessSpecID
protected BitList reserved0
protected java.util.List<AirProtocolEPCMemorySelector> airProtocolEPCMemorySelectorList
public TagReportContentSelector()
public TagReportContentSelector(LLRPBitList list)
list
- to be decodedpublic TagReportContentSelector(LLRPBitList list, int bitIndex, int length)
list
- to be decodedbitIndex
- the bit at which to start decodinglength
- the number of bits to decodepublic TagReportContentSelector(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 setEnableROSpecID(Bit enableROSpecID)
enableROSpecID
- to be setpublic void setEnableSpecIndex(Bit enableSpecIndex)
enableSpecIndex
- to be setpublic void setEnableInventoryParameterSpecID(Bit enableInventoryParameterSpecID)
enableInventoryParameterSpecID
- to be setpublic void setEnableAntennaID(Bit enableAntennaID)
enableAntennaID
- to be setpublic void setEnableChannelIndex(Bit enableChannelIndex)
enableChannelIndex
- to be setpublic void setEnablePeakRSSI(Bit enablePeakRSSI)
enablePeakRSSI
- to be setpublic void setEnableFirstSeenTimestamp(Bit enableFirstSeenTimestamp)
enableFirstSeenTimestamp
- to be setpublic void setEnableLastSeenTimestamp(Bit enableLastSeenTimestamp)
enableLastSeenTimestamp
- to be setpublic void setEnableTagSeenCount(Bit enableTagSeenCount)
enableTagSeenCount
- to be setpublic void setEnableAccessSpecID(Bit enableAccessSpecID)
enableAccessSpecID
- to be setpublic void setAirProtocolEPCMemorySelectorList(java.util.List<AirProtocolEPCMemorySelector> airProtocolEPCMemorySelectorList)
airProtocolEPCMemorySelectorList
- to be setpublic Bit getEnableROSpecID()
public Bit getEnableSpecIndex()
public Bit getEnableInventoryParameterSpecID()
public Bit getEnableAntennaID()
public Bit getEnableChannelIndex()
public Bit getEnablePeakRSSI()
public Bit getEnableFirstSeenTimestamp()
public Bit getEnableLastSeenTimestamp()
public Bit getEnableTagSeenCount()
public Bit getEnableAccessSpecID()
public java.util.List<AirProtocolEPCMemorySelector> getAirProtocolEPCMemorySelectorList()
public void addToAirProtocolEPCMemorySelectorList(AirProtocolEPCMemorySelector airProtocolEPCMemorySelector)
airProtocolEPCMemorySelector
- of type AirProtocolEPCMemorySelectorpublic 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.