uk.ltd.getahead.dwr
Class InboundVariable
java.lang.Object
uk.ltd.getahead.dwr.InboundVariable
- public final class InboundVariable
- extends java.lang.Object
A simple struct to hold data about a single converted javascript variable.
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
InboundVariable
public InboundVariable(InboundContext context,
java.lang.String key,
java.lang.String type,
java.lang.String value)
- Parsing ctor
- Parameters:
context
- How we lookup referenceskey
- The name of the variable that this was transfered astype
- The type information from javascriptvalue
- The javascript variable converted to a string
getLookup
public InboundContext getLookup()
- Returns:
- Returns the lookup table.
getType
public java.lang.String getType()
- Returns:
- Returns the type.
isNull
public boolean isNull()
- Was this type null on the way in
- Returns:
- true if the javascript variable was null or undefined.
getValue
public java.lang.String getValue()
- Returns:
- Returns the value.
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()