public class ImpinjLocationReportData extends Custom
Modifier and Type | Field and Description |
---|---|
protected UnsignedLong |
lastSeenTimestampUTC |
protected SignedInteger |
locXCentimeters |
protected SignedInteger |
locYCentimeters |
static UnsignedInteger |
PARAMETER_SUBTYPE |
protected ImpinjLocationReportType |
type |
static UnsignedInteger |
VENDOR_ID |
data, parameterSubtype, TYPENUM, vendorIdentifier
RESERVEDLENGTH, TYPENUMBERLENGTH
bitLength
Constructor and Description |
---|
ImpinjLocationReportData()
empty constructor to create new parameter.
|
ImpinjLocationReportData(Custom custom)
Constructor to create this parameter from custom parameter
|
ImpinjLocationReportData(org.jdom.Element element)
Constructor to create parameter from xml encoded parameter
calls decodeXML to decode parameter.
|
ImpinjLocationReportData(LLRPBitList list)
Constructor to create parameter from binary encoded parameter
calls decodeBinary to decode parameter.
|
Modifier and Type | Method and Description |
---|---|
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<Custom> |
getCustomList()
get customList of type List <Custom> .
|
ImpinjLocationConfidence |
getImpinjLocationConfidence()
get impinjLocationConfidence of type ImpinjLocationConfidence .
|
UnsignedLong |
getLastSeenTimestampUTC()
get lastSeenTimestampUTC of type UnsignedLong.
|
SignedInteger |
getLocXCentimeters()
get locXCentimeters of type SignedInteger.
|
SignedInteger |
getLocYCentimeters()
get locYCentimeters of type SignedInteger.
|
java.lang.String |
getName()
name of parameter (same as class name)
|
ImpinjLocationReportType |
getType()
get type of type ImpinjLocationReportType.
|
static java.lang.Integer |
length()
For TLV Parameter length can not be determined at compile time.
|
void |
setCustomList(java.util.List<Custom> customList)
set customList of type List <Custom>.
|
void |
setImpinjLocationConfidence(ImpinjLocationConfidence impinjLocationConfidence)
set impinjLocationConfidence of type ImpinjLocationConfidence.
|
void |
setLastSeenTimestampUTC(UnsignedLong lastSeenTimestampUTC)
set lastSeenTimestampUTC of type UnsignedLong .
|
void |
setLocXCentimeters(SignedInteger locXCentimeters)
set locXCentimeters of type SignedInteger .
|
void |
setLocYCentimeters(SignedInteger locYCentimeters)
set locYCentimeters of type SignedInteger .
|
void |
setType(ImpinjLocationReportType type)
set type of type ImpinjLocationReportType .
|
getData, getParameterSubtype, getTypeNum, getVendorIdentifier, setData, setParameterSubtype, setVendorIdentifier, toString
decodeBinary, encodeBinary
getByteLength
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
decodeBinary, encodeBinary
decodeBinary, encodeBinary
decodeBinary, encodeBinary
public static final UnsignedInteger PARAMETER_SUBTYPE
public static final UnsignedInteger VENDOR_ID
protected UnsignedLong lastSeenTimestampUTC
protected SignedInteger locXCentimeters
protected SignedInteger locYCentimeters
protected ImpinjLocationReportType type
public ImpinjLocationReportData()
public ImpinjLocationReportData(LLRPBitList list)
list
- to be decodedpublic ImpinjLocationReportData(org.jdom.Element element) throws InvalidLLRPMessageException
element
- is the xml element to be decodedInvalidLLRPMessageException
public ImpinjLocationReportData(Custom custom)
custom
- public LLRPBitList encodeBinarySpecific()
Custom
encodeBinarySpecific
in class Custom
public org.jdom.Content encodeXML(java.lang.String name, org.jdom.Namespace ns)
encodeXML
in interface AccessCommandOpSpec
encodeXML
in interface AccessCommandOpSpecResult
encodeXML
in interface SpecParameter
encodeXML
in class Custom
name
- of elementns
- Namespace of elementsprotected void decodeBinarySpecific(LLRPBitList binary)
Custom
decodeBinarySpecific
in class Custom
binary
- binary representation of the parameterpublic void decodeXML(org.jdom.Element element) throws InvalidLLRPMessageException
decodeXML
in interface AccessCommandOpSpec
decodeXML
in interface AccessCommandOpSpecResult
decodeXML
in interface SpecParameter
decodeXML
in class Custom
element
- to be decodedInvalidLLRPMessageException
public void setLastSeenTimestampUTC(UnsignedLong lastSeenTimestampUTC)
lastSeenTimestampUTC
- to be setpublic void setLocXCentimeters(SignedInteger locXCentimeters)
locXCentimeters
- to be setpublic void setLocYCentimeters(SignedInteger locYCentimeters)
locYCentimeters
- to be setpublic void setType(ImpinjLocationReportType type)
type
- to be setpublic void setImpinjLocationConfidence(ImpinjLocationConfidence impinjLocationConfidence)
impinjLocationConfidence
- to be setpublic void setCustomList(java.util.List<Custom> customList)
customList
- to be setpublic UnsignedLong getLastSeenTimestampUTC()
public SignedInteger getLocXCentimeters()
public SignedInteger getLocYCentimeters()
public ImpinjLocationReportType getType()
public ImpinjLocationConfidence getImpinjLocationConfidence()
public java.util.List<Custom> getCustomList()
public void addToCustomList(Custom custom)
custom
- of type Custompublic static java.lang.Integer length()
Copyright © 2007 ETH Zurich.