2008-02-07 1.1.0

org.eclipse.soda.dk.epcglobal.llrp.inventory.profile
Class EpcglobalLlrpInventoryProfile

java.lang.Object
  extended by RfidInventoryProfile
      extended by org.eclipse.soda.dk.epcglobal.llrp.inventory.profile.EpcglobalLlrpInventoryProfile
All Implemented Interfaces:
EpcglobalLlrpInventoryProfileService

public class EpcglobalLlrpInventoryProfile
extends RfidInventoryProfile
implements EpcglobalLlrpInventoryProfileService

EPCglobal Low Level Reader Protocol (LLRP) Inventory Profile. The EpcglobalLlrpInventoryProfile class implements the EpcglobalLlrpInventoryProfileService and provides the controls for the profile.

The list of exported services:

Version:
1.1.0
See Also:
EpcglobalLlrpInventoryProfileService, See the following specification(s) for more details:

Title: EPCglobal Low Level Reader Protocol (LLRP)
Version: 1.0.1
Date: August 13, 2007
Vendor: EPCglobal
Comment: Ratified

Field Summary
static java.lang.String CLASS_NAME
          Defines the full class name.
protected  CommandService epcglobalLlrpDeviceServiceAddAccessspec
          Defines the AddAccessspec commandref.
protected  SignalService epcglobalLlrpDeviceServiceAddAccessspecResponse
          Defines the AddAccessspecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceAddRospec
          Defines the AddRospec commandref.
protected  SignalService epcglobalLlrpDeviceServiceAddRospecResponse
          Defines the AddRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceDeleteAccessspec
          Defines the DeleteAccessspec commandref.
protected  SignalService epcglobalLlrpDeviceServiceDeleteAccessspecResponse
          Defines the DeleteAccessspecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceDeleteRospec
          Defines the DeleteRospec commandref.
protected  SignalService epcglobalLlrpDeviceServiceDeleteRospecResponse
          Defines the DeleteRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceDisableAccessspec
          Defines the DisableAccessspec commandref.
protected  SignalService epcglobalLlrpDeviceServiceDisableAccessspecResponse
          Defines the DisableAccessspecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceDisableRospec
          Defines the DisableRospec commandref.
protected  SignalService epcglobalLlrpDeviceServiceDisableRospecResponse
          Defines the DisableRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceEnableAccessspec
          Defines the EnableAccessspec commandref.
protected  SignalService epcglobalLlrpDeviceServiceEnableAccessspecResponse
          Defines the EnableAccessspecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceEnableRospec
          Defines the EnableRospec commandref.
protected  SignalService epcglobalLlrpDeviceServiceEnableRospecResponse
          Defines the EnableRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceGetAccessspecs
          Defines the GetAccessspecs commandref.
protected  SignalService epcglobalLlrpDeviceServiceGetAccessspecsResponse
          Defines the GetAccessspecsResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceGetRospecs
          Defines the GetRospecs commandref.
protected  SignalService epcglobalLlrpDeviceServiceGetRospecsResponse
          Defines the GetRospecsResponse signalref.
protected  SignalService epcglobalLlrpDeviceServiceRoAccessReport
          Defines the RoAccessReport signalref.
protected  CommandService epcglobalLlrpDeviceServiceSetReaderConfig_AntennaConfiguration
          Defines the SetReaderConfig_AntennaConfiguration commandref.
protected  CommandService epcglobalLlrpDeviceServiceSetReaderConfig_ForInventory
          Defines the SetReaderConfig_ForInventory commandref.
protected  SignalService epcglobalLlrpDeviceServiceSetReaderConfigResponse
          Defines the SetReaderConfigResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceStartRospec
          Defines the StartRospec commandref.
protected  SignalService epcglobalLlrpDeviceServiceStartRospecResponse
          Defines the StartRospecResponse signalref.
protected  CommandService epcglobalLlrpDeviceServiceStopRospec
          Defines the StopRospec commandref.
