public class RO_ACCESS_REPORT extends LLRPMessage
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Custom> |
customList |
static java.lang.String |
RESPONSETYPE |
protected java.util.List<RFSurveyReportData> |
rFSurveyReportDataList |
protected java.util.List<TagReportData> |
tagReportDataList |
static SignedShort |
TYPENUM |
messageID, messageLength, messageReservedLength, MINHEADERLENGTH, reserved, RESERVEDLENGTH, TYPENUMBERLENGTH, version, VERSIONLENGTH
Constructor and Description |
---|
RO_ACCESS_REPORT()
empty constructor to create new message
with LLRP version set to 1.0 (0x1).
|
RO_ACCESS_REPORT(byte[] byteArray)
Constructor to create message from binary encoded message
calls decodeBinary to decode message.
|
RO_ACCESS_REPORT(org.jdom.Document document)
Constructor to create message from xml encoded message
calls decodeXML to decode message.
|
RO_ACCESS_REPORT(LLRPBitList list)
Constructor to create message from binary encoded message
calls decodeBinary to decode message.
|
Modifier and Type | Method and Description |
---|---|
void |
addToCustomList(Custom custom)
add element custom of type Custom .
|
void |
addToRFSurveyReportDataList(RFSurveyReportData rFSurveyReportData)
add element rFSurveyReportData of type RFSurveyReportData .
|
void |
addToTagReportDataList(TagReportData tagReportData)
add element tagReportData of type TagReportData .
|
protected void |
decodeBinarySpecific(LLRPBitList binary)
to be implemented by specific message.
|
void |
decodeXML(org.jdom.Document document)
create objects from xml.
|
protected LLRPBitList |
encodeBinarySpecific()
encoding function - has to be implemented by each message.
|
org.jdom.Document |
encodeXML()
create xml representation of this parameter.
|
java.util.List<Custom> |
getCustomList()
get customList of type List <Custom> .
|
java.lang.String |
getName()
name of message (same as class name)
|
java.lang.String |
getResponseType()
response message type awaited
|
java.util.List<RFSurveyReportData> |
getRFSurveyReportDataList()
get rFSurveyReportDataList of type List <RFSurveyReportData> .
|
java.util.List<TagReportData> |
getTagReportDataList()
get tagReportDataList of type List <TagReportData> .
|
SignedShort |
getTypeNum()
return uniuque type number.
|
void |
setCustomList(java.util.List<Custom> customList)
set customList of type List <Custom>.
|
void |
setRFSurveyReportDataList(java.util.List<RFSurveyReportData> rFSurveyReportDataList)
set rFSurveyReportDataList of type List <RFSurveyReportData>.
|
void |
setTagReportDataList(java.util.List<TagReportData> tagReportDataList)
set tagReportDataList of type List <TagReportData>.
|
decodeBinary, encodeBinary, getMessageID, getMessageLength, getVersion, isValidXMLMessage, setMessageID, setVersion, toBinaryString, toHexString, toXMLString
public static final SignedShort TYPENUM
public static final java.lang.String RESPONSETYPE
protected java.util.List<TagReportData> tagReportDataList
protected java.util.List<RFSurveyReportData> rFSurveyReportDataList
protected java.util.List<Custom> customList
public RO_ACCESS_REPORT()
public RO_ACCESS_REPORT(LLRPBitList list) throws InvalidLLRPMessageException
list
- to be decodedInvalidLLRPMessageException
public RO_ACCESS_REPORT(byte[] byteArray) throws InvalidLLRPMessageException
byteArray
- representing messageInvalidLLRPMessageException
public RO_ACCESS_REPORT(org.jdom.Document document) throws InvalidLLRPMessageException
document
- to be decodedInvalidLLRPMessageException
protected LLRPBitList encodeBinarySpecific() throws InvalidLLRPMessageException
encodeBinarySpecific
in class LLRPMessage
InvalidLLRPMessageException
public org.jdom.Document encodeXML() throws InvalidLLRPMessageException
encodeXML
in class LLRPMessage
InvalidLLRPMessageException
protected void decodeBinarySpecific(LLRPBitList binary) throws InvalidLLRPMessageException
decodeBinarySpecific
in class LLRPMessage
binary
- without headerInvalidLLRPMessageException
public void decodeXML(org.jdom.Document document) throws InvalidLLRPMessageException
decodeXML
in class LLRPMessage
document
- document as jdom documentInvalidLLRPMessageException
public void setTagReportDataList(java.util.List<TagReportData> tagReportDataList)
tagReportDataList
- to be setpublic void setRFSurveyReportDataList(java.util.List<RFSurveyReportData> rFSurveyReportDataList)
rFSurveyReportDataList
- to be setpublic void setCustomList(java.util.List<Custom> customList)
customList
- to be setpublic java.util.List<TagReportData> getTagReportDataList()
public java.util.List<RFSurveyReportData> getRFSurveyReportDataList()
public java.util.List<Custom> getCustomList()
public void addToTagReportDataList(TagReportData tagReportData)
tagReportData
- of type TagReportDatapublic void addToRFSurveyReportDataList(RFSurveyReportData rFSurveyReportData)
rFSurveyReportData
- of type RFSurveyReportDatapublic void addToCustomList(Custom custom)
custom
- of type Custompublic java.lang.String getResponseType()
LLRPMessage
getResponseType
in class LLRPMessage
public java.lang.String getName()
LLRPMessage
getName
in class LLRPMessage
public SignedShort getTypeNum()
getTypeNum
in class LLRPMessage
Copyright © 2007 ETH Zurich.