public class ImpinjDetailedVersion extends Custom
Modifier and Type | Field and Description |
---|---|
protected UTF8String |
firmwareVersion |
protected UTF8String |
fPGAVersion |
protected UTF8String |
modelName |
static UnsignedInteger |
PARAMETER_SUBTYPE |
protected UTF8String |
pCBAVersion |
protected UTF8String |
serialNumber |
protected UTF8String |
softwareVersion |
static UnsignedInteger |
VENDOR_ID |
data, parameterSubtype, TYPENUM, vendorIdentifier
RESERVEDLENGTH, TYPENUMBERLENGTH
bitLength
Constructor and Description |
---|
ImpinjDetailedVersion()
empty constructor to create new parameter.
|
ImpinjDetailedVersion(Custom custom)
Constructor to create this parameter from custom parameter
|
ImpinjDetailedVersion(org.jdom.Element element)
Constructor to create parameter from xml encoded parameter
calls decodeXML to decode parameter.
|
ImpinjDetailedVersion(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> .
|
UTF8String |
getFirmwareVersion()
get firmwareVersion of type UTF8String.
|
UTF8String |
getFPGAVersion()
get fPGAVersion of type UTF8String.
|
ImpinjArrayVersion |
getImpinjArrayVersion()
get impinjArrayVersion of type ImpinjArrayVersion .
|
ImpinjHubVersions |
getImpinjHubVersions()
get impinjHubVersions of type ImpinjHubVersions .
|
UTF8String |
getModelName()
get modelName of type UTF8String.
|
java.lang.String |
getName()
name of parameter (same as class name)
|
UTF8String |
getPCBAVersion()
get pCBAVersion of type UTF8String.
|
UTF8String |
getSerialNumber()
get serialNumber of type UTF8String.
|
UTF8String |
getSoftwareVersion()
get softwareVersion of type UTF8String.
|
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 |
setFirmwareVersion(UTF8String firmwareVersion)
set firmwareVersion of type UTF8String .
|
void |
setFPGAVersion(UTF8String fPGAVersion)
set fPGAVersion of type UTF8String .
|
void |
setImpinjArrayVersion(ImpinjArrayVersion impinjArrayVersion)
set impinjArrayVersion of type ImpinjArrayVersion.
|
void |
setImpinjHubVersions(ImpinjHubVersions impinjHubVersions)
set impinjHubVersions of type ImpinjHubVersions.
|
void |
setModelName(UTF8String modelName)
set modelName of type UTF8String .
|
void |
setPCBAVersion(UTF8String pCBAVersion)
set pCBAVersion of type UTF8String .
|
void |
setSerialNumber(UTF8String serialNumber)
set serialNumber of type UTF8String .
|
void |
setSoftwareVersion(UTF8String softwareVersion)
set softwareVersion of type UTF8String .
|
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 UTF8String modelName
protected UTF8String serialNumber
protected UTF8String softwareVersion
protected UTF8String firmwareVersion
protected UTF8String fPGAVersion
protected UTF8String pCBAVersion
public ImpinjDetailedVersion()
public ImpinjDetailedVersion(LLRPBitList list)
list
- to be decodedpublic ImpinjDetailedVersion(org.jdom.Element element) throws InvalidLLRPMessageException
element
- is the xml element to be decodedInvalidLLRPMessageException
public ImpinjDetailedVersion(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 setModelName(UTF8String modelName)
modelName
- to be setpublic void setSerialNumber(UTF8String serialNumber)
serialNumber
- to be setpublic void setSoftwareVersion(UTF8String softwareVersion)
softwareVersion
- to be setpublic void setFirmwareVersion(UTF8String firmwareVersion)
firmwareVersion
- to be setpublic void setFPGAVersion(UTF8String fPGAVersion)
fPGAVersion
- to be setpublic void setPCBAVersion(UTF8String pCBAVersion)
pCBAVersion
- to be setpublic void setImpinjHubVersions(ImpinjHubVersions impinjHubVersions)
impinjHubVersions
- to be setpublic void setImpinjArrayVersion(ImpinjArrayVersion impinjArrayVersion)
impinjArrayVersion
- to be setpublic void setCustomList(java.util.List<Custom> customList)
customList
- to be setpublic UTF8String getModelName()
public UTF8String getSerialNumber()
public UTF8String getSoftwareVersion()
public UTF8String getFirmwareVersion()
public UTF8String getFPGAVersion()
public UTF8String getPCBAVersion()
public ImpinjHubVersions getImpinjHubVersions()
public ImpinjArrayVersion getImpinjArrayVersion()
public java.util.List<Custom> getCustomList()
public void addToCustomList(Custom custom)
custom
- of type Custompublic static java.lang.Integer length()
Copyright © 2007 ETH Zurich.