com.javaforge.bobber.archetype.model
Class Template

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

public class Template
extends Object
implements Serializable

Represents a template in the archetype to be processed .

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

Constructor Summary
Template()
           
 
Method Summary
 String getDependsOnVar()
          Get if the specified variable is true, the template will be processed, otherwise skipped.
 String getFile()
          Get the file field.
 String getModelEncoding()
           
 String getOutput()
          Get the output field.
 void setDependsOnVar(String dependsOnVar)
          Set if the specified variable is true, the template will be processed, otherwise skipped.
 void setFile(String file)
          Set the file field.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setOutput(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 String getDependsOnVar()
Get if the specified variable is true, the template will be processed, otherwise skipped.

Returns:
String

getFile

public String getFile()
Get the file field.

Returns:
String

getOutput

public String getOutput()
Get the output field.

Returns:
String

setDependsOnVar

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

Parameters:
dependsOnVar -

setFile

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

Parameters:
file -

setOutput

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

Parameters:
output -

setModelEncoding

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

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

getModelEncoding

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


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