pojos
Class WellSampleData

java.lang.Object
  extended by pojos.DataObject
      extended by pojos.WellSampleData

public class WellSampleData
extends DataObject

The data that makes up an OME WellSample along with links to its images and the Experimenter that owns this WellSample.

Since:
3.0-Beta3
Version:
3.0 (Internal version: $Revision: $Date: $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk, Donald MacDonald      donald@lifesci.dundee.ac.uk

Constructor Summary
WellSampleData()
          Creates a new instance.
WellSampleData(omero.model.WellSample wellSample)
          Creates a new instance.
 
Method Summary
 ImageData getImage()
          Returns the image related to that sample if any.
 double getPositionX()
          Returns the position X.
 double getPositionY()
          Returns the position Y.
 void setImage(ImageData newValue)
          Sets the image linked to this well sample.
 
Methods inherited from class pojos.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WellSampleData

public WellSampleData()
Creates a new instance.


WellSampleData

public WellSampleData(omero.model.WellSample wellSample)
Creates a new instance.

Parameters:
wellSample - Back pointer to the WellSample model object. Mustn't be null.
Throws:
IllegalArgumentException - If the object is null.
Method Detail

getImage

public ImageData getImage()
Returns the image related to that sample if any. Possible values are 0 or 1.

Returns:
See above.

setImage

public void setImage(ImageData newValue)
Sets the image linked to this well sample.

Parameters:
newValue - The image to set.

getPositionX

public double getPositionX()
Returns the position X.

Returns:
See above.

getPositionY

public double getPositionY()
Returns the position Y.

Returns:
See above.


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.