2010-01-22 1.2.0

org.eclipse.soda.dk.rfid.mock.scenario.profile
Class RfidMockScenarioProfile

java.lang.Object
  extended by Profile
      extended by org.eclipse.soda.dk.rfid.mock.scenario.profile.RfidMockScenarioProfile
All Implemented Interfaces:
RfidMockScenarioProfileService

public class RfidMockScenarioProfile
extends Profile
implements RfidMockScenarioProfileService

Rfid Mock Scenario Profile. The RfidMockScenarioProfile class implements the RfidMockScenarioProfileService and provides the controls for the profile.

The list of exported services:

Since:
1.0
Version:
1.2.0
See Also:
RfidMockScenarioProfileService,

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

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
static java.lang.String CLASS_NAME
          Defines the full class name.
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.
static java.lang.String GPIO_PROFILE_PREFIX
          Define the GPIO profile prefix configuration 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.
protected  java.lang.String gpioProfileServiceOutputRequestExternalKey
          Define GPIO profile service output request external key.
protected  java.lang.String gpioProfileServiceStatusExternalKey
          Define GPIO profile service status external key.
protected  java.lang.String gpioProfileServiceStatusGetExternalKey
          Define GPIO profile service status get external key.
static java.lang.String RFID_INVENTORY_PROFILE_PREFIX
          Define the RFID inventory profile prefix configuration key.
protected  java.lang.String rfidInventoryProfileServiceDuplicateFilteringExternalKey
          Define RFID inventory profile service duplicate filtering external key.
protected  java.lang.String rfidInventoryProfileServiceDuplicateFilteringGetExternalKey
          Define RFID inventory profile service duplicate filtering get external key.
protected  java.lang.String rfidInventoryProfileServiceStatusExternalKey
          Define RFID inventory profile service status external key.
protected  java.lang.String rfidInventoryProfileServiceStatusGetExternalKey
          Define RFID inventory profile service status get external key.
protected  java.lang.String rfidInventoryProfileServiceTagAggregatingExternalKey
          Define RFID inventory profile service tag aggregating external key.
protected  java.lang.String rfidInventoryProfileServiceTagAggregatingGetExternalKey
          Define RFID inventory profile service tag aggregating get external key.
protected  java.lang.String rfidInventoryProfileServiceTagAggregationReportExternalKey
          Define RFID inventory profile service tag aggregation report external key.
protected  java.lang.String rfidInventoryProfileServiceTagReadingExternalKey
          Define RFID inventory profile service tag reading external key.
protected  java.lang.String rfidInventoryProfileServiceTagReadingGetExternalKey
          Define RFID inventory profile service tag reading get external key.
protected  java.lang.String rfidInventoryProfileServiceTagReportExternalKey
          Define RFID inventory profile service tag report external key.
 
Fields inherited from interface org.eclipse.soda.dk.rfid.mock.scenario.profile.service.RfidMockScenarioProfileService
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, FACTORY_SERVICE_NAME, Metrics, METRICS_ERROR_EXTERNAL_KEY, METRICS_EXTERNAL_KEY, METRICS_GET_EXTERNAL_KEY, RfidMockScenarioProfile, SCENARIO, SCENARIO_DEFAULT, SCENARIO_PROPERTY, SERVICE_DESCRIPTION, SERVICE_NAME, Status, STATUS_ERROR_EXTERNAL_KEY, STATUS_EXTERNAL_KEY, STATUS_GET_EXTERNAL_KEY
 
Constructor Summary
RfidMockScenarioProfile()
          Constructs a new instance of the RfidMockScenarioProfile class.
 
Method Summary
 void activate()
          Activate.
 void deactivate()
          Deactivate.
 java.lang.String getControlProfilePrefix()
          Get the control profile prefix value.
 DeviceService getDefaultDevice()
          Gets the default DeviceService.
 java.lang.String getDefaultKey()
          Gets the default key of the profile.
 java.lang.String getGpioProfilePrefix()
          Get the GPIO profile prefix value.
 java.lang.String getRfidInventoryProfilePrefix()
          Get the RFID inventory profile prefix value.
 int getScenario()
          TEST mock scenario description here.
 boolean isAdapterNeeded()
          Is adapter needed.
 boolean isDeviceNeeded()
          Is device needed.
 void notificationReceived(java.lang.String externalKey, java.util.Dictionary data)
          Notification received.
 void setScenario(int scenario)
          TEST mock scenario description here.
 void setup()
           
 void setupNotification()
          Setup notification.
 
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.

Since:
1.0
See Also:
Constant Field Values

GPIO_PROFILE_PREFIX

public static final java.lang.String GPIO_PROFILE_PREFIX
Define the GPIO profile prefix configuration key.

Since:
1.0
See Also:
Constant Field Values

gpioProfileServiceOutputRequestExternalKey

protected java.lang.String gpioProfileServiceOutputRequestExternalKey
Define GPIO profile service output request external key.

Since:
1.0

gpioProfileServiceInputExternalKey

protected java.lang.String gpioProfileServiceInputExternalKey
Define GPIO profile service input external key.

Since:
1.0

gpioProfileServiceInputGetExternalKey

protected java.lang.String gpioProfileServiceInputGetExternalKey
Define GPIO profile service input get external key.

Since:
1.0

gpioProfileServiceStatusExternalKey

protected java.lang.String gpioProfileServiceStatusExternalKey
Define GPIO profile service status external key.

Since:
1.0

gpioProfileServiceStatusGetExternalKey

