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, unaryMinusprotected 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.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean hasStringValue()
throws ScriptException
hasStringValue in interface VariablehasStringValue in class VariableBaseScriptExceptionpublic boolean hasScriptValue()
throws ScriptException
hasScriptValue in interface VariablehasScriptValue in class VariableBaseScriptExceptionpublic boolean hasQueryArgumentValue()
throws ScriptException
hasQueryArgumentValue in interface VariablehasQueryArgumentValue in class VariableBaseScriptExceptionpublic java.lang.String getScriptValue()
throws ScriptException
getScriptValue in interface VariablegetScriptValue in class VariableBaseScriptExceptionprotected static java.lang.String escapeValue(java.lang.String input)
public java.lang.String getStringValue()
throws ScriptException
getStringValue in interface VariablegetStringValue in class VariableBaseScriptExceptionpublic java.lang.String getQueryArgumentValue()
throws ScriptException
VariableBasegetQueryArgumentValue in interface VariablegetQueryArgumentValue in class VariableBaseScriptExceptionpublic VariableReference doubleEquals(Variable v) throws ScriptException
doubleEquals in interface VariabledoubleEquals in class VariableBaseScriptExceptionpublic VariableReference exclamationEquals(Variable v) throws ScriptException
exclamationEquals in interface VariableexclamationEquals in class VariableBaseScriptException