Class TagAnnotationWrapper

    • Constructor Detail

      • TagAnnotationWrapper

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

        public TagAnnotationWrapper​(Client client,
                                    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:
        client - The client handling the connection.
        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.
        Returns:
        TagData name.
      • setName

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