protected java.lang.String gpioProfileServiceStatusGetExternalKey
Define GPIO profile service status get external key.

Since:
1.0

CONTROL_PROFILE_PREFIX

public static final java.lang.String CONTROL_PROFILE_PREFIX
Define the control profile prefix configuration key.

Since:
1.0
See Also:
Constant Field Values

controlProfileServiceBitsExternalKey

protected java.lang.String controlProfileServiceBitsExternalKey
Define control profile service bits external key.

Since:
1.0

controlProfileServiceBitsGetExternalKey

protected java.lang.String controlProfileServiceBitsGetExternalKey
Define control profile service bits get external key.

Since:
1.0

controlProfileServiceLongsExternalKey

protected java.lang.String controlProfileServiceLongsExternalKey
Define control profile service longs external key.

Since:
1.0

controlProfileServiceLongsGetExternalKey

protected java.lang.String controlProfileServiceLongsGetExternalKey
Define control profile service longs get external key.

Since:
1.0

RFID_INVENTORY_PROFILE_PREFIX

public static final java.lang.String RFID_INVENTORY_PROFILE_PREFIX
Define the RFID inventory profile prefix configuration key.

Since:
1.0
See Also:
Constant Field Values

rfidInventoryProfileServiceStatusExternalKey

protected java.lang.String rfidInventoryProfileServiceStatusExternalKey
Define RFID inventory profile service status external key.

Since:
1.0

rfidInventoryProfileServiceStatusGetExternalKey

protected java.lang.String rfidInventoryProfileServiceStatusGetExternalKey
Define RFID inventory profile service status get external key.

Since:
1.0

rfidInventoryProfileServiceTagReadingExternalKey

protected java.lang.String rfidInventoryProfileServiceTagReadingExternalKey
Define RFID inventory profile service tag reading external key.

Since:
1.0

rfidInventoryProfileServiceTagReadingGetExternalKey

protected java.lang.String rfidInventoryProfileServiceTagReadingGetExternalKey
Define RFID inventory profile service tag reading get external key.

Since:
1.0

rfidInventoryProfileServiceTagAggregatingExternalKey

protected java.lang.String rfidInventoryProfileServiceTagAggregatingExternalKey
Define RFID inventory profile service tag aggregating external key.

Since:
1.1

rfidInventoryProfileServiceTagAggregatingGetExternalKey

protected java.lang.String rfidInventoryProfileServiceTagAggregatingGetExternalKey
Define RFID inventory profile service tag aggregating get external key.

Since:
1.1

rfidInventoryProfileServiceDuplicateFilteringExternalKey

protected java.lang.String rfidInventoryProfileServiceDuplicateFilteringExternalKey
Define RFID inventory profile service duplicate filtering external key.

Since:
1.1

rfidInventoryProfileServiceDuplicateFilteringGetExternalKey

protected java.lang.String rfidInventoryProfileServiceDuplicateFilteringGetExternalKey
Define RFID inventory profile service duplicate filtering get external key.

Since:
1.1

rfidInventoryProfileServiceTagReportExternalKey

protected java.lang.String rfidInventoryProfileServiceTagReportExternalKey
Define RFID inventory profile service tag report external key.

Since:
1.0

rfidInventoryProfileServiceTagAggregationReportExternalKey

protected java.lang.String rfidInventoryProfileServiceTagAggregationReportExternalKey
Define RFID inventory profile service tag aggregation report external key.

Since:
1.1
Constructor Detail

RfidMockScenarioProfile

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

Since:
1.0
Method Detail

getGpioProfilePrefix

public java.lang.String getGpioProfilePrefix()
Get the GPIO profile prefix value.

Returns:
The GPIO profile prefix value.
Since:
1.0
See Also:
GPIO_PROFILE_PREFIX

getControlProfilePrefix

public java.lang.String getControlProfilePrefix()
Get the control profile prefix value.

Returns:
The control profile prefix value.
Since:
1.0
See Also:
CONTROL_PROFILE_PREFIX

getRfidInventoryProfilePrefix

public java.lang.String getRfidInventoryProfilePrefix()
Get the RFID inventory profile prefix value.

Returns:
The RFID inventory profile prefix value.
Since:
1.0
See Also:
RFID_INVENTORY_PROFILE_PREFIX

notificationReceived

public void notificationReceived(java.lang.String externalKey,
                                 java.util.Dictionary data)
Notification received.

Parameters:
externalKey - external key.
data - data.
Since:
1.0

setupNotification

public void setupNotification()
Setup notification.

Since:
1.0

getDefaultKey

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

Returns:
String The default key
Since:
1.0

getDefaultDevice

public DeviceService getDefaultDevice()
Gets the default DeviceService.

Returns:
DeviceService The default DeviceService.
Since:
1.0

isDeviceNeeded

public boolean isDeviceNeeded()
Is device needed.

Returns:
The results of this method.
Since:
1.0

setScenario

public void setScenario(int scenario)
TEST mock scenario description here.

Parameters:
scenario - The scenario custom parameter.
Since:
1.0
See Also:
getScenario()

getScenario

public int getScenario()
TEST mock scenario description here.

Returns:
scenario custom parameter.
Since:
1.0
See Also:
setScenario(int)

setup

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

isAdapterNeeded

public boolean isAdapterNeeded()
Is adapter needed.

Returns:
The results of this method.
Since:
1.1

activate

public void activate()
Activate.


deactivate

public void deactivate()
Deactivate.


2010-01-22 1.2.0

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