2009-10-01 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.helper.idmanager
Interface IIdManager

All Known Implementing Classes:
AbstractLLRPIdManager, AccessSpecIdManager, ROSpecIdManager

public interface IIdManager

Version:
1.2.0

Field Summary
static int RESULT_IDUSED
          Define the result idused (int) constant.
static int RESULT_INVALID
          Define the result invalid (int) constant.
static int RESULT_NOT_FOUND
          Define the result not found (int) constant.
static int RESULT_OVERLIMIT
          Define the result overlimit (int) constant.
static int RESULT_SUCCESS
          Define the result success (int) constant.
static int STATUS_DISABLE_REQUESTED
           
static int STATUS_STANDBY
          Define the status standby (int) constant.
static int STATUS_STANDBY_NEW
          Define the status standby (int) constant.
static int STATUS_START_REQUESTED
          Define the status start requested (int) constant.
static int STATUS_STARTED
          Define the status started (int) constant.
static int STATUS_STOP_REQUESTED
          Define the status stop requested (int) constant.
static int STATUS_STOPPED
          Define the status stopped (int) constant.
 
Method Summary
 java.util.List getIds(java.lang.Object owner)
          Get ids with the specified owner parameter and return the List result.
 int getIdStatus(int id, java.lang.Object owner)
          Get id status with the specified id and owner parameters and return the int result.
 int getIdStatus(java.lang.Object idObj, java.lang.Object owner)
          Get id status with the specified id obj and owner parameters and return the int result.
 java.lang.Object getOwner(int id)
          Get owner with the specified id parameter and return the Object result.
 java.lang.Object getOwner(java.lang.Object idObj)
          Get owner with the specified id obj parameter and return the Object result.
 boolean isAllIdsStarted(java.lang.Object owner)
          Is all ids started with the specified owner parameter and return the boolean result.
 boolean isAllIdsStopped(java.lang.Object owner)
          Is all ids stopped with the specified owner parameter and return the boolean result.
 int registerId(int id, java.lang.Object owner)
          Register id with the specified id and owner parameters and return the int result.
 int registerId(java.lang.Object idObj, java.lang.Object owner)
          Register id with the specified id obj and owner parameters and return the int result.
 int registerNextId(java.lang.Object owner)
          Register next id with the specified owner parameter and return the int result.
 void removeId(java.lang.Object idObj)
          Remove id with the specified id obj parameter.
 void removeIdsByOwner(java.lang.Object owner)
          Remove ids by owner with the specified owner parameter.
 void reset()
          Reset.
 int setIdStatus(int id, java.lang.Object owner, int status)
          Set id status with the specified id, owner and status parameters and return the int result.
 int setIdStatus(java.lang.Object idObj, java.lang.Object owner, int status)
          Set id status with the specified id obj, owner and status parameters and return the int result.
 void setMaxIdNum(int maxIdNum)
          Sets the max ID num value.
 void setStartId(int startId)
          Sets the start ID value.
 

Field Detail

RESULT_SUCCESS

static final int RESULT_SUCCESS
Define the result success (int) constant.

See Also:
Constant Field Values

RESULT_IDUSED

static final int RESULT_IDUSED
Define the result idused (int) constant.

See Also:
Constant Field Values

RESULT_OVERLIMIT

static final int RESULT_OVERLIMIT
Define the result overlimit (int) constant.

See Also:
Constant Field Values

RESULT_INVALID

static final int RESULT_INVALID
Define the result invalid (int) constant.

See Also:
Constant Field Values

RESULT_NOT_FOUND

static final int RESULT_NOT_FOUND
Define the result not found (int) constant.

See Also:
Constant Field Values

STATUS_STANDBY_NEW

static final int STATUS_STANDBY_NEW
Define the status standby (int) constant.

See Also:
Constant Field Values

STATUS_STARTED

static final int STATUS_STARTED
Define the status started (int) constant.

See Also:
Constant Field Values

STATUS_STOPPED

static final int STATUS_STOPPED
Define the status stopped (int) constant.

See Also:
Constant Field Values

STATUS_STANDBY

static final int STATUS_STANDBY
Define the status standby (int) constant.

See Also:
Constant Field Values

STATUS_START_REQUESTED

static final int STATUS_START_REQUESTED
Define the status start requested (int) constant.

Since:
1.2
See Also:
Constant Field Values

STATUS_STOP_REQUESTED

static final int STATUS_STOP_REQUESTED
Define the status stop requested (int) constant.

Since:
1.2
See Also:
Constant Field Values

STATUS_DISABLE_REQUESTED

static final int STATUS_DISABLE_REQUESTED
Since:
1.2
See Also:
Constant Field Values
Method Detail

getIdStatus

