gov.ornl.csed.csiir.idr.kdd.dataservice.server.models
Class DataSetInformationResponse

java.lang.Object
  extended by gov.ornl.csed.csiir.idr.kdd.dataservice.server.models.DataSetInformationResponse

public final class DataSetInformationResponse
extends java.lang.Object

The DataSetInformationResponse class represents all of the information available for a data set.


Nested Class Summary
static class DataSetInformationResponse.DataType
          The DataType enumeration indicates whether the data set is structured or unstructured.
 
Constructor Summary
DataSetInformationResponse()
           
DataSetInformationResponse(java.lang.String id, java.lang.String name)
           
DataSetInformationResponse(java.lang.String id, java.lang.String name, java.lang.String description, long size, long recordCount, DataSetInformationResponse.DataType dataType, java.lang.String owner)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 DataSetInformationResponse.DataType getDataType()
          Retrieve the type of the data set.
 java.lang.String getDescription()
          Retrieve the description of the data set.
 java.lang.String getId()
          Retrieve the unique ID for the data set.
 java.lang.String getName()
          Retrieve the name of the data set.
 java.lang.String getOwner()
          Retrieve the owner of the data set.
 long getRecordCount()
          Retrieve the record count of the data set.
 long getSize()
          Retrieve the size in bytes of the data set.
 int hashCode()
           
 void setDataType(DataSetInformationResponse.DataType dataType)
          Set the type for the data set.
 void setDescription(java.lang.String description)
          Set the description for the data set.
 void setId(java.lang.String id)
          Set the unique ID for the data set.
 void setName(java.lang.String name)
          Set the name for the data set.
 void setOwner(java.lang.String owner)
          Set the owner for the data set.
 void setRecordCount(long recordCount)
          Set the record count for the data set.
 void setSize(long size)
          Set the size in bytes for the data set.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSetInformationResponse

public DataSetInformationResponse()

DataSetInformationResponse

public DataSetInformationResponse(java.lang.String id,
                                  java.lang.String name)

DataSetInformationResponse

public DataSetInformationResponse(java.lang.String id,
                                  java.lang.String name,
                                  java.lang.String description,
                                  long size,
                                  long recordCount,
                                  DataSetInformationResponse.DataType dataType,
                                  java.lang.String owner)
Method Detail

getId

public java.lang.String getId()
Retrieve the unique ID for the data set.

Returns:
the unique data set ID

setId

public void setId(java.lang.String id)
Set the unique ID for the data set. Used for serialization.

Parameters:
id - the unique data set ID

getName

public java.lang.String getName()
Retrieve the name of the data set.

Returns:
the data set name

setName

public void setName(java.lang.String name)
Set the name for the data set. Used for serialization.

Parameters:
name - the data set name

getDescription

public java.lang.String getDescription()
Retrieve the description of the data set.

Returns:
the data set description

setDescription

public void setDescription(java.lang.String description)
Set the description for the data set. Used for serialization.

Parameters:
description - the data set description

getSize

public long getSize()
Retrieve the size in bytes of the data set.

Returns:
the size in bytes

setSize

public void setSize(long size)
Set the size in bytes for the data set. Used for serialization.

Parameters:
size - the data set size in bytes

getRecordCount

public long getRecordCount()
Retrieve the record count of the data set.

Returns:
the record count

setRecordCount

public void setRecordCount(long recordCount)
Set the record count for the data set. Used for serialization.

Parameters:
recordCount - the record count

getDataType

public DataSetInformationResponse.DataType getDataType()
Retrieve the type of the data set.

Returns:
the data set type

setDataType

public void setDataType(DataSetInformationResponse.DataType dataType)
Set the type for the data set. Used for serialization.

Parameters:
dataType - the data set type

getOwner

public java.lang.String getOwner()
Retrieve the owner of the data set.

Returns:
the data set owner

setOwner

public void setOwner(java.lang.String owner)
Set the owner for the data set. Used for serialization.

Parameters:
owner - the data set owner

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

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