com.javaforge.bobber.archetype.model
Class Template

java.lang.Object
  extended by com.javaforge.bobber.archetype.model.Template
All Implemented Interfaces:
java.io.Serializable

public class Template
extends java.lang.Object
implements java.io.Serializable

Represents a template in the archetype to be processed .

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Template()
           
 
Method Summary
 java.lang.String getDependsOnVar()
          Get if the specified variable is true, the template will be processed, otherwise skipped.
 java.lang.String getFile()
          Get the file field.
 java.lang.String getModelEncoding()
           
 java.lang.String getOutput()
          Get the output field.
 void setDependsOnVar(java.lang.String dependsOnVar)
          Set if the specified variable is true, the template will be processed, otherwise skipped.
 void setFile(java.lang.String file)
          Set the file field.
 void setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setOutput(java.lang.String output)
          Set the output field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Template

public Template()
Method Detail

getDependsOnVar

public java.lang.String getDependsOnVar()
Get if the specified variable is true, the template will be processed, otherwise skipped.

Returns:
String

getFile

public java.lang.String getFile()
Get the file field.

Returns:
String

getOutput

public java.lang.String getOutput()
Get the output field.

Returns:
String

setDependsOnVar

public void setDependsOnVar(java.lang.String dependsOnVar)
Set if the specified variable is true, the template will be processed, otherwise skipped.

Parameters:
dependsOnVar -

setFile

public void setFile(java.lang.String file)
Set the file field.

Parameters:
file -

setOutput

public void setOutput(java.lang.String output)
Set the output field.

Parameters:
output -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.