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

E13403-04

oracle.jdeveloper.builder.cls
Class ClassSourceModel

java.lang.Object
  extended by oracle.jdeveloper.builder.SourceModel
      extended by oracle.jdeveloper.builder.cls.ClassSourceModel

public class ClassSourceModel
extends SourceModel


Constructor Summary
ClassSourceModel()
           
 
Method Summary
 void generateDefaultFileName(java.lang.String baseName)
           
protected  java.lang.String getContentSetKey()
          Gets the key that identifies the content set for this SourceModel.
 java.net.URL getDirectory()
           
 java.lang.String getExtension()
          Retrieves the extension used when creating new files.
protected  URLPath getSourcePath()
           
 void setRelativeDirectory(java.lang.String newDir)
           
 
Methods inherited from class oracle.jdeveloper.builder.SourceModel
checkForExistingFile, createNode, getAllowUrlsNotInSourcePath, getBaseURL, getDefaultNameStartIndex, getDirectoryString, getFileName, getNodeType, getProject, getRelativeDirectory, getURL, isInSourcePath, setAllowUrlsNotInSourcePath, setDirectory, setFileName, setProject, setURL, updateBaseURLFromProject, verifyPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassSourceModel

public ClassSourceModel()
Method Detail

getExtension

public java.lang.String getExtension()
Description copied from class: SourceModel
Retrieves the extension used when creating new files. The extension should include the '.'.

Overrides:
getExtension in class SourceModel
Returns:
the file extension to use when creating the file associated with this SourceModel.

getContentSetKey

protected java.lang.String getContentSetKey()
Description copied from class: SourceModel
Gets the key that identifies the content set for this SourceModel. This key is used to determine the content set to which to add new files that are created with this source model. Subclasses should override this method to add generated files to a content set other than Resources. Note, the key returned must match a valid ContentSetProvider key.

Overrides:
getContentSetKey in class SourceModel
Returns:
the content set key
See Also:
SourceModel.createNode(), ContentSetProvider

getSourcePath

protected URLPath getSourcePath()
Overrides:
getSourcePath in class SourceModel

setRelativeDirectory

public final void setRelativeDirectory(java.lang.String newDir)
Overrides:
setRelativeDirectory in class SourceModel

generateDefaultFileName

public void generateDefaultFileName(java.lang.String baseName)
Overrides:
generateDefaultFileName in class SourceModel

getDirectory

public java.net.URL getDirectory()
Overrides:
getDirectory in class SourceModel

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

E13403-04

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