protected  SignalService epcglobalLlrpDeviceServiceStopRospecResponse
          Defines the StopRospecResponse signalref.
 
Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.inventory.profile.service.EpcglobalLlrpInventoryProfileService
ACCESS_SPEC_ID, ACCESS_SPEC_ID_DEFAULT, ACCESSSPECID_DEFAULT, ACCESSSPECID_KEY, ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, Capabilities, CAPABILITIES_ERROR_EXTERNAL_KEY, CAPABILITIES_EXTERNAL_KEY, CAPABILITIES_GET_EXTERNAL_KEY, Configuration, CONFIGURATION_ERROR_EXTERNAL_KEY, CONFIGURATION_EXTERNAL_KEY, CONFIGURATION_GET_EXTERNAL_KEY, DEFAULT_ACCESSSPECID, DEFAULT_ROSPECID, EpcglobalLlrpInventoryProfile, FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, Metrics, METRICS_ERROR_EXTERNAL_KEY, METRICS_EXTERNAL_KEY, METRICS_GET_EXTERNAL_KEY, RO_SPEC_ID, RO_SPEC_ID_DEFAULT, ROSPECID_DEFAULT, ROSPECID_KEY, SERVICE_DESCRIPTION, SERVICE_NAME, Status, STATUS_ERROR_EXTERNAL_KEY, STATUS_EXTERNAL_KEY, STATUS_GET_EXTERNAL_KEY, TIDReadOpId, UserDataReadOpId
 
Constructor Summary
EpcglobalLlrpInventoryProfile()
          Constructs a new instance of the EpcglobalLlrpInventoryProfile class.
 
Method Summary
 void activate()
          Activate.
protected  boolean autonomousModeOff()
          Autonomous mode off and return the boolean result.
protected  boolean autonomousModeOn()
          Autonomous mode on and return the boolean result.
protected  void cleanAccessSpec()
          Clean access spec.
protected  void cleanROSpec()
          Clean rospec.
protected  java.util.Map getAccessCommandParameter()
          Gets the access command parameter (Map) value.
 int getAccessSpecID()
          Gets the value of access spec id custom parameter.
protected  java.util.Map getAddAccessSpecCommandParameters(int accessSpecId)
          Get add access spec command parameters with the specified access spec id parameter and return the Map result.
protected  java.util.Map getAddROSpecCommandParameters(int rospecId)
          Get add rospec command parameters with the specified rospec id parameter and return the Map result.
protected  java.util.Map getAISpecParameter(int[] antennaIds)
          Get aispec parameter with the specified antenna ids parameter and return the Map result.
protected  java.util.Map getC1G2TagSpecParameter()
          Gets the c1 g2 tag spec parameter (Map) value.
 DeviceService getDefaultDevice()
          Gets the default DeviceService.
 java.lang.String getDefaultKey()
          Gets the default key of the profile.
protected  java.util.Map getROBoundarySpecParameter()
          Gets the roboundary spec parameter (Map) value.
protected  java.util.Map getROReportSpecParameter(int trigger, int tagNum)
          Get roreport spec parameter with the specified trigger and tag num parameters and return the Map result.
 int getROSpecID()
          Gets the value of ro spec id custom parameter.
protected  void initAccessSpec()
          Init access spec.
protected  void initROSpec()
          Init rospec.
 boolean isAutonomousModeOn()
          Gets the autonomous mode on (boolean) value.
 boolean isDeviceNeeded()
          Is device needed.
protected  void populateTasks()
          Populate tasks.
 void setAccessSpecID(int AccessSpecID)
          Sets the value of access spec id custom parameter.
 void setAutonomousModeOn(boolean autonomousModeOn)
          Sets the autonomous mode on value.
 void setDevice(DeviceService device)
          Set device.
 void setROSpecID(int ROSpecID)
          Sets the value of ro spec id custom parameter.
 void setup()
           
 void signalOccurred(SignalService source, java.lang.Object timestamp, java.lang.Object data)
          Signal occurred.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the full class name.

See Also:
Constant Field Values

epcglobalLlrpDeviceServiceSetReaderConfig_ForInventory

protected CommandService epcglobalLlrpDeviceServiceSetReaderConfig_ForInventory
Defines the SetReaderConfig_ForInventory commandref.


epcglobalLlrpDeviceServiceSetReaderConfig_AntennaConfiguration

protected CommandService epcglobalLlrpDeviceServiceSetReaderConfig_AntennaConfiguration
Defines the SetReaderConfig_AntennaConfiguration commandref.


epcglobalLlrpDeviceServiceGetRospecs

protected CommandService epcglobalLlrpDeviceServiceGetRospecs
Defines the GetRospecs commandref.


epcglobalLlrpDeviceServiceDeleteRospec

protected CommandService epcglobalLlrpDeviceServiceDeleteRospec
Defines the DeleteRospec commandref.


epcglobalLlrpDeviceServiceAddRospec

protected CommandService epcglobalLlrpDeviceServiceAddRospec
Defines the AddRospec commandref.


epcglobalLlrpDeviceServiceEnableRospec

protected CommandService epcglobalLlrpDeviceServiceEnableRospec
Defines the EnableRospec commandref.


epcglobalLlrpDeviceServiceDisableRospec

