Skip navigation links
oracle.jdeveloper.library
Class AbstractDerivedLibrary
java.lang.Object
oracle.ide.model.DefaultDisplayable
oracle.ide.model.DefaultElement
oracle.jdeveloper.library.LibraryElement
oracle.jdeveloper.library.AbstractLibrary
oracle.jdeveloper.library.AbstractDerivedLibrary
- All Implemented Interfaces:
- Dependable, Displayable, Element, Observer, SubDirtyable, Dirtyable, DerivedLibrary, JPaths, Library
- Direct Known Subclasses:
- ProjectLibrary
-
public abstract class AbstractDerivedLibrary
- extends AbstractLibrary
- implements DerivedLibrary, SubDirtyable, Observer
AbstractDerivedLibrary
class.
Methods inherited from class oracle.jdeveloper.library.AbstractLibrary |
copyToImpl, equalsImpl, equivalent, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getIcon, getID, getShortLabel, initFromLibrary, isLocked, setClassPath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setDocPath, setLocked, setName, setSourcePath |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractDerivedLibrary
public AbstractDerivedLibrary()
- Default constructor. Required for JavaBean status.
getName
public java.lang.String getName()
throws TransientMarker
-
- Specified by:
getName
in interface Library
-
- Returns:
- the Library name, or null
- Throws:
TransientMarker
getSource
public Element getSource()
- Description copied from interface:
Dependable
- Returns the actual object on which the dependency is based.
-
- Specified by:
getSource
in interface Dependable
getSourceOwner
public Folder getSourceOwner()
- Description copied from interface:
Dependable
- Returns the
Folder
containing the source Element
.
-
- Specified by:
getSourceOwner
in interface Dependable
getSourceURL
public java.net.URL getSourceURL()
-
- Specified by:
getSourceURL
in interface DerivedLibrary
setSourceURL
public void setSourceURL(java.net.URL url)
-
- Specified by:
setSourceURL
in interface DerivedLibrary
getSourceOwnerURL
public java.net.URL getSourceOwnerURL()
-
- Specified by:
getSourceOwnerURL
in interface DerivedLibrary
setSourceOwnerURL
public void setSourceOwnerURL(java.net.URL url)
-
- Specified by:
setSourceOwnerURL
in interface DerivedLibrary
setOwner
public void setOwner(Dirtyable owner)
- Description copied from interface:
SubDirtyable
- This method should be called to set the document in which a
SubDirtyable
implementation will be persisted.
-
- Specified by:
setOwner
in interface SubDirtyable
-
- Parameters:
owner
- The Dirtyable
object in which this SubDirtyable
will be saved.
markDirty
public void markDirty(boolean dirty)
- Description copied from interface:
Dirtyable
- Marks the data with the specified dirty state. This method is called
markDirty(...)
instead of setDirty(...)
so that the JavaBeans Introspector
will not mistakenly identify "dirty" as a JavaBean property.
-
- Specified by:
markDirty
in interface Dirtyable
- Overrides:
markDirty
in class AbstractLibrary
-
- Parameters:
dirty
- If true
, sets the object as being dirty; if false
, sets the object as being up-to-date.
isDirty
public boolean isDirty()
- Description copied from interface:
Dirtyable
- True if the data in the object has been modified.
-
- Specified by:
isDirty
in interface Dirtyable
- Overrides:
isDirty
in class AbstractLibrary
-
- Returns:
true
if the data in the object has been modified.
equals
public boolean equals(java.lang.Object o)
-
- Overrides:
equals
in class AbstractLibrary
equalsImpl
protected final boolean equalsImpl(AbstractDerivedLibrary other)
copyToImpl
protected final void copyToImpl(AbstractDerivedLibrary copy)
checkPropertyChange
protected void checkPropertyChange(java.lang.String property,
java.lang.String newProperty,
UpdateMessage change,
java.util.List output)
- Checks if the
property
is in the properties
Map
. If it is, it adds a PropertyChangeEvent
to the output
List
with the newProperty
name.
firePropertiesChanged
protected void firePropertiesChanged(java.util.List pList)
- Fires a property a property change event using this object as the subject.
isPropertyChange
protected boolean isPropertyChange(UpdateMessage change)
- Returns
true
if the update message is a PROPERTY_SET message.
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.