com.ibm.commons.util.io.json
Class JsonReference

java.lang.Object
  extended by com.ibm.commons.util.io.json.JsonReference
All Implemented Interfaces:
java.io.Serializable

public class JsonReference
extends java.lang.Object
implements java.io.Serializable

JSON wrapper for a reference to an object.

A reference is used by the code generator to generate an object name instead of a value. It corresponds to the name of an object defined elsewehere in the JavaScript context.

See Also:
Serialized Form

Constructor Summary
JsonReference()
           
JsonReference(java.lang.String ref)
           
 
Method Summary
 java.lang.String getRef()
           
 void setRef(java.lang.String ref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonReference

public JsonReference()

JsonReference

public JsonReference(java.lang.String ref)
Method Detail

getRef

public java.lang.String getRef()

setRef

public void setRef(java.lang.String ref)