org.pasoa.common.structure
Class ObjectID

java.lang.Object
  extended by org.pasoa.common.structure.PAssertionDataKey
      extended by org.pasoa.common.structure.ObjectID
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RelationshipTarget

public class ObjectID
extends PAssertionDataKey

Represents an object id in a relationship p-assertion. An object id is a pointer to a p-assertion and possibly part of its contents. The object id also identifies the parameter the data is associated with in the relationship. If the p-assertion is located in another provenance store an link may also be included that points to the store where p-assertion is.

Author:
pgroth, sm
See Also:
Serialized Form

Constructor Summary
ObjectID(GlobalPAssertionKey gpak, String parameterName, Element dataAccessor, Link objectLink)
           
ObjectID(PAssertionDataKey data, String parameterName, Link objectLink)
           
 
Method Summary
 boolean equals(Object otherPADK)
           
 Link getLink()
           
 Element getObjectDataAccessor()
           
 String getParameterName()
           
 int hashCode()
           
 
Methods inherited from class org.pasoa.common.structure.PAssertionDataKey
getDataAccessor, getGlobalPAssertionKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectID

public ObjectID(GlobalPAssertionKey gpak,
                String parameterName,
                Element dataAccessor,
                Link objectLink)

ObjectID

public ObjectID(PAssertionDataKey data,
                String parameterName,
                Link objectLink)
Method Detail

equals

public boolean equals(Object otherPADK)
Overrides:
equals in class PAssertionDataKey

getLink

public Link getLink()

getParameterName

public String getParameterName()

getObjectDataAccessor

public Element getObjectDataAccessor()

hashCode

public int hashCode()
Overrides:
hashCode in class PAssertionDataKey