Skip navigation links 
 
oracle.jdeveloper.template
Class ProjectTemplate
java.lang.Object
   oracle.javatools.data.HashStructureAdapter
oracle.javatools.data.HashStructureAdapter
       oracle.jdeveloper.template.AbstractTemplate
oracle.jdeveloper.template.AbstractTemplate
           oracle.jdeveloper.template.ProjectTemplate
oracle.jdeveloper.template.ProjectTemplate
- All Implemented Interfaces:
- java.lang.Comparable, Displayable, Element
- 
public class ProjectTemplate
 
- extends AbstractTemplate
 
 
 
  
 
  
 
 
| 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 java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
 
ProjectTemplate
public ProjectTemplate()
ProjectTemplate
public ProjectTemplate(HashStructure hash)
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:
- initializeFromExtensionHookin class- AbstractTemplate
 
getContainerNameKey
public java.lang.String getContainerNameKey()
- 
- Specified by:
- getContainerNameKeyin class- AbstractTemplate
 
getDefaultIcon
protected javax.swing.Icon getDefaultIcon()
- 
- Specified by:
- getDefaultIconin class- AbstractTemplate
 
getChildren
public java.util.Iterator<Element> getChildren()
- Description copied from interface: Element
- This method is part of the Elementinterface to provide a convenient way of getting anIteratorover any contained childElements without having to test the object's type with theinstanceofoperator or having to downcast to a more specific type.An implementation of Elementthat represents a leaf in a tree structure should returnnullfrom this method. An implementation ofElementthat could represent a non-leaf in a tree structure should return either anIteratorover the childElements ornullif there are no children.
 
- 
- Specified by:
- getChildrenin interface- Element
- Overrides:
- getChildrenin class- AbstractTemplate
 
- 
- Returns:
- an Iteratorover any childElements contained by thisElement. If there are no children,nullis 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:
- validatein class- AbstractTemplate
 
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.