Class MetaTagCollectionImpl

    • Constructor Detail

      • MetaTagCollectionImpl

        public MetaTagCollectionImpl()
    • Method Detail

      • getMetaTags

        public <T> Collection<MetaTag<T>> getMetaTags()
        Specified by:
        getMetaTags in interface MetaTagCollection
        Type Parameters:
        T - returns a collection of all the meta tags
        Returns:
        the collection of all current meta tags
      • addMetaTag

        public <T> boolean addMetaTag​(MetaTag<T> metaTag)
        Description copied from interface: MetaTagCollection
        Adds a meta tag to the current vertex
        Specified by:
        addMetaTag in interface MetaTagCollection
        Type Parameters:
        T - the type of the meta tag to add
        Parameters:
        metaTag - the meta tag
        Returns:
        a flag which indicates if the element was added
      • removeMetaTag

        public <T> boolean removeMetaTag​(MetaTag<T> metaTag)
        Description copied from interface: MetaTagCollection
        Removes a meta tag from the current vertex
        Specified by:
        removeMetaTag in interface MetaTagCollection
        Type Parameters:
        T - the type of the meta tag to remove
        Parameters:
        metaTag - the meta tag
        Returns:
        a flag which indicates if the element was removed