org.pasoa.common.structure
Class ObjectID
java.lang.Object
org.pasoa.common.structure.PAssertionDataKey
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
ObjectID
public ObjectID(GlobalPAssertionKey gpak,
String parameterName,
Element dataAccessor,
Link objectLink)
ObjectID
public ObjectID(PAssertionDataKey data,
String parameterName,
Link objectLink)
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