|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.module.apikit.uri.VariableType
public class VariableType
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.
| Constructor Summary | |
|---|---|
VariableType(String name)
Create a new variable type. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getName()
Return the name of this variable type. |
int |
hashCode()
|
protected static boolean |
isValidName(String name)
Indicates whether the name of this variable type is valid. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VariableType(String name)
NullPointerException - If the specified name is null.
IllegalArgumentException - If the specified name is an empty string.| Method Detail |
|---|
public String getName()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectprotected static boolean isValidName(String name)
name - The name of the variable.
true if the name is valid; false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||