ALBPM Process API

fuego.papi
Class InstanceStamp

java.lang.Object
  extended by fuego.papi.InstanceStamp
All Implemented Interfaces:
Serializable

Deprecated. Use InstanceActivityPair instead.

@Deprecated
public class InstanceStamp
extends Object
implements Serializable

This class keeps the minimal information about the Process Instance needed in the engine side in order to perform any operation over an instance.
It is needed when an operation over an instance has to be done through PAPI. This stamp will carry the instance information, and the activity where this instance is suposed to be.

To create an InstanceStamp use any of the getStamp(...) methods in InstanceInfo.

See Also:
InstanceInfo, Serialized Form

Method Summary
static InstanceStamp create(String stampId)
          Deprecated. Creates an InstanceStam from an StampId
static InstanceStamp create(String instanceId, String activityName)
          Deprecated. Creates an InstanceStamp object.
 String getActivityName()
          Deprecated. Returns the activity name where the carried instance is suposed to be.
 String getId()
          Deprecated. Returns the identificator for this stamp.
 String getInstanceId()
          Deprecated. Returns the instanceId carried in this stamp.
 int getInstanceIn()
          Deprecated. Returns the instance identificator number.
 String getProcessId()
          Deprecated. Returns the process identificator for this instance.
 int getThreadIn()
          Deprecated. Returns the thread identificator numberfor this instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static final InstanceStamp create(String instanceId,
                                         String activityName)
Deprecated. 
Creates an InstanceStamp object.

Parameters:
instanceId -
activityName -
Returns:
the instanceStampe object created

create

public static final InstanceStamp create(String stampId)
Deprecated. 
Creates an InstanceStam from an StampId

Parameters:
stampId - instanceId/activityName
Returns:
InstanceStamp created

getActivityName

public String getActivityName()
Deprecated. 
Returns the activity name where the carried instance is suposed to be.


getId

public String getId()
Deprecated. 
Returns the identificator for this stamp. The id returned is composed by the instanceId and the activityName. instanceStampId = "instanceId/activityName" InstanceInfo has a method to use this id getStamp(instanceStampId)

Returns:
instanceStampId
See Also:
InstanceInfo.getStamp(String)

getInstanceId

public String getInstanceId()
Deprecated. 
Returns the instanceId carried in this stamp.


getInstanceIn

public int getInstanceIn()
Deprecated. 
Returns the instance identificator number.


getProcessId

public String getProcessId()
Deprecated. 
Returns the process identificator for this instance.


getThreadIn

public int getThreadIn()
Deprecated. 
Returns the thread identificator numberfor this instance.


ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved