public final class Reference
extends java.lang.Object
Reference class is used to reference data nodes
such as workspaces and projects from their containers. When a
container saves its data, saving a Reference saves
the url to the data node in the container file.| Constructor and Description |
|---|
Reference() |
Reference(Node node)
Public constructor allowing to create References for use as keys
to project owner map.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Node |
getData()
Returns the
Node associated with this Reference. |
java.lang.Class |
getNodeClass() |
java.net.URL |
getURL() |
int |
hashCode() |
void |
setNodeClass(java.lang.Class nodeClass) |
void |
setURL(java.net.URL url) |
java.lang.String |
toString() |
public Reference()
public Reference(Node node)
public Node getData()
Node associated with this Reference.Node associated with this Reference.public java.net.URL getURL()
public void setURL(java.net.URL url)
public java.lang.Class getNodeClass()
public void setNodeClass(java.lang.Class nodeClass)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object