hepdata is hosted by Hepforge, IPPP Durham

cedar.hepdata.model
Class Experiment

java.lang.Object
  extended by cedar.hepdata.model.Experiment
All Implemented Interfaces:
HDPersistable

public class Experiment
extends java.lang.Object
implements HDPersistable

The Experiment for which the data was collected.

Version:
$Date: 2006-02-02 16:35:56 +0000 (Thu, 02 Feb 2006) $ $Revision: 500 $
Author:
S Butterworth

Field Summary
static int MAXLENGTH
           
 
Constructor Summary
Experiment(HDObjectReader reader)
          builds experiment from a file
 
Method Summary
 java.lang.String getDescription()
           
 int getId()
          Return the experiment ID
 int getPaperId()
           
 void setDescription(java.lang.String s)
           
 void setId(int id)
          Set the internal ID code
 void setPaperId(int id)
           
 java.lang.String toString()
          Produce a string representation of the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAXLENGTH

public static final int MAXLENGTH
See Also:
Constant Field Values
Constructor Detail

Experiment

public Experiment(HDObjectReader reader)
           throws HDException
builds experiment from a file

Throws:
HDException

Method Detail

getId

public int getId()
Return the experiment ID

Specified by:
getId in interface HDPersistable
Returns:
experimentId


setId

public void setId(int id)
Description copied from interface: HDPersistable
Set the internal ID code

Specified by:
setId in interface HDPersistable
Parameters:
id - internal ID used to define (part of) the


getPaperId

public int getPaperId()

setPaperId

public void setPaperId(int id)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String s)

toString

public java.lang.String toString()
Description copied from interface: HDPersistable
Produce a string representation of the object

Specified by:
toString in interface HDPersistable
Overrides:
toString in class java.lang.Object


Generated 20060512 1623

HEPData