com.javaforge.bobber.archetype.model
Class Variable

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

public class Variable
extends Object
implements Serializable

Represents system variable to be put in the Velocity Context .

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

Constructor Summary
Variable()
           
 
Method Summary
 void addVariable(Variable variable)
          Method addVariable.
 void breakVariableAssociation(Variable variable)
          Method breakVariableAssociation.
 void createVariableAssociation(Variable variable)
          Method createVariableAssociation.
 String getDefvalue()
          Get the defvalue field.
 String getDescription()
          Get the description field.
 String getModelEncoding()
           
 String getName()
          Get the name field.
 List getVariables()
          Method getVariables.
 void removeVariable(Variable variable)
          Method removeVariable.
 void setDefvalue(String defvalue)
          Set the defvalue field.
 void setDescription(String description)
          Set the description field.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setName(String name)
          Set the name field.
 void setVariables(List variables)
          Set Variables that depend on their parent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Variable

public Variable()
Method Detail

addVariable

public void addVariable(Variable variable)
Method addVariable.

Parameters:
variable -

breakVariableAssociation

public void breakVariableAssociation(Variable variable)
Method breakVariableAssociation.

Parameters:
variable -

createVariableAssociation

public void createVariableAssociation(Variable variable)
Method createVariableAssociation.

Parameters:
variable -

getDefvalue

public String getDefvalue()
Get the defvalue field.

Returns:
String

getDescription

public String getDescription()
Get the description field.

Returns:
String

getName

public String getName()
Get the name field.

Returns:
String

getVariables

public List getVariables()
Method getVariables.

Returns:
java.util.List

removeVariable

public void removeVariable(Variable variable)
Method removeVariable.

Parameters:
variable -

setDefvalue

public void setDefvalue(String defvalue)
Set the defvalue field.

Parameters:
defvalue -

setDescription

public void setDescription(String description)
Set the description field.

Parameters:
description -

setName

public void setName(String name)
Set the name field.

Parameters:
name -

setVariables

public void setVariables(List variables)
Set Variables that depend on their parent.

Parameters:
variables -

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.