public class VariableString extends VariableBase
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
value |
ATTRIBUTE_BOOLEAN, ATTRIBUTE_CREATEDSTATUS, ATTRIBUTE_DICT, ATTRIBUTE_FLOAT, ATTRIBUTE_INT, ATTRIBUTE_NOTFOUNDSTATUS, ATTRIBUTE_OKSTATUS, ATTRIBUTE_SCRIPT, ATTRIBUTE_SIZE, ATTRIBUTE_STRING, ATTRIBUTE_TYPE, ATTRIBUTE_UNAUTHORIZEDSTATUS, ATTRIBUTE_VALUE
Constructor and Description |
---|
VariableString(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
VariableReference |
doubleEquals(Variable v) |
boolean |
equals(java.lang.Object o) |
VariableReference |
exclamationEquals(Variable v) |
double |
getDoubleValue()
Get the variable's value as a double
|
int |
getIntValue()
Get the variable's value as an integer
|
java.lang.String |
getScriptValue()
Get the variable's script value
|
java.lang.String |
getStringValue()
Get the variable's value as a string
|
java.lang.String |
getURLPathValue()
Get the variable's value as a URL path component
|
boolean |
hasDoubleValue()
Check if the variable has a double value
|
int |
hashCode() |
boolean |
hasIntValue()
Check if the variable has an int value
|
boolean |
hasScriptValue()
Check if the variable has a script value
|
boolean |
hasStringValue()
Check if the variable has a string value
|
boolean |
hasURLPathValue()
Check if the variable has a URL path value
|
VariableReference |
plus(Variable v) |
ampersand, asterisk, composeMessage, doubleAmpersand, doublePipe, getAttribute, getBooleanValue, getConfigurationNodeValue, getConfigurationValue, getIndexed, getQueryArgumentValue, greaterAngle, greaterAngleEquals, hasBooleanValue, hasConfigurationNodeValue, hasConfigurationValue, hasQueryArgumentValue, insertAt, isNull, lesserAngle, lesserAngleEquals, minus, pipe, removeAt, resolve, setReference, slash, unaryExclamation, unaryMinus
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean hasStringValue() throws ScriptException
hasStringValue
in interface Variable
hasStringValue
in class VariableBase
ScriptException
public boolean hasScriptValue() throws ScriptException
hasScriptValue
in interface Variable
hasScriptValue
in class VariableBase
ScriptException
public boolean hasIntValue() throws ScriptException
hasIntValue
in interface Variable
hasIntValue
in class VariableBase
ScriptException
public boolean hasDoubleValue() throws ScriptException
hasDoubleValue
in interface Variable
hasDoubleValue
in class VariableBase
ScriptException
public boolean hasURLPathValue() throws ScriptException
hasURLPathValue
in interface Variable
hasURLPathValue
in class VariableBase
ScriptException
public java.lang.String getURLPathValue() throws ScriptException
getURLPathValue
in interface Variable
getURLPathValue
in class VariableBase
ScriptException
public java.lang.String getScriptValue() throws ScriptException
getScriptValue
in interface Variable
getScriptValue
in class VariableBase
ScriptException
public java.lang.String getStringValue() throws ScriptException
getStringValue
in interface Variable
getStringValue
in class VariableBase
ScriptException
public int getIntValue() throws ScriptException
getIntValue
in interface Variable
getIntValue
in class VariableBase
ScriptException
public double getDoubleValue() throws ScriptException
getDoubleValue
in interface Variable
getDoubleValue
in class VariableBase
ScriptException
public VariableReference plus(Variable v) throws ScriptException
plus
in interface Variable
plus
in class VariableBase
ScriptException
public VariableReference doubleEquals(Variable v) throws ScriptException
doubleEquals
in interface Variable
doubleEquals
in class VariableBase
ScriptException
public VariableReference exclamationEquals(Variable v) throws ScriptException
exclamationEquals
in interface Variable
exclamationEquals
in class VariableBase
ScriptException