|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.model.Reference
The 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 Summary | |
Reference()
|
|
Reference(Node node)
|
|
Reference(Reference reference)
|
Method Summary | |
java.lang.Object |
getData()
Returns the data element associated with this Data . |
java.lang.Class |
getNodeClass()
|
java.net.URL |
getURL()
Gets the node's URL. |
void |
setNodeClass(java.lang.Class nodeClass)
|
void |
setURL(java.net.URL url)
Sets the node's URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Reference()
public Reference(Reference reference)
public Reference(Node node)
Method Detail |
public java.lang.Object getData()
Data
Data
.
The getData()
method provides a
standard means for getting the data element whether or not it is
same object as its Element
object.
getData
in interface Data
Data
instance.public java.net.URL getURL()
getURL
in interface Locatable
URL
identifying this Locatable
.public void setURL(java.net.URL url)
setURL
in interface Locatable
url
- The URL
to set.public java.lang.Class getNodeClass()
public void setNodeClass(java.lang.Class nodeClass)
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.