org.llrp.ltk.generated.parameters
Class C1G2UHFRFModeTableEntry

java.lang.Object
  extended by org.llrp.ltk.types.LLRPParameter
      extended by org.llrp.ltk.types.TLVParameter
          extended by org.llrp.ltk.generated.parameters.C1G2UHFRFModeTableEntry

public class C1G2UHFRFModeTableEntry
extends TLVParameter

This parameter carries the information for each UHFC1G2 RF mode. A mode that has been tested for conformance by the EPCGlobal Hardware Action Group's Testing and Conformance (HAG T and C) group, is indicated using a conformance flag. See also LLRP Specification Section 15.2.1.1.2.1 and LLRP Specification Section 16.3.1.1.2.1 .


Field Summary
protected  UnsignedInteger bDRValue
           
protected  C1G2DRValue dRValue
           
protected  Bit ePCHAGTCConformance
           
protected  C1G2ForwardLinkModulation forwardLinkModulation
           
protected  UnsignedInteger maxTariValue
           
protected  UnsignedInteger minTariValue
           
protected  UnsignedInteger modeIdentifier
           
protected  C1G2MValue mValue
           
protected  UnsignedInteger pIEValue
           
protected  BitList reserved0
           
protected  C1G2SpectralMaskIndicator spectralMaskIndicator
           
protected  UnsignedInteger stepTariValue
           
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
C1G2UHFRFModeTableEntry()
          empty constructor to create new parameter.
C1G2UHFRFModeTableEntry(org.jdom.Element element)
          Constructor to create parameter from xml encoded parameter calls decodeXML to decode parameter.
C1G2UHFRFModeTableEntry(LLRPBitList list)
          Constructor to create parameter from binary encoded parameter calls decodeBinary to decode parameter.
 
Method Summary
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.
 UnsignedInteger getBDRValue()
          get bDRValue of type UnsignedInteger.
 C1G2DRValue getDRValue()
          get dRValue of type C1G2DRValue.
 Bit getEPCHAGTCConformance()
          get ePCHAGTCConformance of type Bit.
 C1G2ForwardLinkModulation getForwardLinkModulation()
          get forwardLinkModulation of type C1G2ForwardLinkModulation.
 UnsignedInteger getMaxTariValue()
          get maxTariValue of type UnsignedInteger.
 UnsignedInteger getMinTariValue()
          get minTariValue of type UnsignedInteger.
 UnsignedInteger getModeIdentifier()
          get modeIdentifier of type UnsignedInteger.
 C1G2MValue getMValue()
          get mValue of type C1G2MValue.
 java.lang.String getName()
          name of parameter (same as class name)
 UnsignedInteger getPIEValue()
          get pIEValue of type UnsignedInteger.
 C1G2SpectralMaskIndicator getSpectralMaskIndicator()
          get spectralMaskIndicator of type C1G2SpectralMaskIndicator.
 UnsignedInteger getStepTariValue()
          get stepTariValue of type UnsignedInteger.
 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 setBDRValue(UnsignedInteger bDRValue)
          set bDRValue of type UnsignedInteger .
 void setDRValue(C1G2DRValue dRValue)
          set dRValue of type C1G2DRValue .
 void setEPCHAGTCConformance(Bit ePCHAGTCConformance)
          set ePCHAGTCConformance of type Bit .
 void setForwardLinkModulation(C1G2ForwardLinkModulation forwardLinkModulation)
          set forwardLinkModulation of type C1G2ForwardLinkModulation .
 void setMaxTariValue(UnsignedInteger maxTariValue)
          set maxTariValue of type UnsignedInteger .
 void setMinTariValue(UnsignedInteger minTariValue)
          set minTariValue of type UnsignedInteger .
 void setModeIdentifier(UnsignedInteger modeIdentifier)
          set modeIdentifier of type UnsignedInteger .
 void setMValue(C1G2MValue mValue)
          set mValue of type C1G2MValue .
 void setPIEValue(UnsignedInteger pIEValue)
          set pIEValue of type UnsignedInteger .
 void setSpectralMaskIndicator(C1G2SpectralMaskIndicator spectralMaskIndicator)
          set spectralMaskIndicator of type C1G2SpectralMaskIndicator .
 void setStepTariValue(UnsignedInteger stepTariValue)
          set stepTariValue of type UnsignedInteger .
 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
 

Field Detail

TYPENUM

public static final SignedShort TYPENUM

modeIdentifier

protected UnsignedInteger modeIdentifier

dRValue

protected C1G2DRValue dRValue

ePCHAGTCConformance

protected Bit ePCHAGTCConformance

reserved0

protected BitList reserved0

mValue

protected C1G2MValue mValue

forwardLinkModulation

protected C1G2ForwardLinkModulation forwardLinkModulation

spectralMaskIndicator

protected C1G2SpectralMaskIndicator spectralMaskIndicator

bDRValue

protected UnsignedInteger bDRValue

pIEValue

protected UnsignedInteger pIEValue

minTariValue

protected UnsignedInteger minTariValue

maxTariValue

protected UnsignedInteger maxTariValue

stepTariValue

protected UnsignedInteger stepTariValue
Constructor Detail

C1G2UHFRFModeTableEntry

public C1G2UHFRFModeTableEntry()
empty constructor to create new parameter.


C1G2UHFRFModeTableEntry

public C1G2UHFRFModeTableEntry(LLRPBitList list)
Constructor to create parameter from binary encoded parameter calls decodeBinary to decode parameter.

Parameters:
list - to be decoded

C1G2UHFRFModeTableEntry

public C1G2UHFRFModeTableEntry(org.jdom.Element element)
                        throws InvalidLLRPMessageException
Constructor to create parameter from xml encoded parameter calls decodeXML to decode parameter.

Parameters:
element - to be decoded
Throws:
InvalidLLRPMessageException
Method Detail

encodeBinarySpecific

public LLRPBitList encodeBinarySpecific()
protected method to force subclasses to implement their specific encoding

Specified by:
encodeBinarySpecific in class TLVParameter
Returns:
LLRPBitList

encodeXML

public org.jdom.Content encodeXML(java.lang.String name,
                                  org.jdom.Namespace ns)
create xml representation of this parameter.

Specified by:
encodeXML in class LLRPParameter
Parameters:
name - of element
ns - Namespace of elements

decodeBinarySpecific

protected void decodeBinarySpecific(LLRPBitList binary)
decoding function to be implemented by each parameter

Specified by:
decodeBinarySpecific in class TLVParameter
Parameters:
binary - binary representation of the parameter

decodeXML

public void decodeXML(org.jdom.Element element)
               throws InvalidLLRPMessageException
create objects from xml.

Specified by:
decodeXML in class LLRPParameter
Parameters:
element - to be decoded
Throws:
InvalidLLRPMessageException

setModeIdentifier

public void setModeIdentifier(UnsignedInteger modeIdentifier)
set modeIdentifier of type UnsignedInteger .

Parameters:
modeIdentifier - to be set

setDRValue

public void setDRValue(C1G2DRValue dRValue)
set dRValue of type C1G2DRValue .

Parameters:
dRValue - to be set

setEPCHAGTCConformance

public void setEPCHAGTCConformance(Bit ePCHAGTCConformance)
set ePCHAGTCConformance of type Bit .

Parameters:
ePCHAGTCConformance - to be set

setMValue

public void setMValue(C1G2MValue mValue)
set mValue of type C1G2MValue .

Parameters:
mValue - to be set

setForwardLinkModulation

public void setForwardLinkModulation(C1G2ForwardLinkModulation forwardLinkModulation)
set forwardLinkModulation of type C1G2ForwardLinkModulation .

Parameters:
forwardLinkModulation - to be set

setSpectralMaskIndicator

public void setSpectralMaskIndicator(C1G2SpectralMaskIndicator spectralMaskIndicator)
set spectralMaskIndicator of type C1G2SpectralMaskIndicator .

Parameters:
spectralMaskIndicator - to be set

setBDRValue

public void setBDRValue(UnsignedInteger bDRValue)
set bDRValue of type UnsignedInteger .

Parameters:
bDRValue - to be set

setPIEValue

public void setPIEValue(UnsignedInteger pIEValue)
set pIEValue of type UnsignedInteger .

Parameters:
pIEValue - to be set

setMinTariValue

public void setMinTariValue(UnsignedInteger minTariValue)
set minTariValue of type UnsignedInteger .

Parameters:
minTariValue - to be set

setMaxTariValue

public void setMaxTariValue(UnsignedInteger maxTariValue)
set maxTariValue of type UnsignedInteger .

Parameters:
maxTariValue - to be set

setStepTariValue

public void setStepTariValue(UnsignedInteger stepTariValue)
set stepTariValue of type UnsignedInteger .

Parameters:
stepTariValue - to be set

getModeIdentifier

public UnsignedInteger getModeIdentifier()
get modeIdentifier of type UnsignedInteger.

Returns:
type UnsignedInteger to be set

getDRValue

public C1G2DRValue getDRValue()
get dRValue of type C1G2DRValue.

Returns:
C1G2DRValue

getEPCHAGTCConformance

public Bit getEPCHAGTCConformance()
get ePCHAGTCConformance of type Bit.

Returns:
type Bit to be set

getMValue

public C1G2MValue getMValue()
get mValue of type C1G2MValue.

Returns:
C1G2MValue

getForwardLinkModulation

public C1G2ForwardLinkModulation getForwardLinkModulation()
get forwardLinkModulation of type C1G2ForwardLinkModulation.

Returns:
C1G2ForwardLinkModulation

getSpectralMaskIndicator

public C1G2SpectralMaskIndicator getSpectralMaskIndicator()
get spectralMaskIndicator of type C1G2SpectralMaskIndicator.

Returns:
C1G2SpectralMaskIndicator

getBDRValue

public UnsignedInteger getBDRValue()
get bDRValue of type UnsignedInteger.

Returns:
type UnsignedInteger to be set

getPIEValue

public UnsignedInteger getPIEValue()
get pIEValue of type UnsignedInteger.

Returns:
type UnsignedInteger to be set

getMinTariValue

public UnsignedInteger getMinTariValue()
get minTariValue of type UnsignedInteger.

Returns:
type UnsignedInteger to be set

getMaxTariValue

public UnsignedInteger getMaxTariValue()
get maxTariValue of type UnsignedInteger.

Returns:
type UnsignedInteger to be set

getStepTariValue

public UnsignedInteger getStepTariValue()
get stepTariValue of type UnsignedInteger.

Returns:
type UnsignedInteger to be set

length

public static java.lang.Integer length()
For TLV Parameter length can not be determined at compile time. This method therefore always returns 0.

Returns:
Integer always zero

getTypeNum

public SignedShort getTypeNum()
type number uniquely identifies a parameter.

Specified by:
getTypeNum in class LLRPParameter
Returns:
typeNum

getName

public java.lang.String getName()
name of parameter (same as class name)

Specified by:
getName in class LLRPParameter
Returns:
String

toString

public java.lang.String toString()
return string representation. All field values but no parameters are included

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright © 2007 ETH Zurich.