protected CommandService epcglobalLlrpDeviceServiceDisableRospec
Defines the DisableRospec commandref.


epcglobalLlrpDeviceServiceStartRospec

protected CommandService epcglobalLlrpDeviceServiceStartRospec
Defines the StartRospec commandref.


epcglobalLlrpDeviceServiceStopRospec

protected CommandService epcglobalLlrpDeviceServiceStopRospec
Defines the StopRospec commandref.


epcglobalLlrpDeviceServiceGetAccessspecs

protected CommandService epcglobalLlrpDeviceServiceGetAccessspecs
Defines the GetAccessspecs commandref.


epcglobalLlrpDeviceServiceDeleteAccessspec

protected CommandService epcglobalLlrpDeviceServiceDeleteAccessspec
Defines the DeleteAccessspec commandref.


epcglobalLlrpDeviceServiceAddAccessspec

protected CommandService epcglobalLlrpDeviceServiceAddAccessspec
Defines the AddAccessspec commandref.


epcglobalLlrpDeviceServiceEnableAccessspec

protected CommandService epcglobalLlrpDeviceServiceEnableAccessspec
Defines the EnableAccessspec commandref.


epcglobalLlrpDeviceServiceDisableAccessspec

protected CommandService epcglobalLlrpDeviceServiceDisableAccessspec
Defines the DisableAccessspec commandref.


epcglobalLlrpDeviceServiceSetReaderConfigResponse

protected SignalService epcglobalLlrpDeviceServiceSetReaderConfigResponse
Defines the SetReaderConfigResponse signalref.


epcglobalLlrpDeviceServiceGetRospecsResponse

protected SignalService epcglobalLlrpDeviceServiceGetRospecsResponse
Defines the GetRospecsResponse signalref.


epcglobalLlrpDeviceServiceDeleteRospecResponse

protected SignalService epcglobalLlrpDeviceServiceDeleteRospecResponse
Defines the DeleteRospecResponse signalref.


epcglobalLlrpDeviceServiceAddRospecResponse

protected SignalService epcglobalLlrpDeviceServiceAddRospecResponse
Defines the AddRospecResponse signalref.


epcglobalLlrpDeviceServiceEnableRospecResponse

protected SignalService epcglobalLlrpDeviceServiceEnableRospecResponse
Defines the EnableRospecResponse signalref.


epcglobalLlrpDeviceServiceDisableRospecResponse

protected SignalService epcglobalLlrpDeviceServiceDisableRospecResponse
Defines the DisableRospecResponse signalref.


epcglobalLlrpDeviceServiceStartRospecResponse

protected SignalService epcglobalLlrpDeviceServiceStartRospecResponse
Defines the StartRospecResponse signalref.


epcglobalLlrpDeviceServiceStopRospecResponse

protected SignalService epcglobalLlrpDeviceServiceStopRospecResponse
Defines the StopRospecResponse signalref.


epcglobalLlrpDeviceServiceRoAccessReport

protected SignalService epcglobalLlrpDeviceServiceRoAccessReport
Defines the RoAccessReport signalref.


epcglobalLlrpDeviceServiceGetAccessspecsResponse

protected SignalService epcglobalLlrpDeviceServiceGetAccessspecsResponse
Defines the GetAccessspecsResponse signalref.


epcglobalLlrpDeviceServiceDeleteAccessspecResponse

protected SignalService epcglobalLlrpDeviceServiceDeleteAccessspecResponse
Defines the DeleteAccessspecResponse signalref.


epcglobalLlrpDeviceServiceAddAccessspecResponse

protected SignalService epcglobalLlrpDeviceServiceAddAccessspecResponse
Defines the AddAccessspecResponse signalref.


epcglobalLlrpDeviceServiceEnableAccessspecResponse

protected SignalService epcglobalLlrpDeviceServiceEnableAccessspecResponse
Defines the EnableAccessspecResponse signalref.


epcglobalLlrpDeviceServiceDisableAccessspecResponse

protected SignalService epcglobalLlrpDeviceServiceDisableAccessspecResponse
Defines the DisableAccessspecResponse signalref.

Constructor Detail

EpcglobalLlrpInventoryProfile

public EpcglobalLlrpInventoryProfile()
Constructs a new instance of the EpcglobalLlrpInventoryProfile class.

Method Detail

activate

public void activate()
Activate.


autonomousModeOff

protected boolean autonomousModeOff()
Autonomous mode off and return the boolean result.

Returns:
Results of the autonomous mode off (boolean) value.

autonomousModeOn

protected boolean autonomousModeOn()
Autonomous mode on and return the boolean result.

