org.eclipse.tigerstripe.workbench.plugins
Interface IArtifactWrappedRule

All Superinterfaces:
IArtifactRule, IRule

public interface IArtifactWrappedRule
extends IArtifactRule

An ArtifactBased Template Run rule in a Pluggable Plugin This rule will be run once per instance (with possibility of filtering) of a designated Artifact Type. For each instance of that Artifact Type a "Model Object" will be instantiated and placed in the velocity context.

Since:
0.3
Author:
Eric Dillon

Field Summary
 
Fields inherited from interface org.eclipse.tigerstripe.workbench.plugins.IArtifactRule
ANY_ARTIFACT_LABEL
 
Fields inherited from interface org.eclipse.tigerstripe.workbench.plugins.IRule
ALLARTIFACTS, ALLASSOCIATIONCLASSES, ALLASSOCIATIONS, ALLDATATYPES, ALLDEPENDENCIES, ALLENTITIES, ALLENUMERATIONS, ALLEVENTS, ALLEXCEPTIONS, ALLPACKAGES, ALLPLUGINCONFIG, ALLQUERIES, ALLSESSIONS, ALLUPDATEPROCEDURES, ANNOTATIONCONTEXT, ARTIFACT, ARTIFACT_CLASS, ARTIFACTS, ASSOCIATIONCLASSES, ASSOCIATIONS, DATATYPES, DEPENDENCIES, DIAGRAMGENERATOR, ENTITIES, ENUMERATIONS, EVENTS, EXCEPTIONS, EXP, INCLUDEDEPENDENCIES, MANAGER, MANAGERSESSION, OVERWRITEFILES, PACKAGES, PLUGINCONFIG, PLUGINDIR, QUERIES, REPORT, RUNTIME, SESSIONS, SUPPRESSFILES, TSPROJECT, TSPROJECTHANDLE, UPDATEPROCEDURES
 
Method Summary
 java.lang.String getModelClass()
          Returns the Fully Qualified Name of the Model to instantiate
 java.lang.String getModelClassName()
          Get the name to be used in the templates for objects of this type This will typically be "model" or "class"
 void setModelClass(java.lang.String classname)
          Sets the classname of the model object to instantiate
 void setModelClassName(java.lang.String classname)
          Set the name to be used in the templates for objects of this type This will typically be "model" or "class"
 
Methods inherited from interface org.eclipse.tigerstripe.workbench.plugins.IArtifactRule
getArtifactFilterClass, getArtifactType, setArtifactFilterClass, setArtifactType
 
Methods inherited from interface org.eclipse.tigerstripe.workbench.plugins.IRule
getDescription, getLabel, getName, getType, isEnabled, setDescription, setEnabled, setName
 

Method Detail

getModelClass

java.lang.String getModelClass()
Returns the Fully Qualified Name of the Model to instantiate

Returns:

setModelClass

void setModelClass(java.lang.String classname)
Sets the classname of the model object to instantiate

Parameters:
classname -

getModelClassName

java.lang.String getModelClassName()
Get the name to be used in the templates for objects of this type This will typically be "model" or "class"

Returns:

setModelClassName

void setModelClassName(java.lang.String classname)
Set the name to be used in the templates for objects of this type This will typically be "model" or "class"

Parameters:
classname -