Class TagAnnotationWrapper

    • Constructor Detail

      • TagAnnotationWrapper

        public TagAnnotationWrapper​(TagAnnotationData tag)
        Constructor of the TagAnnotationWrapper class.
        Parameters:
        tag - TagAnnotationData to wrap.
      • TagAnnotationWrapper

        public TagAnnotationWrapper​(DataManager dm,
                                    java.lang.String name,
                                    java.lang.String description)
                             throws ServiceException,
                                    AccessException,
                                    java.util.concurrent.ExecutionException
        Constructor of the TagAnnotationWrapper class. Creates the tag and save it in OMERO.
        Parameters:
        dm - The data manager.
        name - Annotation name.
        description - Tag description.
        Throws:
        ServiceException - Cannot connect to OMERO.
        AccessException - Cannot access data.
        java.util.concurrent.ExecutionException - A Facility can't be retrieved or instantiated.
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name of the TagData.
        Specified by:
        getName in interface TagAnnotation
        Returns:
        TagData name.
      • setName

        public void setName​(java.lang.String name)
        Sets the name of the TagData.
        Specified by:
        setName in interface TagAnnotation
        Parameters:
        name - The name of the TagData. Mustn't be null.
        Throws:
        java.lang.IllegalArgumentException - If the name is null.