Returns:
Results of the autonomous mode on (boolean) value.
See Also:
isAutonomousModeOn(), setAutonomousModeOn(boolean)

cleanAccessSpec

protected void cleanAccessSpec()
Clean access spec.

See Also:
initAccessSpec()

cleanROSpec

protected void cleanROSpec()
Clean rospec.

See Also:
initROSpec()

getAISpecParameter

protected java.util.Map getAISpecParameter(int[] antennaIds)
Get aispec parameter with the specified antenna ids parameter and return the Map result.

Parameters:
antennaIds - The antenna ids (int[]) parameter.
Returns:
Results of the get aispec parameter (Map) value.

getAccessCommandParameter

protected java.util.Map getAccessCommandParameter()
Gets the access command parameter (Map) value.

Returns:
The access command parameter (Map) value.

getAccessSpecID

public int getAccessSpecID()
Gets the value of access spec id custom parameter.

Returns:
access spec id custom parameter.
See Also:
setAccessSpecID(int)

getAddAccessSpecCommandParameters

protected java.util.Map getAddAccessSpecCommandParameters(int accessSpecId)
Get add access spec command parameters with the specified access spec id parameter and return the Map result.

Parameters:
accessSpecId - The access spec id (int) parameter.
Returns:
Results of the get add access spec command parameters (Map) value.

getAddROSpecCommandParameters

protected java.util.Map getAddROSpecCommandParameters(int rospecId)
Get add rospec command parameters with the specified rospec id parameter and return the Map result.

Parameters:
rospecId - The rospec id (int) parameter.
Returns:
Results of the get add rospec command parameters (Map) value.

getC1G2TagSpecParameter

protected java.util.Map getC1G2TagSpecParameter()
Gets the c1 g2 tag spec parameter (Map) value.

Returns:
The c1 g2 tag spec parameter (Map) value.

getDefaultDevice

public DeviceService getDefaultDevice()
Gets the default DeviceService.

Returns:
DeviceService The default DeviceService.

getDefaultKey

public java.lang.String getDefaultKey()
Gets the default key of the profile.

Returns:
String The default key

getROBoundarySpecParameter

protected java.util.Map getROBoundarySpecParameter()
Gets the roboundary spec parameter (Map) value.

Returns:
The roboundary spec parameter (Map) value.

getROReportSpecParameter

protected java.util.Map getROReportSpecParameter(int trigger,
                                                 int tagNum)
Get roreport spec parameter with the specified trigger and tag num parameters and return the Map result.

Parameters:
trigger - The trigger (int) parameter.
tagNum - The tag num (int) parameter.
Returns:
Results of the get roreport spec parameter (Map) value.

getROSpecID

public int getROSpecID()
Gets the value of ro spec id custom parameter.

Returns:
ro spec id custom parameter.
See Also:
setROSpecID(int)

initAccessSpec

protected void initAccessSpec()
Init access spec.

See Also:
cleanAccessSpec()

initROSpec

protected void initROSpec()
Init rospec.

See Also:
cleanROSpec()

isAutonomousModeOn

public boolean isAutonomousModeOn()
Gets the autonomous mode on (boolean) value.

Returns:
The autonomous mode on (boolean) value.
See Also:
setAutonomousModeOn(boolean)

isDeviceNeeded

public boolean isDeviceNeeded()
Is device needed.

Returns:
The results of this method.

populateTasks

protected void populateTasks()
Populate tasks.


setAccessSpecID

public void setAccessSpecID(int AccessSpecID)
Sets the value of access spec id custom parameter.

Parameters:
AccessSpecID - The access spec id custom parameter.
See Also:
getAccessSpecID()

setAutonomousModeOn

public void setAutonomousModeOn(boolean autonomousModeOn)
Sets the autonomous mode on value.

Parameters:
autonomousModeOn - The autonomous mode on (boolean) parameter.
See Also:
isAutonomousModeOn()

setDevice

public void setDevice(DeviceService device)
Set device.

Parameters:
device - device.
See Also:
getDefaultDevice()

setROSpecID

public void setROSpecID(int ROSpecID)
Sets the value of ro spec id custom parameter.

Parameters:
ROSpecID - The ro spec id custom parameter.
See Also:
getROSpecID()

setup

public void setup()
See Also:
org.eclipse.soda.dk.device.Container#setup()

signalOccurred

public void signalOccurred(SignalService source,
                           java.lang.Object timestamp,
                           java.lang.Object data)
Signal occurred.

Parameters:
source - source.
timestamp - timestamp.
data - data.

2008-02-07 1.1.0

Copyright (c) 2008 IBM. See license in Legal section.