public class VariableQueryArg extends VariableBase
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
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 |
---|
VariableQueryArg(java.lang.String name,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
VariableReference |
doubleEquals(Variable v) |
boolean |
equals(java.lang.Object o) |
protected static java.lang.String |
escapeValue(java.lang.String input) |
VariableReference |
exclamationEquals(Variable v) |
java.lang.String |
getQueryArgumentValue()
Get the variable's value as a properly-encoded query argument
|
java.lang.String |
getScriptValue()
Get the variable's script value
|
java.lang.String |
getStringValue()
Get the variable's value as a string
|
int |
hashCode() |
boolean |
hasQueryArgumentValue()
Check if the variable has a query arg value
|
boolean |
hasScriptValue()
Check if the variable has a script value
|
boolean |
hasStringValue()
Check if the variable has a string value
|
ampersand, asterisk, composeMessage, doubleAmpersand, doublePipe, getAttribute, getBooleanValue, getConfigurationNodeValue, getConfigurationValue, getDoubleValue, getIndexed, getIntValue, getURLPathValue, greaterAngle, greaterAngleEquals, hasBooleanValue, hasConfigurationNodeValue, hasConfigurationValue, hasDoubleValue, hasIntValue, hasURLPathValue, insertAt, isNull, lesserAngle, lesserAngleEquals, minus, pipe, plus, removeAt, resolve, setReference, slash, unaryExclamation, unaryMinus
protected final java.lang.String name
protected final java.lang.String value
public VariableQueryArg(java.lang.String name, java.lang.String value)
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 hasQueryArgumentValue() throws ScriptException
hasQueryArgumentValue
in interface Variable
hasQueryArgumentValue
in class VariableBase
ScriptException
public java.lang.String getScriptValue() throws ScriptException
getScriptValue
in interface Variable
getScriptValue
in class VariableBase
ScriptException
protected static java.lang.String escapeValue(java.lang.String input)
public java.lang.String getStringValue() throws ScriptException
getStringValue
in interface Variable
getStringValue
in class VariableBase
ScriptException
public java.lang.String getQueryArgumentValue() throws ScriptException
VariableBase
getQueryArgumentValue
in interface Variable
getQueryArgumentValue
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