|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.data.HashStructureAdapter oracle.jdeveloper.deploy.dt.DeployElement
public class DeployElement
An extension of DefaultElement
that also implements the
LinkedDirtyable
interface.
Field Summary |
---|
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Constructor Summary | |
---|---|
DeployElement()
Default constructor required for JavaBean status. |
|
DeployElement(HashStructure hash)
|
Method Summary | |
---|---|
void |
attach(Observer observer)
Registers an observer interested in being notified when the internal state of the class implementing the Subject interface
changes. |
void |
detach(Observer observer)
Unregisters an observer that is not interested anymore in being notified when the internal state of the class implementing the Subject
interface changes. |
Attributes |
getAttributes()
Part of the Element interface. |
java.util.Iterator |
getChildren()
Part of the Element interface. |
java.lang.Object |
getData()
Part of the Data interface. |
javax.swing.Icon |
getIcon()
This implementation returns a plain document icon. |
java.lang.String |
getLongLabel()
This implementation delegates to getShortLabel() . |
java.lang.String |
getShortLabel()
Returns a short label that can be displayed to the user. |
java.lang.String |
getToolTipText()
Returns the tool tip text to show when the mouse pointer pauses over a UI component that represents this Displayable . |
boolean |
isDirty()
True if the data in the object has been modified. |
void |
linkContainingDirtyable(Dirtyable containing)
|
void |
linkEmbeddedDirtyable(Dirtyable embedded)
|
void |
linkEmbeddedDirtyable(LinkedDirtyable embedded)
|
void |
linkEmbeddedDirtyables(LinkedDirtyable[] embedded)
|
void |
markDirty(boolean dirty)
Marks the data with the specified dirty state. |
boolean |
mayHaveChildren()
Part of the Element interface. |
void |
notifyObservers(java.lang.Object subject,
UpdateMessage change)
Notifies all observers that the state of the subject has changed. |
void |
setOwner(Dirtyable containing)
This method should be called to set the document in which a SubDirtyable implementation will be persisted. |
java.lang.String |
toString()
This implementation delegates to getShortLabel() . |
void |
unlinkContainingDirtyable(Dirtyable containing)
|
void |
unlinkEmbeddedDirtyable(Dirtyable embedded)
|
void |
unlinkEmbeddedDirtyable(LinkedDirtyable embedded)
|
void |
unlinkEmbeddedDirtyables(LinkedDirtyable[] embedded)
|
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeployElement()
public DeployElement(HashStructure hash)
Method Detail |
---|
public java.lang.String getToolTipText()
Displayable
Displayable
.
In many cases it may be appropriate for this method to return the
same value as Displayable.getLongLabel()
.
getToolTipText
in interface Displayable
Displayable
.public void attach(Observer observer)
Subject
Subject
interface
changes.
Implementors should do nothing when the same observer is added more
than once.
attach
in interface Subject
observer
- the Observer
interested in change notification
messages.public void detach(Observer observer)
Subject
Subject
interface changes.
Implementors should do nothing when the same observer is removed more
than once.
detach
in interface Subject
observer
- the Observer
disinterested in change
notification messages.public void notifyObservers(java.lang.Object subject, UpdateMessage change)
Subject
notifyObservers
in interface Subject
subject
- the subject whose state has changed.change
- what changed.public boolean isDirty()
Dirtyable
isDirty
in interface Dirtyable
true
if the data in the object has been modified.public void markDirty(boolean dirty)
Dirtyable
markDirty(...)
instead of
setDirty(...)
so that the JavaBeans
Introspector
will not
mistakenly identify "dirty" as a JavaBean property.
markDirty
in interface Dirtyable
dirty
- If true
, sets the object as being
dirty; if false
, sets the object as being up-to-date.public void setOwner(Dirtyable containing)
SubDirtyable
SubDirtyable
implementation will be persisted.
setOwner
in interface SubDirtyable
containing
- The Dirtyable
object in which this
SubDirtyable
will be saved.public void linkContainingDirtyable(Dirtyable containing)
linkContainingDirtyable
in interface LinkedDirtyable
public void unlinkContainingDirtyable(Dirtyable containing)
unlinkContainingDirtyable
in interface LinkedDirtyable
public void linkEmbeddedDirtyable(Dirtyable embedded)
linkEmbeddedDirtyable
in interface LinkedDirtyable
public void unlinkEmbeddedDirtyable(Dirtyable embedded)
unlinkEmbeddedDirtyable
in interface LinkedDirtyable
public void linkEmbeddedDirtyable(LinkedDirtyable embedded)
public void unlinkEmbeddedDirtyable(LinkedDirtyable embedded)
public void linkEmbeddedDirtyables(LinkedDirtyable[] embedded)
public void unlinkEmbeddedDirtyables(LinkedDirtyable[] embedded)
public java.lang.Object getData()
Data
interface. This implementation returns
this
.
getData
in interface Element
Element
instance.Data#getData()
public boolean mayHaveChildren()
Element
interface. This implementation always
returns false
.
mayHaveChildren
in interface Element
true
if this Element
may contain
child Element
s.Element.mayHaveChildren()
public java.util.Iterator getChildren()
Element
interface. This implementation always
returns null
.
getChildren
in interface Element
Iterator
over any child Element
s
contained by this Element
. If there are no children,
null
is returned.Element.getChildren()
public Attributes getAttributes()
Element
interface. This implementation always
returns ElementAttributes.DELETEABLE
.
getAttributes
in interface Element
Element.getAttributes()
public java.lang.String getShortLabel()
Displayable
String
is considered
translatable and should therefore be placed in an appropriate
resource file. When possible, the returned label should be
reasonably short enough to show in the navigator or explorer
windows but long enough to clearly identify and distinguish the
Displayable
.
getShortLabel
in interface Displayable
Displayable
that can be shown to the user.public java.lang.String getLongLabel()
getShortLabel()
.
getLongLabel
in interface Displayable
Displayable
that
can be shown to the user.Displayable.getLongLabel()
public javax.swing.Icon getIcon()
getIcon
in interface Displayable
Icon
to be displayed for the
Displayable
.Displayable.getIcon()
public java.lang.String toString()
getShortLabel()
.
toString
in interface Displayable
toString
in class java.lang.Object
Displayable.toString()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |