ensemble
Class Data_set

java.lang.Object
  extended by ensemble.Data_set

public class Data_set
extends java.lang.Object

This class represents a set of data from the database.


Constructor Summary
Data_set(int id, java.lang.String setName, java.lang.String username, java.lang.String description)
          Creates a new data set with the given values.
 
Method Summary
 java.lang.String getDescription()
          A description of the data set.
 int getId()
          The ID number of the data set.
 java.lang.String getSetName()
          The name of the data set.
 java.lang.String getUsername()
          The name of the user who uploaded the data set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Data_set

public Data_set(int id,
                java.lang.String setName,
                java.lang.String username,
                java.lang.String description)
Creates a new data set with the given values.

Parameters:
id - The ID number of the data set
setName - The name of the data set
username - The name of the user who uploaded the data set
description - A description of the data set
Method Detail

getDescription

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

Returns:
A string that describes the data set

getId

public int getId()
The ID number of the data set.

Returns:
The set's ID number

getSetName

public java.lang.String getSetName()
The name of the data set.

Returns:
The set's name

getUsername

public java.lang.String getUsername()
The name of the user who uploaded the data set.

Returns:
The user's name