ch.systemsx.cisd.openbis.plugin.query.shared.api.v1.dto
Class TypedStringValue

java.lang.Object
  extended by ch.systemsx.cisd.openbis.plugin.query.shared.api.v1.dto.TypedStringValue

public class TypedStringValue
extends java.lang.Object

A bean that stores a primitive value as a string with a type. Used for JSON conversion.


Constructor Summary
TypedStringValue()
           
TypedStringValue(QueryTableColumnDataType type, java.lang.String value)
           
 
Method Summary
 QueryTableColumnDataType getType()
           
 java.lang.String getValue()
           
 void setType(QueryTableColumnDataType type)
           
 void setValue(java.lang.String value)
           
 java.io.Serializable toSerializable()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypedStringValue

public TypedStringValue()

TypedStringValue

public TypedStringValue(QueryTableColumnDataType type,
                        java.lang.String value)
Method Detail

getType

public QueryTableColumnDataType getType()

setType

public void setType(QueryTableColumnDataType type)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

toSerializable

public java.io.Serializable toSerializable()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object