|
Extension SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ide.model.DefaultDisplayable | +--oracle.ide.model.DefaultElement | +--oracle.ide.model.DefaultDocument | +--oracle.ide.model.DefaultNode
The DefaultNode
class is a default implementation of the
Node
interface.
No copy constructor is implemented because of the problems with
Node
caching that would come up.
DefaultDocument
,
Node
Fields inherited from interface oracle.ide.addin.Subject |
OBJECT_MODIFIED |
Fields inherited from interface oracle.ide.model.Category |
UNDEFINED |
Constructor Summary | |
DefaultNode()
Default constructor is required for JavaBean status. |
|
DefaultNode(java.net.URL url)
Constructor that takes an URL pointing to the persistent
location of the DefaultNode 's contents. |
Method Summary | |
protected boolean |
equalsImpl(DefaultNode node)
This is a helper method for Object.equals(Object) that can
also be used by subclasses that implement Object.equals(Object) . |
int |
getCategory()
Get the bit field identifying the different categories this data node falls under. |
void |
setURL(java.net.URL newURL)
Sets the URL associated with this DefaultNode and
recaches the DefaultNode in the NodeFactory with
the new URL so that subsequent queries for the
DefaultNode will return successfully. |
Methods inherited from class oracle.ide.model.DefaultDocument |
attach, close, copyToImpl, createSubject, detach, ensureOpen, equalsImpl, getInputStream, getLongLabel, getShortLabel, getSubject, getTimestamp, getTimestampDirectly, getToolTipText, getURL, isDirty, isNew, isOpen, isReadOnly, markDirty, notifyObservers, open, refreshTimestamp, save, setOpen, setTimestampDirectly |
Methods inherited from class oracle.ide.model.DefaultElement |
getAttributes, getChildren, getData, mayHaveChildren |
Methods inherited from class oracle.ide.model.DefaultDisplayable |
getIcon, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Document |
close, getInputStream, getTimestamp, isNew, isReadOnly, open, save |
Methods inherited from interface oracle.ide.model.Locatable |
getURL |
Methods inherited from interface oracle.ide.model.Element |
getAttributes, getChildren, mayHaveChildren |
Methods inherited from interface oracle.ide.model.Data |
getData |
Methods inherited from interface oracle.ide.model.Displayable |
getIcon, getLongLabel, getShortLabel, getToolTipText, toString |
Methods inherited from interface oracle.ide.addin.Subject |
attach, detach, notifyObservers |
Methods inherited from interface oracle.ide.model.Dirtyable |
isDirty, markDirty |
Methods inherited from interface oracle.ide.model.LazyLoadable |
isOpen |
Constructor Detail |
public DefaultNode()
public DefaultNode(java.net.URL url)
URL
pointing to the persistent
location of the DefaultNode
's contents.url
- URL
identifying the persistent location of
the DefaultNode
.Method Detail |
public void setURL(java.net.URL newURL)
URL
associated with this DefaultNode
and
recaches the DefaultNode
in the NodeFactory
with
the new URL
so that subsequent queries for the
DefaultNode
will return successfully.setURL
in interface Locatable
setURL
in class DefaultDocument
Locatable.setURL(URL)
,
DefaultDocument.setURL(URL)
public int getCategory()
Category
getCategory
in interface Category
oracle.ide.model.Category
protected final boolean equalsImpl(DefaultNode node)
Object.equals(Object)
that can
also be used by subclasses that implement Object.equals(Object)
.
It assumes that the argument is not null
.
|
Extension SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |