|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.connecterra.ale.reader.access.DeviceTagReport
public class DeviceTagReport
The DeviceTagReport represents the results of a set of operations performed against a tag in the reader's field during Edge event processing. Each tag is identified by an identity, also stored in the DeviceTagReport.
The tag identity is in two parts: tag AFI data (the metadata that describes the contents of the identity bits) if any, and the identity data itself (if the tag is an EPC tag with no AFI, this is the EPC value).
| Constructor Summary | |
|---|---|
DeviceTagReport(long[] data)
Creates a new DeviceTagReport instance. |
|
DeviceTagReport(long[] data,
int length,
int afi)
Creates a new DeviceTagReport instance. |
|
DeviceTagReport(long msWord,
long lsWord)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
int |
getAFI()
Returns the AFI value of the identity. |
List |
getDeviceOpReports()
Get the List of DeviceOpReports |
com.connecterra.ale.epc.EPC |
getEPC()
Return the tag identity AFI and value as an EPC object. |
String |
getFailureInfo()
|
OpStatus |
getOpStatus()
|
long[] |
getTagIdentity()
Gets the tag identity |
URI |
getURI()
Return the tag identity AFI and value as a tag URI |
boolean |
hasAFI()
|
int |
hashCode()
|
static DeviceTagReport |
parseHex(String hexEPC)
Parses the hex string passed in as a raw binary EPC value, returning a DeviceTagReport with no opReports. |
void |
setAFI(int afiValue)
Set the AFI part of the tag identity |
void |
setDeviceOpReports(List deviceOpReports,
OpStatus opStatus,
String failureInfo)
Set the List of DeviceOpReports. |
void |
setTagIdentity(long[] tagIdentity)
Sets the tag identity |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeviceTagReport(long[] data)
DeviceTagReport instance.
data - a long[] value containing the tag identity
public DeviceTagReport(long[] data,
int length,
int afi)
DeviceTagReport instance.
If the tag identity has no AFI value, then the DeviceTagReport.DeviceTagReport(long[]) constructor should be used instead.
The length argumrnt should include the number of
meaningful bits of data. For example, if the identity is a 96
bit value memory are read, then this should be set to 96, even
though an array of 2 longs is capable of storing up to 128 bits
of data. The data must be padded with zeros on the left, so
that the least significant bit of the data is in the least
significant bit of the last element of the array.
data - a long[] value containing the tag identitylength - the number of significant bits in the identityafi - an int value containing the afi
public DeviceTagReport(long msWord,
long lsWord)
| Method Detail |
|---|
public static DeviceTagReport parseHex(String hexEPC)
hexEPC -
public void setDeviceOpReports(List deviceOpReports,
OpStatus opStatus,
String failureInfo)
deviceOpReports - the List of DeviceOpReport to setopStatus - the OpStatus value from performing the OpSpecsfailureInfo - the String failure info if
performing the OpSpecs failed.public OpStatus getOpStatus()
OpStatus value from performing the OpSpecspublic String getFailureInfo()
String failure info if performing the
OpSpecs failed.public List getDeviceOpReports()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Objectpublic void setTagIdentity(long[] tagIdentity)
tagIdentity - the tag identity value as a
long[]public long[] getTagIdentity()
long[]public boolean hasAFI()
public void setAFI(int afiValue)
afiValue - an int AFI valuepublic int getAFI()
DeviceTagReport.hasAFI() is
false, this will return a meaningless value.
int AFI valuepublic com.connecterra.ale.epc.EPC getEPC()
EPC object.
EPC objectpublic URI getURI()
URI value
|
Documentation is available at ${DOCSWEBROOT} Copyright 2007 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||