|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectProfile
org.eclipse.soda.dk.rfid.base.profile.RfidBaseProfile
org.eclipse.soda.dk.rfid.inventory.profile.RfidInventoryProfile
public abstract class RfidInventoryProfile
RfidInventoryProfile controls RFID tag reading, tag filtering, and aggregation reporting. This profile supports starting and stopping the reading mode, providing tag data in a common format, filtering tags as duplicates or by interest masks, collecting tags into an aggregation report, and marking tag reports with meta data called data extensions. The RfidInventoryProfile can be configured to trigger reading, filtering, and aggregating behavior based on events published by the GpioProfile and ControlProfile. The RfidInventoryProfile class implements the RfidInventoryProfileService and provides the controls for the profile.
The list of exported services:
RfidInventoryProfileService,
See the following specification(s) for more details:
Title:
EPCglobal Low Level Reader Protocol (LLRP)
URL:
http://www.epcglobalinc.org/standards/llrp
Version:
1.0.1
Date:
August 13, 2007
Vendor:
EPCglobal
Comment:
Ratified
Title:
EPCglobal Application Level Events (ALE) Specification
URL:
http://www.epcglobalinc.org/standards/ale/
Version:
1.1
Date:
February 27, 2008
Vendor:
EPCglobal
Comment:
Ratified
Title:
EPCglobal Low Level Reader Protocol (LLRP)
URL:
http://www.epcglobalinc.org/standards/llrp
Version:
1.0.1
Date:
August 13, 2007
Vendor:
EPCglobal
Comment:
Ratified
Title:
EPCglobal Application Level Events (ALE) Specification
URL:
http://www.epcglobalinc.org/standards/ale/
Version:
1.1
Date:
February 27, 2008
Vendor:
EPCglobal
Comment:
Ratified
| Field Summary | |
|---|---|
protected MethodMeasurement |
aggregationFilterExpression
The optional AggregationFilterExpression specifies the definition of tags that should be published on the "TagAggregationReport" signal. |
protected MethodMeasurement |
aggregationFinalFilterExpression
The optional AggregationFinalFilterExpression specifies the definition of tags that should be published on the "TagAggregationReport" signal. |
protected InterestMasks |
aggregationInterest
Define the aggregation interest (InterestMasks) field. |
protected MethodMeasurement |
aggregationMaskSetting
The AggregationMaskSetting specifies the definition of tags that should be published on the TagAggregationReport signal. |
protected MethodMeasurement |
antennaCount
The "AntennaCount" is maximum number of antennas supported by this reader. |
static java.lang.String |
CLASS_NAME
Defines the full class name. |
protected MethodMeasurement |
confidenceScript
The "ConfidenceScript" is script to compute the "confidence" value. |
static java.lang.String |
CONTROL_PROFILE_PREFIX
Define the control profile prefix configuration key. |
protected java.lang.String |
controlProfileServiceBitsExternalKey
Define control profile service bits external key. |
protected java.lang.String |
controlProfileServiceBitsGetExternalKey
Define control profile service bits get external key. |
protected java.lang.String |
controlProfileServiceLongsExternalKey
Define control profile service longs external key. |
protected java.lang.String |
controlProfileServiceLongsGetExternalKey
Define control profile service longs get external key. |
protected MethodMeasurement |
dataExtensions
The DataExtensions measurement is a map of meta data to be associated with tag data. |
protected MethodMeasurement |
duplicateFiltering
The DuplicateFiltering measurement specifies the state of duplicate tag filtering behavior. |
protected MethodMeasurement |
duplicateFilteringExpression
The DuplicateFilteringExpression is an LDAP expression to trigger the behavior of duplicate tag filtering based on input pin and control values. |
static java.lang.String |
GPIO_PROFILE_PREFIX
Define the gpio profile prefix configuration key. |
protected java.lang.String |
gpioInput
Define the GPIO input (String) field. |
protected java.lang.String |
gpioProfileServiceAnalogInputExternalKey
Define gpio profile service analog input external key. |
protected java.lang.String |
gpioProfileServiceAnalogInputGetExternalKey
Define gpio profile service analog input get external key. |
protected java.lang.String |
gpioProfileServiceInputExternalKey
Define gpio profile service input external key. |
protected java.lang.String |
gpioProfileServiceInputGetExternalKey
Define gpio profile service input get external key. |
static java.lang.String |
POSITION_PROFILE_PREFIX
Define the position profile prefix configuration key. |
protected java.lang.String |
positionProfileServiceCoordinateExternalKey
Define position profile service coordinate external key. |
protected java.lang.String |
positionProfileServiceCoordinateGetExternalKey
Define position profile service coordinate get external key. |
protected MethodMeasurement |
readOperations
The ReadOperations specifies the definition of write operations block against the tag(s). |
protected MethodMeasurement |
readOperationsCount
The ReadOperationsCount measurement defines the number of read operations supported by this profile. |
protected MethodMeasurement |
superCacheMaximumSize
The "SuperCacheMaximumSize" is maximum number of tags supported by the super cache size. |
protected MethodMeasurement |
tagAggregating
The TagAggregating measurement specifies the state of aggregating behavior. |
protected MethodMeasurement |
tagAggregatingExpression
The TagAggregatingExpression is an LDAP expression to trigger the behavior of aggregating based on input pin and control values. |
protected Signal |
tagAggregationReport
TagAggregationReport is a signal containing a collection of tag data in a map structure. |
protected MethodMeasurement |
tagAntennaReportLevel
The TagAntennaReportLevel measurement specifies the level of tag antenna reporting. |
protected MethodMeasurement |
tagFilterExpression
The optional TagFilterExpression specifies the definition of tags that should be published on the "TagReport" signal. |
protected InterestMasks |
tagInterest
Define the tag interest (InterestMasks) field. |
protected MethodMeasurement |
tagMaskSetting
The TagMaskSetting specifies the definition of tags that should be published on the TagReport signal. |
protected MethodMeasurement |
tagPosition
The "TagPosition" measurement is a map of meta data to be associated with tag data. |
protected MethodMeasurement |
tagReading
The TagReading measurement specifies the state of reading behavior. |
protected MethodMeasurement |
tagReadingExpression
The TagReadingExpression is an LDAP expression to trigger the state of tag reading based on input pin and control values. |
protected Signal |
tagReport
TagReport is a signal containing tag data in a map structure. |
| Fields inherited from class org.eclipse.soda.dk.rfid.base.profile.RfidBaseProfile |
|---|
cachedTags, confidenceScriptService, ldapMap, LEVEL_ANTENNA, LEVEL_READER, LEVEL_REPORT, LEVEL_TOP, REPORT_LEVEL_ANTENNAS, REPORT_LEVEL_DEFAULT, REPORT_LEVEL_MAXIMUM, REPORT_LEVEL_MINIMUM, REPORT_LEVEL_NORMAL, REPORT_LEVEL_READERS, REPORT_LEVEL_REPORTS, REPORT_LEVEL_SUMMARY, StandardScoreDefault, superCache |
| Constructor Summary | |
|---|---|
RfidInventoryProfile()
Constructs a new instance of the RfidInventoryProfile class. |
|
| Method Summary | |
|---|---|
void |
activate()
Activate. |
protected void |
applyDataExtensions(java.util.Map rfidData)
|
protected void |
applyDataExtensionsSingleTag(java.util.Map rfidData)
Apply data extensions single tag with the specified RFID data parameter. |
void |
applyTagReadingFalse()
Apply tag reading false. |
void |
applyTagReadingTrue()
Apply tag reading true. |
protected abstract boolean |
autonomousModeOff()
Autonomous mode off. |
protected abstract boolean |
autonomousModeOn()
Autonomous mode on. |
protected java.util.Map |
buildOuterTagMessage(java.util.Map tags)
|
protected java.util.Map |
buildTagMessage(java.lang.String key,
java.util.Map reads)
|
protected void |
consumeReadStopCommands()
Consume read stop commands. |
void |
deactivate()
Deactivate. |
boolean |
evaluateAggregationLdapFilter(java.util.Dictionary tagLdapMap)
Evaluate aggregation LDAP filter with the specified tag LDAP map parameter and return the boolean result. |
void |
evaluateDuplicateFilteringLdapFilter()
Evaluate duplicate filtering LDAP filter. |
void |
evaluateDuplicateFilteringLdapFilter(boolean duplicateFilteringResult)
Evaluate duplicate filtering LDAP filter. |
protected void |
evaluateLdapFilters(ExpressionFilterResults expressionFilterResults)
Evaluate LDAP filters. |
void |
evaluateTagAggregatingLdapFilter()
Evaluate tag aggregating LDAP filter. |
void |
evaluateTagAggregatingLdapFilter(boolean tagAggregatingResult)
Evaluate tag aggregating LDAP filter. |
boolean |
evaluateTagLdapFilter(java.util.Dictionary tagLdapMap)
Evaluate tag LDAP filter with the specified tag LDAP map parameter and return the boolean result. |
void |
evaluateTagReadingLdapFilter()
Evaluate tag reading LDAP filter. |
void |
evaluateTagReadingLdapFilter(boolean tagReadingResult)
Evaluate tag reading LDAP filter. |
void |
exit()
Exit. |
java.util.Map |
filterMap(java.util.Map map,
Filter filter)
Filter map with the specified map and filter parameters and return the Map result. |
void |
flushAggregationCache()
Flush aggregation cache. |
MeasurementService |
getAggregationFilterExpression()
The optional AggregationFilterExpression specifies the definition of tags that should be published on the "TagAggregationReport" signal. |
MeasurementService |
getAggregationFinalFilterExpression()
The optional AggregationFinalFilterExpression specifies the definition of tags that should be published on the "TagAggregationReport" signal. |
Filter |
getAggregationFinalLdapFilter()
Gets the aggregation final LDAP filter (Filter) value. |
Filter |
getAggregationLdapFilter()
Gets the aggregation LDAP filter (Filter) value. |
MeasurementService |
getAggregationMaskSetting()
The AggregationMaskSetting specifies the definition of tags that should be published on the TagAggregationReport signal. |
MeasurementService |
getAntennaCount()
The "AntennaCount" is maximum number of antennas supported by this reader. |
MeasurementService |
getConfidenceScript()
The "ConfidenceScript" is script to compute the "confidence" value. |
int |
getControlCapacity()
Gets the control capacity. |
java.lang.String |
getControlProfilePrefix()
Get the control profile prefix value. |
MeasurementService |
getDataExtensions()
The DataExtensions measurement is a map of meta data to be associated with tag data. |
DeviceService |
getDefaultDevice()
Gets the default DeviceService. |
java.lang.String |
getDefaultKey()
Gets the default key of the profile. |
MeasurementService |
getDuplicateFiltering()
The DuplicateFiltering measurement specifies the state of duplicate tag filtering behavior. |
MeasurementService |
getDuplicateFilteringExpression()
The DuplicateFilteringExpression is an LDAP expression to trigger the behavior of duplicate tag filtering based on input pin and control values. |
Filter |
getDuplicateFilteringLdapFilter()
Gets the duplicate filtering LDAP filter (Filter) value. |
java.lang.String |
getGpioProfilePrefix()
Get the gpio profile prefix value. |
int |
getMessageCapacity()
Gets the message capacity. |
java.lang.String |
getPositionProfilePrefix()
Get the position profile prefix value. |
MeasurementService |
getReadOperations()
The ReadOperations specifies the definition of write operations block against the tag(s). |
MeasurementService |
getReadOperationsCount()
The ReadOperationsCount measurement defines the number of read operations supported by this profile. |
int |
getReadStopTimeout()
readStopTimeout is a configuration parameter to specify the timeout period in milliseconds that the profile will wait to receive an acknowledgment from the reader after commanding the reader to stop reading. |
MeasurementService |
getReportLevel()
Gets the report level (MeasurementService) value. |
MeasurementService |
getSuperCacheMaximumSize()
The "SuperCacheMaximumSize" is maximum number of tags supported by the super cache size. |
MeasurementService |
getTagAggregating()
The TagAggregating measurement specifies the state of aggregating behavior. |
MeasurementService |
getTagAggregatingExpression()
The TagAggregatingExpression is an LDAP expression to trigger the behavior of aggregating based on input pin and control values. |
SignalService |
getTagAggregationReport()
TagAggregationReport is a signal containing a collection of tag data in a map structure. |
MeasurementService |
getTagAntennaReportLevel()
The TagAntennaReportLevel measurement specifies the level of tag antenna reporting. |
MeasurementService |
getTagFilterExpression()
The optional TagFilterExpression specifies the definition of tags that should be published on the "TagReport" signal. |
Filter |
getTagLdapFilter()
Gets the tag LDAP filter (Filter) value. |
MeasurementService |
getTagMaskSetting()
The TagMaskSetting specifies the definition of tags that should be published on the TagReport signal. |
MeasurementService |
getTagPosition()
The "TagPosition" measurement is a map of meta data to be associated with tag data. |
MeasurementService |
getTagReading()
The TagReading measurement specifies the state of reading behavior. |
MeasurementService |
getTagReadingExpression()
The TagReadingExpression is an LDAP expression to trigger the state of tag reading based on input pin and control values. |
protected boolean |
getTagReadingValue()
Gets the tag reading value (boolean) value. |
SignalService |
getTagReport()
TagReport is a signal containing tag data in a map structure. |
protected void |
handleControlProfileServiceBits(java.lang.String externalKey,
java.util.Dictionary data)
|
protected void |
handleControlProfileServiceLongs(java.lang.String externalKey,
java.util.Dictionary data)
|
protected void |
handleDuplicateFiltering(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
|
protected void |
handleGpioProfileServiceAnalogInput(java.lang.String externalKey,
java.util.Dictionary data)
Handle gpio profile service analog input with the specified external key and data parameters. |
protected void |
handleGpioProfileServiceInput(java.lang.String externalKey,
java.util.Dictionary data)
|
java.lang.Object |
handleMethodAggregationFilterExpression(int code,
Measurement measurement,
java.lang.Object data)
Handle method aggregation filter expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodAggregationFinalFilterExpression(int code,
Measurement measurement,
java.lang.Object data)
Handle method aggregation final filter expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodAggregationMaskSetting(int code,
Measurement measurement,
java.lang.Object data)
Handle method aggregation mask setting with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodAntennaCount(int code,
Measurement measurement,
java.lang.Object data)
Handle method antenna count with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodConfidenceScript(int code,
Measurement measurement,
java.lang.Object data)
Handle method confidence script with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodDataExtensions(int code,
Measurement measurement,
java.lang.Object data)
Handle method data extensions with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodDuplicateFiltering(int code,
Measurement measurement,
java.lang.Object data)
Handle method duplicate filtering with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodDuplicateFilteringExpression(int code,
Measurement measurement,
java.lang.Object data)
Handle method duplicate filtering expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodReadOperations(int code,
Measurement measurement,
java.lang.Object data)
Handle method read operations with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodReadOperationsCount(int code,
Measurement measurement,
java.lang.Object data)
Handle method read operations count with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodSuperCacheMaximumSize(int code,
Measurement measurement,
java.lang.Object data)
Handle method super cache maximum size with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagAggregating(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag aggregating with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagAggregatingExpression(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag aggregating expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagAntennaReportLevel(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag antenna report level with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagFilterExpression(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag filter expression with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagMaskSetting(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag mask setting with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagPosition(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag position with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagReading(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag reading with the specified code, measurement and data parameters and return the Object result. |
java.lang.Object |
handleMethodTagReadingExpression(int code,
Measurement measurement,
java.lang.Object data)
Handle method tag reading expression with the specified code, measurement and data parameters and return the Object result. |
protected void |
handlePositionProfileServiceCoordinate(java.lang.String externalKey,
java.util.Dictionary data)
Handle position profile service coordinate with the specified external key and data parameters. |
protected void |
handleSetAggregationFilterExpression(Measurement measurement,
java.lang.Object data)
Handle set aggregation filter expression with the specified measurement and data parameters. |
protected void |
handleSetAggregationFinalFilterExpression(Measurement measurement,
java.lang.Object data)
Handle set aggregation final filter expression with the specified measurement and data parameters. |
protected void |
handleSetAggregationMaskSetting(Measurement measurement,
java.lang.Object data)
Handle set aggregation mask setting with the specified measurement and data parameters. |
protected void |
handleSetDataExtensions(Measurement measurement,
java.lang.Object newValue)
Handle set data extensions with the specified measurement and new value parameters. |
protected void |
handleSetDuplicateFilteringExpression(Measurement measurement,
java.lang.Object data)
Handle set duplicate filtering expression with the specified measurement and data parameters. |
protected void |
handleSetTagAggregatingExpression(Measurement measurement,
java.lang.Object data)
Handle set tag aggregating expression with the specified measurement and data parameters. |
protected void |
handleSetTagFilterExpression(Measurement measurement,
java.lang.Object data)
Handle set tag filter expression with the specified measurement and data parameters. |
protected void |
handleSetTagMaskSetting(Measurement measurement,
java.lang.Object data)
Handle set tag mask setting with the specified measurement and data parameters. |
protected void |
handleSetTagReading(Measurement measurement,
java.lang.Object data)
Handle set tag reading with the specified measurement and data parameters. |
protected void |
handleSetTagReadingExpression(Measurement measurement,
java.lang.Object data)
Handle set tag reading expression with the specified measurement and data parameters. |
protected void |
handleTagAggregating(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
|
void |
improveReportMap(java.lang.String key,
java.util.Map reads,
java.lang.Object timestamp)
Improve reads map with the specified reads and timestamp parameters. |
boolean |
isDeviceNeeded()
Is device needed. |
protected boolean |
isDuplicateTag(java.lang.String key)
|
void |
measurementChanged(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
Measurement changed. |
long |
mergeAntennaInfo(java.util.Map targetMap,
java.util.Map sourceMap,
int antenna)
Merge antenna info with the specified cache read data and reads parameters. |
java.util.Map |
mergeMapOverMap(java.util.Map additionalValues,
java.util.Map existingValues)
|
void |
notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
Notification received. |
protected void |
notifyReadStop()
Notify read stop. |
void |
notifyTagAggregation()
Notify tag aggregation. |
void |
notifyTagRead(java.util.Map tags)
Notify tag read with the specified tags parameter. |
void |
notifyTagRead(java.util.Map tags,
java.lang.Object timestamp)
Notify tag read with the specified tags and timestamp parameters. |
void |
notifyTagRead(java.lang.String key,
java.util.Map reads)
|
void |
notifyTagRead(java.lang.String key,
java.util.Map reads,
java.lang.Object timestamp)
Notify tag read with the specified key, reads and timestamp parameters. |
void |
setAggregationFinalLdapFilter(Filter aggregationFinalLdapFilter)
Sets the aggregation final LDAP filter value. |
void |
setAggregationLdapFilter(Filter aggregationLdapFilter)
Sets the aggregation LDAP filter value. |
void |
setDuplicateFilteringLdapFilter(Filter duplicateFilteringLdapFilter)
Sets the duplicate filtering LDAP filter value. |
void |
setFilterDuplicatesLdapFilter(Filter filterDuplicatesLdapFilter)
|
void |
setReadStopTimeout(int readStopTimeout)
readStopTimeout is a configuration parameter to specify the timeout period in milliseconds that the profile will wait to receive an acknowledgment from the reader after commanding the reader to stop reading. |
void |
setTagAggregatingLdapFilter(Filter tagAggregatingLdapFilter)
|
void |
setTagLdapFilter(Filter tagLdapFilter)
Sets the tag ldap filter value. |
void |
setTagReadingLdapFilter(Filter tagReadingLdapFilter)
|
void |
setup()
|
void |
setupNotification()
Setup notification. |
protected void |
triggerTagAggregationReport(java.util.Map tagMap,
boolean withError)
Trigger tag aggregation report with the specified tag map and with error parameters. |
protected void |
triggerTagReport(java.util.Map tagMap,
boolean withError)
Trigger tag report with the specified tag map and with error parameters. |
protected void |
triggerTagReport(java.util.Map tagMap,
boolean withError,
java.lang.Object timestamp)
Trigger tag report with the specified tag map, with error and timestamp parameters. |
| Methods inherited from class org.eclipse.soda.dk.rfid.base.profile.RfidBaseProfile |
|---|
addTagToCache, buildSummary, checkSuperCache, computeAntennaFactor, computeAverageRssi, computeMedianRssi, computeStandardDeviationRssi, createLdapFilter, flushTagCache, getConfidenceScriptService, getReaderId, getReportLevelValue, getStandardScoreDefault, getSuperCache, getSuperCacheMaximumSizeValue, parseDelimitedByToken, parseHexSpaceDelimited, parseInterestMasks, setConfidenceScriptService, setSuperCache, toBytes, updateFieldTotal, updateMap, updateSuperCache, updateTagInCache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
public static final java.lang.String GPIO_PROFILE_PREFIX
public static final java.lang.String CONTROL_PROFILE_PREFIX
public static final java.lang.String POSITION_PROFILE_PREFIX
protected java.lang.String gpioProfileServiceInputExternalKey
protected java.lang.String gpioProfileServiceInputGetExternalKey
protected java.lang.String gpioProfileServiceAnalogInputExternalKey
protected java.lang.String gpioProfileServiceAnalogInputGetExternalKey
protected java.lang.String controlProfileServiceBitsExternalKey
protected java.lang.String controlProfileServiceBitsGetExternalKey
protected java.lang.String controlProfileServiceLongsExternalKey
protected java.lang.String controlProfileServiceLongsGetExternalKey
protected java.lang.String positionProfileServiceCoordinateExternalKey
protected java.lang.String positionProfileServiceCoordinateGetExternalKey
protected final MethodMeasurement tagReadingExpression
handleMethodTagReadingExpression(int, Measurement, java.lang.Object)protected final MethodMeasurement tagReading
handleMethodTagReading(int, Measurement, java.lang.Object)protected final MethodMeasurement tagAggregatingExpression
handleMethodTagAggregatingExpression(int, Measurement, java.lang.Object)protected final MethodMeasurement tagAggregating
handleMethodTagAggregating(int, Measurement, java.lang.Object)protected final MethodMeasurement tagMaskSetting
handleMethodTagMaskSetting(int, Measurement, java.lang.Object)protected final MethodMeasurement tagFilterExpression
handleMethodTagFilterExpression(int, Measurement, java.lang.Object)protected final MethodMeasurement aggregationFilterExpression
handleMethodAggregationFilterExpression(int, Measurement, java.lang.Object)protected final MethodMeasurement aggregationFinalFilterExpression
handleMethodAggregationFinalFilterExpression(int, Measurement, java.lang.Object)protected final MethodMeasurement duplicateFilteringExpression
handleMethodDuplicateFilteringExpression(int, Measurement, java.lang.Object)protected final MethodMeasurement duplicateFiltering
handleMethodDuplicateFiltering(int, Measurement, java.lang.Object)protected final MethodMeasurement aggregationMaskSetting
handleMethodAggregationMaskSetting(int, Measurement, java.lang.Object)protected final MethodMeasurement dataExtensions
handleMethodDataExtensions(int, Measurement, java.lang.Object)protected final MethodMeasurement tagPosition
handleMethodTagPosition(int, Measurement, java.lang.Object)protected final MethodMeasurement tagAntennaReportLevel
handleMethodTagAntennaReportLevel(int, Measurement, java.lang.Object)protected final MethodMeasurement readOperations
handleMethodReadOperations(int, Measurement, java.lang.Object)protected final MethodMeasurement readOperationsCount
handleMethodReadOperationsCount(int, Measurement, java.lang.Object)protected final MethodMeasurement antennaCount
handleMethodAntennaCount(int, Measurement, java.lang.Object)protected final MethodMeasurement superCacheMaximumSize
handleMethodSuperCacheMaximumSize(int, Measurement, java.lang.Object)protected final MethodMeasurement confidenceScript
handleMethodConfidenceScript(int, Measurement, java.lang.Object)protected final Signal tagReport
protected final Signal tagAggregationReport
protected java.lang.String gpioInput
protected InterestMasks tagInterest
protected InterestMasks aggregationInterest
| Constructor Detail |
|---|
public RfidInventoryProfile()
| Method Detail |
|---|
public void activate()
protected void applyDataExtensions(java.util.Map rfidData)
rfidData - The RFID data (Map) parameter.getDataExtensions(),
handleMethodDataExtensions(int,Measurement,Object),
handleSetDataExtensions(Measurement,Object)protected void applyDataExtensionsSingleTag(java.util.Map rfidData)
rfidData - The RFID data (Map) parameter.
public void applyTagReadingFalse()
throws java.lang.InterruptedException
java.lang.InterruptedException - Interrupted Exception.public void applyTagReadingTrue()
protected abstract boolean autonomousModeOff()
boolean) value.protected abstract boolean autonomousModeOn()
boolean) value.protected java.util.Map buildOuterTagMessage(java.util.Map tags)
tags - The tags (Map) parameter.
Map) value.
protected java.util.Map buildTagMessage(java.lang.String key,
java.util.Map reads)
key - The key (String) parameter.reads - The reads (Map) parameter.
Map) value.buildOuterTagMessage(Map)
protected void consumeReadStopCommands()
throws java.lang.InterruptedException
java.lang.InterruptedException - Interrupted Exception.public void deactivate()
public boolean evaluateAggregationLdapFilter(java.util.Dictionary tagLdapMap)
tagLdapMap - The tag LDAP map (Dictionary) parameter.
boolean) value.getAggregationLdapFilter(),
setAggregationLdapFilter(Filter)public void evaluateDuplicateFilteringLdapFilter()
evaluateDuplicateFilteringLdapFilter(boolean),
getDuplicateFilteringLdapFilter(),
setDuplicateFilteringLdapFilter(Filter)public void evaluateDuplicateFilteringLdapFilter(boolean duplicateFilteringResult)
duplicateFilteringResult - The duplicate filtering result (boolean) parameter.evaluateDuplicateFilteringLdapFilter(),
getDuplicateFilteringLdapFilter(),
setDuplicateFilteringLdapFilter(Filter)
protected void evaluateLdapFilters(ExpressionFilterResults expressionFilterResults)
throws java.lang.InterruptedException
expressionFilterResults - The expression filter results (ExpressionFilterResults) parameter.
java.lang.InterruptedException - Interrupted Exception.public void evaluateTagAggregatingLdapFilter()
evaluateTagAggregatingLdapFilter(boolean),
setTagAggregatingLdapFilter(Filter)public void evaluateTagAggregatingLdapFilter(boolean tagAggregatingResult)
tagAggregatingResult - The tag aggregating result (boolean) parameter.evaluateTagAggregatingLdapFilter(),
setTagAggregatingLdapFilter(Filter)public boolean evaluateTagLdapFilter(java.util.Dictionary tagLdapMap)
tagLdapMap - The tag LDAP map (Dictionary) parameter.
boolean) value.getTagLdapFilter(),
setTagLdapFilter(Filter)public void evaluateTagReadingLdapFilter()
evaluateTagReadingLdapFilter(boolean),
setTagReadingLdapFilter(Filter)public void evaluateTagReadingLdapFilter(boolean tagReadingResult)
tagReadingResult - The tag reading result (boolean) parameter.evaluateTagReadingLdapFilter(),
setTagReadingLdapFilter(Filter)public void exit()
public java.util.Map filterMap(java.util.Map map,
Filter filter)
map - The map (Map) parameter.filter - The filter (Filter) parameter.
Map) value.improveReportMap(String,Map,Object),
mergeMapOverMap(Map,Map),
RfidBaseProfile.updateMap(Map,Map,int,int)public void flushAggregationCache()
public MeasurementService getAggregationFilterExpression()
handleMethodAggregationFilterExpression(int, Measurement, java.lang.Object)public MeasurementService getAggregationFinalFilterExpression()
handleMethodAggregationFinalFilterExpression(int, Measurement, java.lang.Object)public Filter getAggregationFinalLdapFilter()
Filter) value.setAggregationFinalLdapFilter(Filter)public Filter getAggregationLdapFilter()
Filter) value.evaluateAggregationLdapFilter(Dictionary),
setAggregationLdapFilter(Filter)public MeasurementService getAggregationMaskSetting()
handleMethodAggregationMaskSetting(int, Measurement, java.lang.Object)public MeasurementService getAntennaCount()
handleMethodAntennaCount(int, Measurement, java.lang.Object)public MeasurementService getConfidenceScript()
handleMethodConfidenceScript(int, Measurement, java.lang.Object)public int getControlCapacity()
public java.lang.String getControlProfilePrefix()
CONTROL_PROFILE_PREFIXpublic MeasurementService getDataExtensions()
handleMethodDataExtensions(int, Measurement, java.lang.Object)public DeviceService getDefaultDevice()
public java.lang.String getDefaultKey()
public MeasurementService getDuplicateFiltering()
handleMethodDuplicateFiltering(int, Measurement, java.lang.Object)public MeasurementService getDuplicateFilteringExpression()
handleMethodDuplicateFilteringExpression(int, Measurement, java.lang.Object)public Filter getDuplicateFilteringLdapFilter()
Filter) value.evaluateDuplicateFilteringLdapFilter(),
evaluateDuplicateFilteringLdapFilter(boolean),
setDuplicateFilteringLdapFilter(Filter)public java.lang.String getGpioProfilePrefix()
GPIO_PROFILE_PREFIXpublic int getMessageCapacity()
public java.lang.String getPositionProfilePrefix()
POSITION_PROFILE_PREFIXpublic MeasurementService getReadOperations()
handleMethodReadOperations(int, Measurement, java.lang.Object)public MeasurementService getReadOperationsCount()
handleMethodReadOperationsCount(int, Measurement, java.lang.Object)public int getReadStopTimeout()
setReadStopTimeout(int)public MeasurementService getReportLevel()
RfidBaseProfile
getReportLevel in class RfidBaseProfileMeasurementService) value.public MeasurementService getSuperCacheMaximumSize()
getSuperCacheMaximumSize in class RfidBaseProfilehandleMethodSuperCacheMaximumSize(int, Measurement, java.lang.Object)public MeasurementService getTagAggregating()
handleMethodTagAggregating(int, Measurement, java.lang.Object)public MeasurementService getTagAggregatingExpression()
handleMethodTagAggregatingExpression(int, Measurement, java.lang.Object)public SignalService getTagAggregationReport()
public MeasurementService getTagAntennaReportLevel()
handleMethodTagAntennaReportLevel(int, Measurement, java.lang.Object)public MeasurementService getTagFilterExpression()
handleMethodTagFilterExpression(int, Measurement, java.lang.Object)public Filter getTagLdapFilter()
Filter) value.evaluateTagLdapFilter(Dictionary),
setTagLdapFilter(Filter)public MeasurementService getTagMaskSetting()
handleMethodTagMaskSetting(int, Measurement, java.lang.Object)public MeasurementService getTagPosition()
handleMethodTagPosition(int, Measurement, java.lang.Object)public MeasurementService getTagReading()
handleMethodTagReading(int, Measurement, java.lang.Object)public MeasurementService getTagReadingExpression()
handleMethodTagReadingExpression(int, Measurement, java.lang.Object)protected boolean getTagReadingValue()
boolean) value.public SignalService getTagReport()
protected void handleControlProfileServiceBits(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
protected void handleControlProfileServiceLongs(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
protected void handleDuplicateFiltering(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
source - The source (MeasurementService) parameter.timestamp - The timestamp (Object) parameter.newValue - The new value (Object) parameter.oldValue - The old value (Object) parameter.getDuplicateFiltering(),
handleMethodDuplicateFiltering(int,Measurement,Object)
protected void handleGpioProfileServiceAnalogInput(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
protected void handleGpioProfileServiceInput(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
public java.lang.Object handleMethodAggregationFilterExpression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodAggregationFinalFilterExpression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodAggregationMaskSetting(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodAntennaCount(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodConfidenceScript(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodDataExtensions(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodDuplicateFiltering(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodDuplicateFilteringExpression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodReadOperations(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodReadOperationsCount(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodSuperCacheMaximumSize(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodTagAggregating(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodTagAggregatingExpression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodTagAntennaReportLevel(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodTagFilterExpression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodTagMaskSetting(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodTagPosition(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodTagReading(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
public java.lang.Object handleMethodTagReadingExpression(int code,
Measurement measurement,
java.lang.Object data)
code - The code (int) parameter.measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
Object) value.
protected void handlePositionProfileServiceCoordinate(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - The external key (String) parameter.data - The data (Dictionary) parameter.
protected void handleSetAggregationFilterExpression(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetAggregationFinalFilterExpression(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetAggregationMaskSetting(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetDataExtensions(Measurement measurement,
java.lang.Object newValue)
measurement - The measurement (Measurement) parameter.newValue - The new value (Object) parameter.
protected void handleSetDuplicateFilteringExpression(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetTagAggregatingExpression(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetTagFilterExpression(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetTagMaskSetting(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetTagReading(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleSetTagReadingExpression(Measurement measurement,
java.lang.Object data)
measurement - The measurement (Measurement) parameter.data - The data (Object) parameter.
protected void handleTagAggregating(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
source - The source (MeasurementService) parameter.timestamp - The timestamp (Object) parameter.newValue - The new value (Object) parameter.oldValue - The old value (Object) parameter.getTagAggregating(),
handleMethodTagAggregating(int,Measurement,Object)
public void improveReportMap(java.lang.String key,
java.util.Map reads,
java.lang.Object timestamp)
key - The key (String) parameter.reads - The reads (Map) parameter.timestamp - The timestamp (Object) parameter.public boolean isDeviceNeeded()
protected boolean isDuplicateTag(java.lang.String key)
key - The key (String) parameter.
boolean) value.
public void measurementChanged(MeasurementService source,
java.lang.Object timestamp,
java.lang.Object newValue,
java.lang.Object oldValue)
source - source.timestamp - timestamp.newValue - new value.oldValue - old value.
public long mergeAntennaInfo(java.util.Map targetMap,
java.util.Map sourceMap,
int antenna)
targetMap - The target map (Map) parameter.sourceMap - The source map (Map) parameter.antenna - The antenna (int) parameter.
long) value.
public java.util.Map mergeMapOverMap(java.util.Map additionalValues,
java.util.Map existingValues)
additionalValues - The additional values (Map) parameter.existingValues - The existing values (Map) parameter.
Map) value.
public void notificationReceived(java.lang.String externalKey,
java.util.Dictionary data)
externalKey - external key.data - data.protected void notifyReadStop()
public void notifyTagAggregation()
public void notifyTagRead(java.util.Map tags)
tags - The tags (Map) parameter.notifyTagRead(Map,Object),
notifyTagRead(String,Map),
notifyTagRead(String,Map,Object)
public void notifyTagRead(java.util.Map tags,
java.lang.Object timestamp)
tags - The tags (Map) parameter.timestamp - The timestamp (Object) parameter.notifyTagRead(Map),
notifyTagRead(String,Map),
notifyTagRead(String,Map,Object)
public void notifyTagRead(java.lang.String key,
java.util.Map reads)
key - The key (String) parameter.reads - The reads (Map) parameter.notifyTagRead(Map),
notifyTagRead(Map,Object),
notifyTagRead(String,Map,Object)
public void notifyTagRead(java.lang.String key,
java.util.Map reads,
java.lang.Object timestamp)
key - The key (String) parameter.reads - The reads (Map) parameter.timestamp - The timestamp (Object) parameter.notifyTagRead(Map),
notifyTagRead(Map,Object),
notifyTagRead(String,Map)public void setAggregationFinalLdapFilter(Filter aggregationFinalLdapFilter)
aggregationFinalLdapFilter - The aggregation final LDAP filter (Filter) parameter.getAggregationFinalLdapFilter()public void setAggregationLdapFilter(Filter aggregationLdapFilter)
aggregationLdapFilter - The aggregation LDAP filter (Filter) parameter.evaluateAggregationLdapFilter(Dictionary),
getAggregationLdapFilter()public void setDuplicateFilteringLdapFilter(Filter duplicateFilteringLdapFilter)
duplicateFilteringLdapFilter - The duplicate filtering LDAP filter (Filter) parameter.evaluateDuplicateFilteringLdapFilter(),
evaluateDuplicateFilteringLdapFilter(boolean),
getDuplicateFilteringLdapFilter()public void setFilterDuplicatesLdapFilter(Filter filterDuplicatesLdapFilter)
filterDuplicatesLdapFilter - The filter duplicates LDAP filter (Filter) parameter.public void setReadStopTimeout(int readStopTimeout)
readStopTimeout - The read stop timeout custom parameter.getReadStopTimeout()public void setTagAggregatingLdapFilter(Filter tagAggregatingLdapFilter)
tagAggregatingLdapFilter - The tag aggregating LDAP filter (Filter) parameter.evaluateTagAggregatingLdapFilter(),
evaluateTagAggregatingLdapFilter(boolean)public void setTagLdapFilter(Filter tagLdapFilter)
tagLdapFilter - The tag ldap filter (Filter) parameter.evaluateTagLdapFilter(Dictionary),
getTagLdapFilter()public void setTagReadingLdapFilter(Filter tagReadingLdapFilter)
tagReadingLdapFilter - The tag reading ldap filter (Filter) parameter.evaluateTagReadingLdapFilter(),
evaluateTagReadingLdapFilter(boolean)public void setup()
org.eclipse.soda.dk.device.Container#setup()public void setupNotification()
protected void triggerTagAggregationReport(java.util.Map tagMap,
boolean withError)
tagMap - The tag map (Map) parameter.withError - The with error (boolean) parameter.getTagAggregationReport()
protected void triggerTagReport(java.util.Map tagMap,
boolean withError)
tagMap - The tag map (Map) parameter.withError - The with error (boolean) parameter.getTagReport(),
triggerTagReport(Map,boolean,Object)
protected void triggerTagReport(java.util.Map tagMap,
boolean withError,
java.lang.Object timestamp)
tagMap - The tag map (Map) parameter.withError - The with error (boolean) parameter.timestamp - The timestamp (Object) parameter.getTagReport(),
triggerTagReport(Map,boolean)
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||