uk.ac.cisban.rod.database.plates
Class Masterplate

java.lang.Object
  extended by uk.ac.cisban.rod.database.plates.Masterplate
All Implemented Interfaces:
java.lang.Comparable<Masterplate>

public class Masterplate
extends java.lang.Object
implements java.lang.Comparable<Masterplate>

A plate from which other plates can be inoculated.

Since:
30-Sep-2009, 12:29:34
Author:
Morgan Taschuk

Constructor Summary
Masterplate(Barcode barcode, java.util.Date datePoured, MediumCV mediumCV, PlateCV plateCV, int plateNo)
           
 
Method Summary
 int compareTo(Masterplate anotherMasterplate)
           
 Barcode getBarcode()
           
 java.util.Date getDatePoured()
           
 java.lang.Long getId()
           
 java.util.Set<MasterplatePosition> getMasterPlatePositions()
           
 MediumCV getMediumCV()
           
 PlateCV getPlateCV()
           
 int getPlateNo()
           
 void setBarcode(Barcode barcode)
           
 void setMasterPlatePositions(java.util.Set<MasterplatePosition> masterplatePositions)
           
 void setPlateCV(PlateCV plateCV)
           
 void setPlateNo(int plateNo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Masterplate

public Masterplate(Barcode barcode,
                   java.util.Date datePoured,
                   MediumCV mediumCV,
                   PlateCV plateCV,
                   int plateNo)
Method Detail

getId

public java.lang.Long getId()

getBarcode

public Barcode getBarcode()

setBarcode

public void setBarcode(Barcode barcode)

getMasterPlatePositions

public java.util.Set<MasterplatePosition> getMasterPlatePositions()

setMasterPlatePositions

public void setMasterPlatePositions(java.util.Set<MasterplatePosition> masterplatePositions)

getPlateNo

public int getPlateNo()

setPlateNo

public void setPlateNo(int plateNo)

getDatePoured

public java.util.Date getDatePoured()

getMediumCV

public MediumCV getMediumCV()

getPlateCV

public PlateCV getPlateCV()

setPlateCV

public void setPlateCV(PlateCV plateCV)

compareTo

public int compareTo(Masterplate anotherMasterplate)
              throws java.lang.ClassCastException
Specified by:
compareTo in interface java.lang.Comparable<Masterplate>
Throws:
java.lang.ClassCastException


Copyright © 2010. All Rights Reserved.