Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


oracle.jdeveloper.library
Class AbstractDerivedLibrary

java.lang.Object
  extended by oracle.ide.model.DefaultDisplayable
      extended by oracle.ide.model.DefaultElement
          extended by oracle.jdeveloper.library.LibraryElement
              extended by oracle.jdeveloper.library.AbstractLibrary
                  extended by 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.


Field Summary

 

Fields inherited from interface oracle.jdeveloper.library.DerivedLibrary
SOURCE_OWNER_PROPERTY, SOURCE_PROPERTY

 

Fields inherited from interface oracle.jdeveloper.library.Library
LIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTY

 

Fields inherited from interface oracle.jdeveloper.library.JPaths
CLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY

 

Constructor Summary
AbstractDerivedLibrary()
          Default constructor.

 

Method Summary
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.
protected  void copyToImpl(AbstractDerivedLibrary copy)
           
 boolean equals(java.lang.Object o)
           
protected  boolean equalsImpl(AbstractDerivedLibrary other)
           
protected  void firePropertiesChanged(java.util.List pList)
          Fires a property a property change event using this object as the subject.
 java.lang.String getName()
           
 Element getSource()
          Returns the actual object on which the dependency is based.
 Folder getSourceOwner()
          Returns the Folder containing the source Element.
 java.net.URL getSourceOwnerURL()
           
 java.net.URL getSourceURL()
           
 boolean isDirty()
          True if the data in the object has been modified.
protected  boolean isPropertyChange(UpdateMessage change)
          Returns true if the update message is a PROPERTY_SET message.
 void markDirty(boolean dirty)
          Marks the data with the specified dirty state.
 void setOwner(Dirtyable owner)
          This method should be called to set the document in which a SubDirtyable implementation will be persisted.
 void setSourceOwnerURL(java.net.URL url)
           
 void setSourceURL(java.net.URL url)
           

 

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 oracle.ide.model.DefaultElement
getAttributes, getChildren, getData, mayHaveChildren

 

Methods inherited from class oracle.ide.model.DefaultDisplayable
getLongLabel, getToolTipText, toString

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface oracle.jdeveloper.library.Library
equivalent, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, initFromLibrary, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setName

 

Methods inherited from interface oracle.jdeveloper.library.JPaths
getClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePath

 

Methods inherited from interface oracle.ide.model.Displayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString

 

Methods inherited from interface oracle.ide.model.Dependable
getDependencies

 

Methods inherited from interface oracle.ide.model.Observer
update

 

Constructor Detail

AbstractDerivedLibrary

public AbstractDerivedLibrary()
Default constructor. Required for JavaBean status.

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


Copyright © 1997, 2013, Oracle. All rights reserved.