pojos
Class BooleanAnnotationData

java.lang.Object
  extended by pojos.DataObject
      extended by pojos.AnnotationData
          extended by pojos.BooleanAnnotationData

public class BooleanAnnotationData
extends AnnotationData

Boolean annotation.

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

Field Summary
static String INSIGHT_PUBLISHED_NS
          The name space used to indicate that the tag is used a tag set.
 
Constructor Summary
BooleanAnnotationData()
          Creates a new instance.
BooleanAnnotationData(boolean value)
          Creates a new instance.
BooleanAnnotationData(omero.model.BooleanAnnotation annotation)
          Creates a new instance.
 
Method Summary
 Object getContent()
          Returns the textual content of the annotation.
 String getContentAsString()
          Returns the textual content of the annotation.
 Boolean getValue()
          Returns the text of this annotation.
 void setContent(Object content)
          Sets the text annotation.
 void setValue(boolean value)
          Returns the text.
 
Methods inherited from class pojos.AnnotationData
getLastModified, getNameSpace, setNameSpace
 
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
 

Field Detail

INSIGHT_PUBLISHED_NS

public static final String INSIGHT_PUBLISHED_NS
The name space used to indicate that the tag is used a tag set.

See Also:
Constant Field Values
Constructor Detail

BooleanAnnotationData

public BooleanAnnotationData()
Creates a new instance.


BooleanAnnotationData

public BooleanAnnotationData(boolean value)
Creates a new instance.

Parameters:
value - The value to set.

BooleanAnnotationData

public BooleanAnnotationData(omero.model.BooleanAnnotation annotation)
Creates a new instance.

Parameters:
annotation - The BooleanAnnotation object corresponding to this DataObject. Mustn't be null.
Method Detail

setValue

public void setValue(boolean value)
Returns the text.

Parameters:
value - The value to set.

getValue

public Boolean getValue()
Returns the text of this annotation.

Returns:
See above.

getContent

public Object getContent()
Returns the textual content of the annotation.

Specified by:
getContent in class AnnotationData
Returns:
See above.
See Also:
AnnotationData.getContent()

getContentAsString

public String getContentAsString()
Returns the textual content of the annotation.

Specified by:
getContentAsString in class AnnotationData
Returns:
See above
See Also:
AnnotationData.getContentAsString()

setContent

public void setContent(Object content)
Sets the text annotation.

Specified by:
setContent in class AnnotationData
Parameters:
content - The value to set.
See Also:
AnnotationData.setContent(Object)


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

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