org.pasoa.common.structure
Class GlobalPAssertionKey

java.lang.Object
  extended by org.pasoa.common.structure.GlobalPAssertionKey
All Implemented Interfaces:
Serializable

public class GlobalPAssertionKey
extends Object
implements Serializable

Represents a global key that accesses a p-assertion.

Author:
pgroth, sm
See Also:
Serialized Form

Constructor Summary
GlobalPAssertionKey(InteractionKey interactionRecordID, String viewName, String localPAssertionID)
          Construct a GlobalPAssertionKey, which points to a particular p-assertion uniquely
 
Method Summary
 boolean equals(Object other)
          Checks whether one GlobalPAssertionKey is equal to another.
 InteractionKey getInteractionKey()
           
 String getLocalPAssertionID()
           
 String getViewName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalPAssertionKey

public GlobalPAssertionKey(InteractionKey interactionRecordID,
                           String viewName,
                           String localPAssertionID)
Construct a GlobalPAssertionKey, which points to a particular p-assertion uniquely

Parameters:
interactionRecordID - the interaction record where the p-assertion resides
viewName - the view in the interaction record where the p-assertion resides
localPAssertionID - the local id of the p-assertion which distinguishes it from all other p-assertions in that view
Method Detail

equals

public boolean equals(Object other)
Checks whether one GlobalPAssertionKey is equal to another. Links are ignored during the comparison.

Overrides:
equals in class Object

getLocalPAssertionID

public String getLocalPAssertionID()

getInteractionKey

public InteractionKey getInteractionKey()

getViewName

public String getViewName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object