2009-10-01 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.helper.idmanager
Class ROSpecIdManager

java.lang.Object
  extended by org.eclipse.soda.dk.epcglobal.llrp.helper.idmanager.AbstractLLRPIdManager
      extended by org.eclipse.soda.dk.epcglobal.llrp.helper.idmanager.ROSpecIdManager
All Implemented Interfaces:
IIdManager

public class ROSpecIdManager
extends AbstractLLRPIdManager

Since:
1.0
Version:
1.2.0

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.idmanager.AbstractLLRPIdManager
DEFAULT_START, OWNER_KEY, STATUS_KEY, UNLIMITED
 
Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.idmanager.IIdManager
RESULT_IDUSED, RESULT_INVALID, RESULT_NOT_FOUND, RESULT_OVERLIMIT, RESULT_SUCCESS, STATUS_DISABLE_REQUESTED, STATUS_STANDBY, STATUS_STANDBY_NEW, STATUS_START_REQUESTED, STATUS_STARTED, STATUS_STOP_REQUESTED, STATUS_STOPPED
 
Constructor Summary
ROSpecIdManager()
          Constructs an instance of this class.
ROSpecIdManager(int startId, int maxIdNum)
          Constructs an instance of this class from the specified start id and max id num parameters.
 
Method Summary
 java.lang.Object createIdObj(int id)
          Create id obj with the specified id parameter and return the Object result.
 int extractId(java.lang.Object idObj)
          Extract id with the specified id obj parameter and return the int result.
 
Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.idmanager.AbstractLLRPIdManager
createIDContentMap, getIds, getIdStatus, getIdStatus, getIdStatus, getMaxIdNum, getOwner, getOwner, getStartId, isAllIdsStarted, isAllIdsStopped, registerId, registerId, registerNextId, removeId, removeIdsByOwner, reset, setIdStatus, setIdStatus, setMaxIdNum, setStartId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ROSpecIdManager

public ROSpecIdManager()
Constructs an instance of this class.

See Also:
ROSpecIdManager(int,int)

ROSpecIdManager

public ROSpecIdManager(int startId,
                       int maxIdNum)
Constructs an instance of this class from the specified start id and max id num parameters.

Parameters:
startId - The start ID (int) parameter.
maxIdNum - The max ID num (int) parameter.
See Also:
ROSpecIdManager()
Method Detail

createIdObj

public java.lang.Object createIdObj(int id)
Create id obj with the specified id parameter and return the Object result.

Specified by:
createIdObj in class AbstractLLRPIdManager
Parameters:
id - The ID (int) parameter.
Returns:
Results of the create id obj (Object) value.
See Also:
#getIdObj()

extractId

public int extractId(java.lang.Object idObj)
Extract id with the specified id obj parameter and return the int result.

Specified by:
extractId in class AbstractLLRPIdManager
Parameters:
idObj - The ID obj (Object) parameter.
Returns:
Results of the extract id (int) value.
See Also:
#getId()

2009-10-01 1.2.0

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