com.nokia.ant.types
Class Variable

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.types.DataType
          extended by com.nokia.ant.types.Variable
All Implemented Interfaces:
java.lang.Cloneable

public class Variable
extends org.apache.tools.ant.types.DataType

Helper class to store the command line variables with name / value pair.


Field Summary
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Variable()
           
 
Method Summary
 java.lang.String getName()
          Get the name of the variable.
 java.lang.String getValue()
          Get the value of the variable.
 void setName(java.lang.String name)
          Set the name of the variable.
 void setValue(java.lang.String value)
          Set the value of the variable.
 
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, tooManyAttributes, toString
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Variable

public Variable()
Method Detail

setName

public void setName(java.lang.String name)
Set the name of the variable.

Parameters:
name -

getName

public java.lang.String getName()
Get the name of the variable.

Returns:
name.

setValue

public void setValue(java.lang.String value)
Set the value of the variable.

Parameters:
value -

getValue

public java.lang.String getValue()
Get the value of the variable.

Returns:
value.