2.17.2: 2011-06-17

net.sf.basedb.core.data
Class PlateTypeData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by net.sf.basedb.core.data.OwnedData
          extended by net.sf.basedb.core.data.SharedData
              extended by net.sf.basedb.core.data.CommonData
                  extended by net.sf.basedb.core.data.PlateTypeData
All Implemented Interfaces:
IdentifiableData, NameableData, OwnableData, RegisteredData, RemovableData, ShareableData

public class PlateTypeData
extends CommonData
implements RegisteredData

This class holds information about a plate type.

Version:
2.0
Author:
Nicklas
See Also:
PlateType, Array LIMS - Plates overview
Last modified
$Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $
Hibernate: class
table="`PlateTypes`" lazy="false"

Field Summary
private  Date entryDate
           
private  Set<PlateEventTypeData> eventTypes
           
private  PlateGeometryData plateGeometry
           
private  Set<PlateData> plates
           
 
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
 
Constructor Summary
PlateTypeData()
           
 
Method Summary
 Date getEntryDate()
          Get the date this item was added to the database.
(package private)  Set<PlateEventTypeData> getEventTypes()
          The event types defined for this plate type.
 PlateGeometryData getPlateGeometry()
          The geometry of this plate type.
(package private)  Set<PlateData> getPlates()
          The plates of this type.
 void setEntryDate(Date entryDate)
           
(package private)  void setEventTypes(Set<PlateEventTypeData> eventTypes)
           
 void setPlateGeometry(PlateGeometryData plateGeometry)
           
(package private)  void setPlates(Set<PlateData> plates)
           
 
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, isRemoved, setDescription, setName, setRemoved
 
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class net.sf.basedb.core.data.OwnedData
getOwner, setOwner
 
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
 
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
 

Field Detail

entryDate

private Date entryDate

plateGeometry

private PlateGeometryData plateGeometry

eventTypes

private Set<PlateEventTypeData> eventTypes

plates

private Set<PlateData> plates
Constructor Detail

PlateTypeData

public PlateTypeData()
Method Detail

getEntryDate

public Date getEntryDate()
Description copied from interface: RegisteredData
Get the date this item was added to the database. The value is generated at creation time and can't be modified later.

Specified by:
getEntryDate in interface RegisteredData

setEntryDate

public void setEntryDate(Date entryDate)

getPlateGeometry

public PlateGeometryData getPlateGeometry()
The geometry of this plate type.

Hibernate: many-to-one
column="`plategeometry_id`" not-null="true" outer-join="false" update="false"

setPlateGeometry

public void setPlateGeometry(PlateGeometryData plateGeometry)

getEventTypes

Set<PlateEventTypeData> getEventTypes()
The event types defined for this plate type. Plates of this type can have events of the corresponding event type. This is the inverse end.

See Also:
PlateEventTypeData.getPlateType()
Hibernate: set
lazy="true" inverse="true" cascade="delete"
Hibernate: collection-key
column="`platetype_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.PlateEventTypeData"

setEventTypes

void setEventTypes(Set<PlateEventTypeData> eventTypes)

getPlates

Set<PlateData> getPlates()
The plates of this type. This is the inverse end.

See Also:
PlateData.getPlateType()
Hibernate: set
lazy="true" inverse="true"
Hibernate: collection-key
column="`platetype_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.PlateData"

setPlates

void setPlates(Set<PlateData> plates)

2.17.2: 2011-06-17