public final class SimpleVariable extends VariableSpec
foo in {foo}name| Constructor and Description |
|---|
SimpleVariable(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getPrefixLength()
Return the prefix length for this varspec
|
int |
hashCode() |
boolean |
isExploded()
Tell whether this varspec has an explode modifier
|
String |
toString() |
getName, getTypepublic SimpleVariable(String name)
public boolean isExploded()
VariableSpecisExploded in class VariableSpecpublic int getPrefixLength()
VariableSpecReturns -1 if no prefix length is specified. Recall: valid values are integers between 0 and 10000.
getPrefixLength in class VariableSpecpublic int hashCode()
hashCode in class VariableSpecpublic boolean equals(Object obj)
equals in class VariableSpecpublic String toString()
toString in class VariableSpec