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 AbstractLibrary

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

All Implemented Interfaces:
Displayable, Element, Dirtyable, JPaths, Library
Direct Known Subclasses:
AbstractDerivedLibrary, AddinJDK, AddinLibrary

public abstract class AbstractLibrary
extends LibraryElement
implements Library

A read only, partial implementation of Libary.


Field Summary

 

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
AbstractLibrary()
          Default constructor.

 

Method Summary
protected  void copyToImpl(AbstractLibrary copy)
           
 boolean equals(java.lang.Object o)
           
protected  boolean equalsImpl(AbstractLibrary other)
           
 boolean equivalent(Library library)
          Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name.
 URLPath getDefaultClassPath()
          Deprecated. use getClassPath()
 URLPath getDefaultDocPath()
          Deprecated. use getDocPath()
 URLPath getDefaultSourcePath()
          Deprecated. use getSourcePath()
 javax.swing.Icon getIcon()
          This implementation returns a plain document icon.
 java.lang.Object getID()
           
 java.lang.String getShortLabel()
          This implementation returns a place-holder String.
 void initFromLibrary(Library library)
          Initialize all public properties, other than name, from the Library provided.
 boolean isDirty()
          True if the data in the object has been modified.
 boolean isLocked()
           
 void markDirty(boolean dirty)
          Marks the data with the specified dirty state.
 void setClassPath(URLPath clsPath)
           
 void setDefaultClassPath(URLPath clsPath)
          Deprecated. use setClassPath(URLPath)
 void setDefaultDocPath(URLPath docPath)
          Deprecated. use setDocPath(URLPath)
 void setDefaultSourcePath(URLPath srcPath)
          Deprecated. use setSourcePath(URLPath)
 void setDocPath(URLPath docPath)
           
 void setLocked(boolean isLocked)
           
 void setName(java.lang.String name)
           
 void setSourcePath(URLPath srcPath)
           

 

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
getName

 

Methods inherited from interface oracle.jdeveloper.library.JPaths
getClassPath, getDocPath, getSourcePath

 

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

 

Constructor Detail

AbstractLibrary

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

Method Detail

equivalent

public boolean equivalent(Library library)
Description copied from interface: Library
Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name.
Specified by:
equivalent in interface Library
Parameters:
library - the Library against which to test for equivalence.
Returns:
true if all public properties are equal.

initFromLibrary

public void initFromLibrary(Library library)
Description copied from interface: Library
Initialize all public properties, other than name, from the Library provided.
Specified by:
initFromLibrary in interface Library

setClassPath

public void setClassPath(URLPath clsPath)
Specified by:
setClassPath in interface JPaths

setSourcePath

public void setSourcePath(URLPath srcPath)
Specified by:
setSourcePath in interface JPaths

setDocPath

public void setDocPath(URLPath docPath)
Specified by:
setDocPath in interface JPaths

isLocked

public boolean isLocked()
Specified by:
isLocked in interface JPaths

setLocked

public void setLocked(boolean isLocked)
Specified by:
setLocked in interface JPaths

setName

public void setName(java.lang.String name)
Specified by:
setName in interface Library

getID

public java.lang.Object getID()
Specified by:
getID in interface Library
Returns:
the Library id as a String or null

getDefaultClassPath

public URLPath getDefaultClassPath()
Deprecated. use getClassPath()
Specified by:
getDefaultClassPath in interface Library

setDefaultClassPath

public void setDefaultClassPath(URLPath clsPath)
Deprecated. use setClassPath(URLPath)
Specified by:
setDefaultClassPath in interface Library

getDefaultSourcePath

public URLPath getDefaultSourcePath()
Deprecated. use getSourcePath()
Specified by:
getDefaultSourcePath in interface Library

setDefaultSourcePath

public void setDefaultSourcePath(URLPath srcPath)
Deprecated. use setSourcePath(URLPath)
Specified by:
setDefaultSourcePath in interface Library

getDefaultDocPath

public URLPath getDefaultDocPath()
Deprecated. use getDocPath()
Specified by:
getDefaultDocPath in interface Library

setDefaultDocPath

public void setDefaultDocPath(URLPath docPath)
Deprecated. use setDocPath(URLPath)
Specified by:
setDefaultDocPath in interface Library

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 LibraryElement
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 LibraryElement
Returns:
true if the data in the object has been modified.

getShortLabel

public java.lang.String getShortLabel()
Description copied from class: DefaultDisplayable
This implementation returns a place-holder String.
Specified by:
getShortLabel in interface Displayable
Overrides:
getShortLabel in class DefaultDisplayable
Returns:
a short descriptive label of the Displayable that can be shown to the user.
See Also:
Displayable.getShortLabel()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getIcon

public javax.swing.Icon getIcon()
Description copied from class: DefaultDisplayable
This implementation returns a plain document icon.
Specified by:
getIcon in interface Displayable
Overrides:
getIcon in class DefaultDisplayable
Returns:
the Icon to be displayed for the Displayable.
See Also:
Displayable.getIcon()

copyToImpl

protected final void copyToImpl(AbstractLibrary copy)

equalsImpl

protected final boolean equalsImpl(AbstractLibrary other)

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.