ALBPM Process API

fuego.papi.collections
Class InstanceActivityPair

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

public class InstanceActivityPair
extends Object
implements Serializable

See Also:
Serialized Form

Method Summary
 boolean equals(Object o)
           
 String getActivityName()
          Returns the name of the activity where you suppose that the instance is.
 String getInstanceId()
          Returns the identification of the instance.
 int hashCode()
           
 String toString()
          Returns a string representation of the object.
static InstanceActivityPair valueOf(String instanceActivityPairId)
          Returns an InstanceActivityPair created from the given String.
static InstanceActivityPair valueOf(String instanceId, String activityName)
          Returns an InstanceActivityPair created from the given instances identification and activity name.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

valueOf

public static InstanceActivityPair valueOf(String instanceActivityPairId)
Returns an InstanceActivityPair created from the given String.

Parameters:
instanceActivityPairId - The String which represents a specific InstanceActivityPair
Returns:
An InstanceActivityPair represented by the given String.

valueOf

public static InstanceActivityPair valueOf(String instanceId,
                                           String activityName)
Returns an InstanceActivityPair created from the given instances identification and activity name.

Parameters:
instanceId - instance identification for the InstanceActivityPair.
activityName - activity name for the InstanceActivityPair.
Returns:
An InstanceActivityPair represented by the given instance identification and activity name.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getInstanceId

public String getInstanceId()
Returns the identification of the instance.

Returns:
A String with the identification of the instance.

getActivityName

public String getActivityName()
Returns the name of the activity where you suppose that the instance is.

Returns:
A String with the name of the activity.

toString

public String toString()
Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read.

Overrides:
toString in class Object
Returns:
A String representation of the object.

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved