Class XMLAnnotationData


  • public class XMLAnnotationData
    extends AnnotationData
    Defines an XML Annotation.
    Since:
    3.0-Beta4
    • Field Detail

      • MODULO_NS

        public static final java.lang.String MODULO_NS
        The name space used to identify modulo concept.
        See Also:
        Constant Field Values
    • Constructor Detail

      • XMLAnnotationData

        public XMLAnnotationData()
        Creates a new instance.
      • XMLAnnotationData

        public XMLAnnotationData​(java.lang.String text)
        Creates a new instance.
        Parameters:
        text - The text to set.
      • XMLAnnotationData

        public XMLAnnotationData​(omero.model.XmlAnnotation annotation)
        Creates a new instance.
        Parameters:
        annotation - The XmlAnnotation object corresponding to this DataObject. Mustn't be null.
    • Method Detail

      • setDescription

        public void setDescription​(java.lang.String value)
        Sets the description of the annotation.
        Overrides:
        setDescription in class AnnotationData
        Parameters:
        value - The value to set.
      • getDescription

        public java.lang.String getDescription()
        Returns the description of the annotation.
        Overrides:
        getDescription in class AnnotationData
        Returns:
        See above.
      • setText

        public void setText​(java.lang.String value)
        Sets the text value.
        Parameters:
        value - The value to set.
      • getText

        public java.lang.String getText()
        Returns the text of this annotation.
        Returns:
        See above.