pojos
Class TermAnnotationData

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

public class TermAnnotationData
extends AnnotationData

Defines a Term Annotation.

Since:
Beta4.2
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
TermAnnotationData(String term)
          Creates a new instance.
TermAnnotationData(omero.model.TermAnnotation 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.
 String getNameSpace()
          Returns the namespace of the term.
 String getTerm()
          Returns the term.
 String getTermDescription()
          Returns the description of the term.
 void setContent(Object content)
          Sets the text annotation.
 void setNameSpace(String name)
          Returns the namespace of the term.
 void setTerm(String term)
          Sets the term.
 
Methods inherited from class pojos.AnnotationData
getLastModified
 
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

TermAnnotationData

public TermAnnotationData(String term)
Creates a new instance.

Parameters:
term - The value to set.

TermAnnotationData

public TermAnnotationData(omero.model.TermAnnotation annotation)
Creates a new instance.

Parameters:
annotation - The value to set.
Method Detail

setTerm

public void setTerm(String term)
Sets the term.

Parameters:
term - The value to set.

getTerm

public String getTerm()
Returns the term.

Returns:
See above.

getTermDescription

public String getTermDescription()
Returns the description of the term.

Returns:
See above.

getNameSpace

public String getNameSpace()
Returns the namespace of the term.

Overrides:
getNameSpace in class AnnotationData
Returns:
See above.

setNameSpace

public void setNameSpace(String name)
Returns the namespace of the term.

Overrides:
setNameSpace in class AnnotationData
Parameters:
The - value to set.

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: 4.3.4-dbcbce5a-b4

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