|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.audit.model.Dependency
public abstract class Dependency
An abstract dependency from a source to a target. Concrete subclasses model dependencies of a file on a file or of a file on DAF, and so forth. A dependency starts tracking its target once a listener is added.
Constructor Summary | |
---|---|
Dependency() |
Method Summary | |
---|---|
void |
addChangeListener(DependencyListener listener) Adds a change listener for this dependency. |
protected abstract void |
attach() Attach this dependency to its target. |
protected abstract void |
detach() Detach this dependency from its target. |
void |
fireDependencyChanged(boolean possibleSequence) Notifies listeners that the target of this dependency has changed. |
void |
fireDependencyChanged(Dependency dependency, boolean possibleSequence) Deprecated. Use fireDependencyChanged(boolean) |
DependencyListener |
getChangeListener() Gets the change listener for this dependency. |
protected abstract java.lang.String |
getLongDescription() Gets a translated long description of the target of this dependency. |
protected abstract java.lang.String |
getShortDescription() Gets a translated short description of the target of this dependency. |
boolean |
hasChanged() Gets whether the target of this dependency has changed since it was attached to. |
protected boolean |
isAttached() Gets whether this dependency is attached to its target. |
protected java.lang.String |
listenerDescription() |
void |
removeChangeListener(DependencyListener listener) Removes a change listener from this dependency. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Dependency()
Method Detail |
---|
public void addChangeListener(DependencyListener listener)
java.lang.IllegalStateException
- if more than one listener is added.public void removeChangeListener(DependencyListener listener)
public DependencyListener getChangeListener()
protected boolean isAttached()
protected abstract void attach()
protected abstract void detach()
protected abstract java.lang.String getShortDescription()
protected abstract java.lang.String getLongDescription()
public boolean hasChanged()
public final void fireDependencyChanged(boolean possibleSequence)
possibleSequence
- true if this change may be part of a sequencepublic void fireDependencyChanged(Dependency dependency, boolean possibleSequence)
fireDependencyChanged(boolean)
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String listenerDescription()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |