|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.llrp.ltk.types.LLRPType org.llrp.ltk.types.LLRPNumberType org.llrp.ltk.types.UnsignedByte org.llrp.ltk.generated.enumerations.GetReaderConfigRequestedData
public class GetReaderConfigRequestedData
GetReaderConfigRequestedData is Enumeration of Type UnsignedByte
Field Summary | |
---|---|
static int |
AccessReportSpec
|
static int |
All
|
static int |
AntennaConfiguration
|
static int |
AntennaProperties
|
static int |
EventsAndReports
|
static int |
GPIPortCurrentState
|
static int |
GPOWriteData
|
static int |
Identification
|
static int |
KeepaliveSpec
|
static int |
LLRPConfigurationStateValue
|
static int |
ReaderEventNotificationSpec
|
static int |
ROReportSpec
|
Fields inherited from class org.llrp.ltk.types.UnsignedByte |
---|
value |
Fields inherited from class org.llrp.ltk.types.LLRPNumberType |
---|
signed |
Constructor Summary | |
---|---|
GetReaderConfigRequestedData()
|
|
GetReaderConfigRequestedData(org.jdom.Element element)
Create new GetReaderConfigRequestedData by passing jdom element. |
|
GetReaderConfigRequestedData(int value)
Create new GetReaderConfigRequestedData by passing integer value. |
|
GetReaderConfigRequestedData(LLRPBitList list)
Create new GetReaderConfigRequestedData by passing LLRPBitList. |
|
GetReaderConfigRequestedData(java.lang.String name)
Create new GetReaderConfigRequestedData by passing a string. |
Method Summary | |
---|---|
org.jdom.Content |
encodeXML(java.lang.String name,
org.jdom.Namespace ns)
create xml representation of this parameter. |
java.lang.String |
getName(int value)
get name of a value if no name can be found for given value return empty string. |
int |
getValue(java.lang.String name)
get value of a name representing a value if no value can be found, return -1. |
boolean |
isValidName(java.lang.String name)
check if the name stands for an allowed value of this enumeration. |
boolean |
isValidValue(int value)
check if a value is allowed for an enumeration. |
static int |
length()
number of bits used to represent this type. |
void |
set(int value)
set the current value of this enumeration to the value given. |
void |
set(java.lang.String name)
set the current value of this enumeration to the value identified by given string. |
java.lang.String |
toString()
String representation |
Methods inherited from class org.llrp.ltk.types.UnsignedByte |
---|
decodeBinary, decodeXML, encodeBinary, inRange, inRange, toByte, toInteger, toString |
Methods inherited from class org.llrp.ltk.types.LLRPNumberType |
---|
equals, hashCode, intValue |
Methods inherited from class org.llrp.ltk.types.LLRPType |
---|
toXMLString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.llrp.ltk.types.LLRPEnumeration |
---|
intValue |
Field Detail |
---|
public static final int All
public static final int Identification
public static final int AntennaProperties
public static final int AntennaConfiguration
public static final int ROReportSpec
public static final int ReaderEventNotificationSpec
public static final int AccessReportSpec
public static final int LLRPConfigurationStateValue
public static final int KeepaliveSpec
public static final int GPIPortCurrentState
public static final int GPOWriteData
public static final int EventsAndReports
Constructor Detail |
---|
public GetReaderConfigRequestedData()
public GetReaderConfigRequestedData(int value)
value
- an Integer value allowed - might check first
with isValidValue it it is an allowed value
java.lang.IllegalArgumentException
- if the value is not allowed for this enumerationpublic GetReaderConfigRequestedData(org.jdom.Element element)
element
- - jdom element where the child is a string
that is the name for a value of the enumeration.
java.lang.IllegalArgumentException
- if the value found in element is not allowed
for this enumeration.public GetReaderConfigRequestedData(java.lang.String name)
java.lang.IllegalArgumentException
- if the string does not stand for a valid value.public GetReaderConfigRequestedData(LLRPBitList list)
list
- - LLRPBitList
java.lang.IllegalArgumentException
- if the value found in the BitList is not allowed
for this enumeration.Method Detail |
---|
public final void set(java.lang.String name)
set
in interface LLRPEnumeration
name
- set this enumeration to hold one of the allowed values
java.lang.IllegalArgumentException
- if the value found for given String is not allowed
for this enumeration.public final void set(int value)
set
in interface LLRPEnumeration
value
- to be set
java.lang.IllegalArgumentException
- if the value is not allowed
for this enumeration.public org.jdom.Content encodeXML(java.lang.String name, org.jdom.Namespace ns)
encodeXML
in class UnsignedByte
name
- returned content should havens
- Namespace of elementspublic java.lang.String toString()
toString
in interface LLRPEnumeration
toString
in class UnsignedByte
public boolean isValidValue(int value)
isValidValue
in interface LLRPEnumeration
value
- to set
public final int getValue(java.lang.String name)
getValue
in interface LLRPEnumeration
name
- for value
public final java.lang.String getName(int value)
getName
in interface LLRPEnumeration
value
- of name
public boolean isValidName(java.lang.String name)
isValidName
in interface LLRPEnumeration
name
- to check
public static int length()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |