org.pasoa.common.structure
Class Link

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

public class Link
extends Object
implements Serializable

Represents a link to a provenance store. I.e. a pointer to another provenance store.

Author:
pgroth
See Also:
Serialized Form

Constructor Summary
Link(String toStore)
          Construct a link
 
Method Summary
 boolean equals(Object other)
           
 String getStoreURL()
          If method returns "" then the link is blank
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Link

public Link(String toStore)
Construct a link

Parameters:
toStore - the url to the store as a string
Method Detail

equals

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

getStoreURL

public String getStoreURL()
If method returns "" then the link is blank

Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Object