Package org.apache.tools.ant.types
Class Parameter
- java.lang.Object
-
- org.apache.tools.ant.types.Parameter
-
public final class Parameter extends java.lang.ObjectA parameter is composed of a name, type and value.
-
-
Constructor Summary
Constructors Constructor Description Parameter()
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()Get the name attribute.java.lang.StringgetType()Get the type attribute.java.lang.StringgetValue()Get the value attribute.voidsetName(java.lang.String name)Set the name attribute.voidsetType(java.lang.String type)Set the type attribute.voidsetValue(java.lang.String value)Set the value attribute.
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Set the name attribute.- Parameters:
name- aStringvalue
-
setType
public void setType(java.lang.String type)
Set the type attribute.- Parameters:
type- aStringvalue
-
setValue
public void setValue(java.lang.String value)
Set the value attribute.- Parameters:
value- aStringvalue
-
getName
public java.lang.String getName()
Get the name attribute.- Returns:
- a
Stringvalue
-
getType
public java.lang.String getType()
Get the type attribute.- Returns:
- a
Stringvalue
-
getValue
public java.lang.String getValue()
Get the value attribute.- Returns:
- a
Stringvalue
-
-