gov.ornl.csed.csiir.idr.kdd.dataservice.server.models
Class ResultSetResponse.ResultRecord.ResultField

java.lang.Object
  extended by gov.ornl.csed.csiir.idr.kdd.dataservice.server.models.ResultSetResponse.ResultRecord.ResultField
Enclosing class:
ResultSetResponse.ResultRecord

public static class ResultSetResponse.ResultRecord.ResultField
extends java.lang.Object

The ResultField class represents a field value.


Method Summary
 java.util.Date getDate()
          Retrieve a Java Date representation of this field value.
 java.lang.Double getDouble()
          Retrieve a Java Double representation of this field value.
 java.lang.String getFieldName()
          Retrieve the field name.
 java.lang.String getFieldType()
          Retrieve the field type.
 java.lang.Float getFloat()
          Retrieve a Java Float representation of this field value.
 java.lang.Integer getInteger()
          Retrieve a Java Integer representation of this field value.
 java.util.List<?> getList()
          Retrieve a Java List representation of this field value.
 java.lang.Long getLong()
          Retrieve a Java Long representation of this field value.
 java.lang.Object getObject()
          Retrieve a Java Object representation of this field value.
 java.lang.String getString()
          Retrieve a Java String representation of this field value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFieldName

public java.lang.String getFieldName()
Retrieve the field name.

Returns:
the field name

getFieldType

public java.lang.String getFieldType()
Retrieve the field type.

Returns:
the field type

getObject

public java.lang.Object getObject()
Retrieve a Java Object representation of this field value.

Returns:
the object

getString

public java.lang.String getString()
Retrieve a Java String representation of this field value.

Returns:
the string

getInteger

public java.lang.Integer getInteger()
                             throws java.lang.NumberFormatException
Retrieve a Java Integer representation of this field value.

Returns:
the integer
Throws:
java.lang.NumberFormatException

getLong

public java.lang.Long getLong()
                       throws java.lang.NumberFormatException
Retrieve a Java Long representation of this field value.

Returns:
the long
Throws:
java.lang.NumberFormatException

getFloat

public java.lang.Float getFloat()
                         throws java.lang.NumberFormatException
Retrieve a Java Float representation of this field value.

Returns:
the float
Throws:
java.lang.NumberFormatException

getDouble

public java.lang.Double getDouble()
                           throws java.lang.NumberFormatException
Retrieve a Java Double representation of this field value.

Returns:
the double
Throws:
java.lang.NumberFormatException

getDate

public java.util.Date getDate()
                       throws java.text.ParseException
Retrieve a Java Date representation of this field value.

Returns:
the date
Throws:
java.text.ParseException

getList

public java.util.List<?> getList()
                          throws java.lang.IndexOutOfBoundsException
Retrieve a Java List representation of this field value.

Returns:
list
Throws:
java.lang.IndexOutOfBoundsException