org.weborganic.furi
Class VariableType
java.lang.Object
org.weborganic.furi.VariableType
public class VariableType
- extends Object
Defines a variable type.
The variable type may be used for any purpose. It is just a mechanism to qualify variables further
than merely by name.
Systems may choose to use a variable type to indicate a particular behaviour for the variable or
to enforce a particular type of value.
- Version:
- 11 June 2009
- Author:
- Christophe Lauret
VariableType
public VariableType(String name)
- Create a new variable type.
- Throws:
NullPointerException
- If the specified name is null
.
IllegalArgumentException
- If the specified name is an empty string.
getName
public String getName()
- Return the name of this variable type.
- Returns:
- The name of this variable type.
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object