Last update: 2011-06-23

org.proteios.core.data
Class InstrumentConfigurationData

java.lang.Object
  extended by org.proteios.core.data.BasicData
      extended by org.proteios.core.data.OwnedData
          extended by org.proteios.core.data.SharedData
              extended by org.proteios.core.data.CommonData
                  extended by org.proteios.core.data.AnnotatedData
                      extended by org.proteios.core.data.InstrumentConfigurationData
All Implemented Interfaces:
AnnotatableData, FileAttachableData, IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData
Direct Known Subclasses:
HardwareConfigurationData, SoftwareConfigurationData

public abstract class InstrumentConfigurationData
extends AnnotatedData
implements FileAttachableData

This class is the root class for instrumentconfigurations.

Version:
2.0
Author:
Olle
See Also:
InstrumentConfiguration, InstrumentConfigurations overview
Last modified
$Date: 2006-05-31 14:31:54Z $
Hibernate: class
table="`InstrumentConfigurations`" lazy="false" discriminator-value="0"
Hibernate: discriminator
column="`discriminator`" type="int"

Field Summary
static int MAX_DATETIME_LENGTH
          The maximum length of the dateTime string that can be stored in the database.
 
Fields inherited from interface org.proteios.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
 
Constructor Summary
InstrumentConfigurationData()
           
 
Method Summary
 String getDateTime()
          Get the dateTime string for the instrumentconfiguration
 FileData getFile()
          Get the protocol file
 void setDateTime(String dateTime)
           
 void setFile(FileData file)
          Set the protocol file
 
Methods inherited from class org.proteios.core.data.AnnotatedData
getAnnotationSet, setAnnotationSet
 
Methods inherited from class org.proteios.core.data.CommonData
getDescription, getName, isRemoved, setDescription, setName, setRemoved
 
Methods inherited from class org.proteios.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class org.proteios.core.data.OwnedData
getOwner, setOwner
 
Methods inherited from class org.proteios.core.data.BasicData
equals, getId, getVersion, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.proteios.core.data.IdentifiableData
getId, getVersion
 
Methods inherited from interface org.proteios.core.data.OwnableData
getOwner, setOwner
 

Field Detail

MAX_DATETIME_LENGTH

public static final int MAX_DATETIME_LENGTH
The maximum length of the dateTime string that can be stored in the database.

See Also:
setDateTime(String), Constant Field Values
Constructor Detail

InstrumentConfigurationData

public InstrumentConfigurationData()
Method Detail

getDateTime

public String getDateTime()
Get the dateTime string for the instrumentconfiguration

Hibernate: property
column="`date_time`" type="string" length="255" not-null="false"

setDateTime

public void setDateTime(String dateTime)

getFile

public FileData getFile()
Get the protocol file

Specified by:
getFile in interface FileAttachableData
Returns:
the FileData
Hibernate: many-to-one
column="`protocol`" not-null="false" outer-join="false"

setFile

public void setFile(FileData file)
Set the protocol file

Specified by:
setFile in interface FileAttachableData
Parameters:
file - The protocol File

Last update: 2011-06-23