lumis.portal.rest
Class RestJSON

Package class diagram package RestJSON
java.lang.Object
  extended by lumis.portal.rest.RestJSON

@StableMinor(version="6.2",
             sinceVersion="6.1")
public class RestJSON
extends Object

Class that represents the JSON type used in REST.

Converters that support JSON type in REST must be able to convert from and/or to this type.

Since:
6.1.0

Constructor Summary
RestJSON(Object value)
          Creates a new REST JSON based on the given object.
 
Method Summary
 Object getValue()
          Returns the value that will be used to generate the JSON.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestJSON

public RestJSON(Object value)
Creates a new REST JSON based on the given object.

Parameters:
value - the object that will be used to generate the JSON.
Since:
6.1.0
Method Detail

getValue

public Object getValue()
Returns the value that will be used to generate the JSON.

Returns:
the value that will be used to generate the JSON.
Since:
6.1.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.