2008-07-29 1.1.0

org.eclipse.soda.dk.barcode.reader.inventory.profile
Class BarcodeReaderInventoryProfile

java.lang.Object
  extended by RfidInventoryProfile
      extended by org.eclipse.soda.dk.barcode.reader.inventory.profile.BarcodeReaderInventoryProfile
All Implemented Interfaces:
BarcodeReaderInventoryProfileService

public class BarcodeReaderInventoryProfile
extends RfidInventoryProfile
implements BarcodeReaderInventoryProfileService

Barcode Reader Profile. The BarcodeReaderInventoryProfile class implements the BarcodeReaderInventoryProfileService and provides the controls for the profile.

The list of exported services:

Version:
1.1.0
See Also:
BarcodeReaderInventoryProfileService,

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  SignalService barcodeReaderDeviceServiceBarcodeReport
          Defines the BarcodeReport signalref.
static java.lang.String CLASS_NAME
          Defines the full class name.
protected  boolean reading
          Define the reading (boolean) field.
 
Fields inherited from interface org.eclipse.soda.dk.barcode.reader.inventory.profile.service.BarcodeReaderInventoryProfileService
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, BarcodeReaderInventoryProfile, 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, MANAGED_SERVICE_NAME, Metrics, METRICS_ERROR_EXTERNAL_KEY, METRICS_EXTERNAL_KEY, METRICS_GET_EXTERNAL_KEY, SERVICE_DESCRIPTION, SERVICE_NAME, Status, STATUS_ERROR_EXTERNAL_KEY, STATUS_EXTERNAL_KEY, STATUS_GET_EXTERNAL_KEY
 
Constructor Summary
BarcodeReaderInventoryProfile()
          Constructs a new instance of the BarcodeReaderInventoryProfile class.
 
Method Summary
protected  boolean autonomousModeOff()
          Autonomous mode off and return the boolean result.
protected  boolean autonomousModeOn()
          Autonomous mode on and return the boolean result.
 AdapterService getAdapter()
          Gets the get adapter value.
 DeviceService getDefaultDevice()
          Gets the default DeviceService.
 java.lang.String getDefaultKey()
          Gets the default key of the profile.
 void handleBarcodeReaderDeviceServiceBarcodeReport(SignalService source, java.lang.Object timestamp, java.lang.Object data)
          Handle barcode reader device service barcode report with the specified source, timestamp and data parameters.
 boolean isAdapterNeeded()
          Is adapter needed.
 boolean isDeviceNeeded()
          Is device needed.
 boolean isReading()
          Gets the reading (boolean) value.
 void setAdapter(AdapterService adapter)
          Set adapter.
 void setDevice(DeviceService device)
          Set device.
 void setReading(boolean reading)
          Sets the reading value.
 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

barcodeReaderDeviceServiceBarcodeReport

protected SignalService barcodeReaderDeviceServiceBarcodeReport
Defines the BarcodeReport signalref.


reading

protected boolean reading
Define the reading (boolean) field.

Constructor Detail

BarcodeReaderInventoryProfile

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

Method Detail

setDevice

public void setDevice(DeviceService device)
Set device.

Parameters:
device - device.

signalOccurred

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

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

getDefaultKey

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

Returns:
String The default key

getDefaultDevice

public DeviceService getDefaultDevice()
Gets the default DeviceService.

Returns:
DeviceService The default DeviceService.

isDeviceNeeded

public boolean isDeviceNeeded()
Is device needed.

Returns:
The results of this method.

getAdapter

public AdapterService getAdapter()
Gets the get adapter value.

Returns:
The adapter value.

setAdapter

public void setAdapter(AdapterService adapter)
Set adapter.

Parameters:
adapter - adapter.

isAdapterNeeded

public boolean isAdapterNeeded()
Is adapter needed.

Returns:
The results of this method.

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.

handleBarcodeReaderDeviceServiceBarcodeReport

public void handleBarcodeReaderDeviceServiceBarcodeReport(SignalService source,
                                                          java.lang.Object timestamp,
                                                          java.lang.Object data)
Handle barcode reader device service barcode report with the specified source, timestamp and data parameters.

Parameters:
source - The source (SignalService) parameter.
timestamp - The timestamp (Object) parameter.
data - The data (Object) parameter.

isReading

public boolean isReading()
Gets the reading (boolean) value.

Returns:
The reading (boolean) value.
See Also:
setReading(boolean)

setReading

public void setReading(boolean reading)
Sets the reading value.

Parameters:
reading - The reading (boolean) parameter.
See Also:
isReading()

2008-07-29 1.1.0

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