|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.llrp.ltk.types.LLRPParameter org.llrp.ltk.types.TLVParameter org.llrp.ltk.generated.parameters.C1G2InventoryCommand
public class C1G2InventoryCommand
This parameter defines the C1G2 inventory-specific settings to be used during a particular C1G2 inventory operation. This comprises of C1G2Filter Parameter, C1G2RF Parameter and C1G2Singulation Parameter. It is not necessary that the Filter, RF Control and Singulation Control Parameters be specified in each and every inventory command. They are optional parameters. If not specified, the default values in the Reader are used during the inventory operation. If multiple C1G2Filter parameters are encapsulated by the Client in the C1G2InventoryCommand parameter, the ordering of the filter parameters determine the order of C1G2 air-protocol commands (e.g., Select command) generated by the Reader.The TagInventoryStateAware flag is used to determine how to process all the C1G2Filter and C1G2Singulation parameters in this command. At a functional level, if the Client is managing the tag states during an inventory operation, it would set that flag to true and pass the appropriate fields in the C1G2 Filter and C1G2 Singulation parameters. If a reader set CanDoTagInventoryStateAwareSingulation to False in LLRPCapabilities (section 9.2.2), it SHALL ignore the TagInventoryStateAware flag. See also LLRP Specification Section 15.2.1.2.1 and LLRP Specification Section 16.3.1.2.1 .
Field Summary | |
---|---|
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
|
Fields inherited from class org.llrp.ltk.types.TLVParameter |
---|
RESERVEDLENGTH, TYPENUMBERLENGTH |
Fields inherited from class org.llrp.ltk.types.LLRPParameter |
---|
bitLength |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.llrp.ltk.types.TLVParameter |
---|
decodeBinary, encodeBinary |
Methods inherited from class org.llrp.ltk.types.LLRPParameter |
---|
getByteLength |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.llrp.ltk.generated.interfaces.AirProtocolInventoryCommandSettings |
---|
decodeBinary, encodeBinary |
Field Detail |
---|
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
Constructor Detail |
---|
public C1G2InventoryCommand()
public C1G2InventoryCommand(LLRPBitList list)
list
- to be decodedpublic C1G2InventoryCommand(org.jdom.Element element) throws InvalidLLRPMessageException
element
- to be decoded
InvalidLLRPMessageException
Method Detail |
---|
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 elements
protected 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 decoded
InvalidLLRPMessageException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |