Skip navigation links

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

E52944-01


oracle.jdeveloper.template
Class ProjectTemplate

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.jdeveloper.template.AbstractTemplate
          extended by oracle.jdeveloper.template.ProjectTemplate

All Implemented Interfaces:
java.lang.Comparable, Displayable, Element

public class ProjectTemplate
extends AbstractTemplate

Field Summary

 

Fields inherited from class oracle.jdeveloper.template.AbstractTemplate
NAME_COMPARATOR, parent_, WEIGHT_COMPARATOR

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Constructor Summary
ProjectTemplate()
           
ProjectTemplate(HashStructure hash)
           

 

Method Summary
 java.util.Iterator<Element> getChildren()
          This method is part of the Element interface to provide a convenient way of getting an Iterator over any contained child Elements without having to test the object's type with the instanceof operator or having to downcast to a more specific type.
 java.lang.String getContainerNameKey()
           
protected  javax.swing.Icon getDefaultIcon()
           
protected  java.util.List getTechnologyKeys()
           
 TechnologyScope getTechnologyScope()
          Get the TechnologyScope defined for this template.
 void initializeFromExtensionHook(HashStructure hash, TemplateData lookup)
          Initialize this template from a HashStructure read from the template extension hook.
 void setTechnologyScope(TechnologyScope scope)
           
protected  boolean validate()
           

 

Methods inherited from class oracle.jdeveloper.template.AbstractTemplate
compareTo, equals, getAttributes, getChildTemplatesKey, getContainerName, getData, getDeploymentProfile, getDescription, getGalleryFolder, getIcon, getIconFile, getLongLabel, getName, getPackageName, getShortLabel, getTemplateData, getTemplateId, getTemplateId, getTextFromHook, getToolTipText, getWeight, hashCode, isUnsorted, isValid, mayHaveChildren, setContainerName, setDeploymentProfile, setDescription, setGalleryFolder, setIconFile, setName, setPackageName, setTemplateClass, setTemplateData, setTemplateId, setTemplateId, setToolTipText, setUnsorted, setValid, setWeight, toString

 

Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyTo, copyToImpl, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals

 

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

 

Constructor Detail

ProjectTemplate

public ProjectTemplate()

ProjectTemplate

public ProjectTemplate(HashStructure hash)

Method Detail

initializeFromExtensionHook

public void initializeFromExtensionHook(HashStructure hash,
                                        TemplateData lookup)
Description copied from class: AbstractTemplate
Initialize this template from a HashStructure read from the template extension hook. Use lookup to resolve any references to external templates. Only properties that are available in the hash are set, the rest are left untouched.
Overrides:
initializeFromExtensionHook in class AbstractTemplate

getContainerNameKey

public java.lang.String getContainerNameKey()
Specified by:
getContainerNameKey in class AbstractTemplate

getDefaultIcon

protected javax.swing.Icon getDefaultIcon()
Specified by:
getDefaultIcon in class AbstractTemplate

getChildren

public java.util.Iterator<Element> getChildren()
Description copied from interface: Element
This method is part of the Element interface to provide a convenient way of getting an Iterator over any contained child Elements without having to test the object's type with the instanceof operator or having to downcast to a more specific type.

An implementation of Element that represents a leaf in a tree structure should return null from this method. An implementation of Element that could represent a non-leaf in a tree structure should return either an Iterator over the child Elements or null if there are no children.

Specified by:
getChildren in interface Element
Overrides:
getChildren in class AbstractTemplate
Returns:
an Iterator over any child Elements contained by this Element. If there are no children, null is returned.

getTechnologyScope

public TechnologyScope getTechnologyScope()
Get the TechnologyScope defined for this template.
Returns:
the TechnologyScope, guaranteed not null.

getTechnologyKeys

protected java.util.List getTechnologyKeys()

setTechnologyScope

public void setTechnologyScope(TechnologyScope scope)

validate

protected boolean validate()
Overrides:
validate in class AbstractTemplate

Skip navigation links

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

E52944-01


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