int getIdStatus(java.lang.Object idObj,
                java.lang.Object owner)
Get id status with the specified id obj and owner parameters and return the int result.

Parameters:
idObj - The ID obj (Object) parameter.
owner - The owner (Object) parameter.
Returns:
Results of the get id status (int) value.
See Also:
getIdStatus(int,Object), setIdStatus(Object,Object,int), setIdStatus(int,Object,int)

getIdStatus

int getIdStatus(int id,
                java.lang.Object owner)
Get id status with the specified id and owner parameters and return the int result.

Parameters:
id - The ID (int) parameter.
owner - The owner (Object) parameter.
Returns:
Results of the get id status (int) value.
See Also:
getIdStatus(Object,Object), setIdStatus(Object,Object,int), setIdStatus(int,Object,int)

getIds

java.util.List getIds(java.lang.Object owner)
Get ids with the specified owner parameter and return the List result.

Parameters:
owner - The owner (Object) parameter.
Returns:
Results of the get ids (List) value.

getOwner

java.lang.Object getOwner(java.lang.Object idObj)
Get owner with the specified id obj parameter and return the Object result.

Parameters:
idObj - The ID obj (Object) parameter.
Returns:
Results of the get owner (Object) value.
See Also:
getOwner(int), removeIdsByOwner(Object)

getOwner

java.lang.Object getOwner(int id)
Get owner with the specified id parameter and return the Object result.

Parameters:
id - The ID (int) parameter.
Returns:
Results of the get owner (Object) value.
See Also:
getOwner(Object), removeIdsByOwner(Object)

isAllIdsStarted

boolean isAllIdsStarted(java.lang.Object owner)
Is all ids started with the specified owner parameter and return the boolean result.

Parameters:
owner - The owner (Object) parameter.
Returns:
Results of the is all ids started (boolean) value.

isAllIdsStopped

boolean isAllIdsStopped(java.lang.Object owner)
Is all ids stopped with the specified owner parameter and return the boolean result.

Parameters:
owner - The owner (Object) parameter.
Returns:
Results of the is all ids stopped (boolean) value.

registerId

int registerId(java.lang.Object idObj,
               java.lang.Object owner)
Register id with the specified id obj and owner parameters and return the int result.

Parameters:
idObj - The ID obj (Object) parameter.
owner - The owner (Object) parameter.
Returns:
Results of the register id (int) value.
See Also:
registerId(int,Object), registerNextId(Object), removeId(Object), setStartId(int)

registerId

int registerId(int id,
               java.lang.Object owner)
Register id with the specified id and owner parameters and return the int result.

Parameters:
id - The ID (int) parameter.
owner - The owner (Object) parameter.
Returns:
Results of the register id (int) value.
See Also:
registerId(Object,Object), registerNextId(Object), removeId(Object), setStartId(int)

registerNextId

int registerNextId(java.lang.Object owner)
Register next id with the specified owner parameter and return the int result.

Parameters:
owner - The owner (Object) parameter.
Returns:
Results of the register next id (int) value.

removeId

void removeId(java.lang.Object idObj)
Remove id with the specified id obj parameter.

Parameters:
idObj - The ID obj (Object) parameter.
See Also:
registerId(Object,Object), registerId(int,Object), registerNextId(Object), setStartId(int)

removeIdsByOwner

void removeIdsByOwner(java.lang.Object owner)
Remove ids by owner with the specified owner parameter.

Parameters:
owner - The owner (Object) parameter.

reset

void reset()
Reset.


setIdStatus

int setIdStatus(java.lang.Object idObj,
                java.lang.Object owner,
                int status)
Set id status with the specified id obj, owner and status parameters and return the int result.

Parameters:
idObj - The ID obj (Object) parameter.
owner - The owner (Object) parameter.
status - The status (int) parameter.
Returns:
Results of the set id status (int) value.
See Also:
getIdStatus(Object,Object), getIdStatus(int,Object), setIdStatus(int,Object,int)

setIdStatus

int setIdStatus(int id,
                java.lang.Object owner,
                int status)
Set id status with the specified id, owner and status parameters and return the int result.

Parameters:
id - The ID (int) parameter.
owner - The owner (Object) parameter.
status - The status (int) parameter.
Returns:
Results of the set id status (int) value.
See Also:
getIdStatus(Object,Object), getIdStatus(int,Object), setIdStatus(Object,Object,int)

setMaxIdNum

void setMaxIdNum(int maxIdNum)
Sets the max ID num value.

Parameters:
maxIdNum - The max ID num (int) parameter.

setStartId

void setStartId(int startId)
Sets the start ID value.

Parameters:
startId - The start ID (int) parameter.

2009-10-01 1.2.0

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