public class C1G2InventoryCommand extends TLVParameter implements AirProtocolInventoryCommandSettings
Modifier and Type | Field and Description |
---|---|
protected java.util.List<C1G2Filter> |
c1G2FilterList |
protected C1G2RFControl |
c1G2RFControl |
protected C1G2SingulationControl |
c1G2SingulationControl |
protected java.util.List<Custom> |
customList |
protected BitList |
reserved0 |
protected Bit |
tagInventoryStateAware |
static SignedShort |
TYPENUM |
RESERVEDLENGTH, TYPENUMBERLENGTH
bitLength
Constructor and Description |
---|
C1G2InventoryCommand()
empty constructor to create new parameter.
|
C1G2InventoryCommand(org.jdom.Element element)
Constructor to create parameter from xml encoded parameter
calls decodeXML to decode parameter.
|
C1G2InventoryCommand(LLRPBitList list)
Constructor to create parameter from binary encoded parameter
calls decodeBinary to decode parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
addToC1G2FilterList(C1G2Filter c1G2Filter)
add element c1G2Filter of type C1G2Filter .
|
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<C1G2Filter> |
getC1G2FilterList()
get c1G2FilterList of type List <C1G2Filter> .
|
C1G2RFControl |
getC1G2RFControl()
get c1G2RFControl of type C1G2RFControl .
|
C1G2SingulationControl |
getC1G2SingulationControl()
get c1G2SingulationControl of type C1G2SingulationControl .
|
java.util.List<Custom> |
getCustomList()
get customList of type List <Custom> .
|
java.lang.String |
getName()
name of parameter (same as class name)
|
Bit |
getTagInventoryStateAware()
get tagInventoryStateAware of type Bit.
|
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 |
setC1G2FilterList(java.util.List<C1G2Filter> c1G2FilterList)
set c1G2FilterList of type List <C1G2Filter>.
|
void |
setC1G2RFControl(C1G2RFControl c1G2RFControl)
set c1G2RFControl of type C1G2RFControl.
|
void |
setC1G2SingulationControl(C1G2SingulationControl c1G2SingulationControl)
set c1G2SingulationControl of type C1G2SingulationControl.
|
void |
setCustomList(java.util.List<Custom> customList)
set customList of type List <Custom>.
|
void |
setTagInventoryStateAware(Bit tagInventoryStateAware)
set tagInventoryStateAware of type Bit .
|
java.lang.String |
toString()
return string representation.
|
decodeBinary, encodeBinary
getByteLength
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
decodeBinary, encodeBinary
public static final SignedShort TYPENUM
protected Bit tagInventoryStateAware
protected BitList reserved0
protected java.util.List<C1G2Filter> c1G2FilterList
protected C1G2RFControl c1G2RFControl
protected C1G2SingulationControl c1G2SingulationControl
protected java.util.List<Custom> customList
public C1G2InventoryCommand()
public C1G2InventoryCommand(LLRPBitList list)
list
- to be decodedpublic C1G2InventoryCommand(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 interface AirProtocolInventoryCommandSettings
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 interface AirProtocolInventoryCommandSettings
decodeXML
in class LLRPParameter
element
- to be decodedInvalidLLRPMessageException
public void setTagInventoryStateAware(Bit tagInventoryStateAware)
tagInventoryStateAware
- to be setpublic void setC1G2FilterList(java.util.List<C1G2Filter> c1G2FilterList)
c1G2FilterList
- to be setpublic void setC1G2RFControl(C1G2RFControl c1G2RFControl)
c1G2RFControl
- to be setpublic void setC1G2SingulationControl(C1G2SingulationControl c1G2SingulationControl)
c1G2SingulationControl
- to be setpublic void setCustomList(java.util.List<Custom> customList)
customList
- to be setpublic Bit getTagInventoryStateAware()
public java.util.List<C1G2Filter> getC1G2FilterList()
public C1G2RFControl getC1G2RFControl()
public C1G2SingulationControl getC1G2SingulationControl()
public java.util.List<Custom> getCustomList()
public void addToC1G2FilterList(C1G2Filter c1G2Filter)
c1G2Filter
- of type C1G2Filterpublic 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.