org.pasoa.common.structure
Class GlobalPAssertionKey
java.lang.Object
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
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
residesviewName
- the view in the interaction record where the p-assertion
resideslocalPAssertionID
- the local id of the p-assertion which
distinguishes it from all other p-assertions in that view
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