Class MapAnnotationWrapper

    • Constructor Detail

      • MapAnnotationWrapper

        public MapAnnotationWrapper​(MapAnnotationData data)
        Constructor of the MapAnnotationWrapper class.
        Parameters:
        data - MapAnnotationData to wrap.
      • MapAnnotationWrapper

        public MapAnnotationWrapper​(java.util.Collection<? extends java.util.Map.Entry<java.lang.String,​java.lang.String>> pairs)
        Constructor of the MapAnnotationWrapper class. Sets the content of the map annotation.
        Parameters:
        pairs - List of Key-Value pairs.
      • MapAnnotationWrapper

        public MapAnnotationWrapper()
        Constructor of the MapAnnotationWrapper class.
    • Method Detail

      • getContent

        public java.util.List<java.util.Map.Entry<java.lang.String,​java.lang.String>> getContent()
        Gets the List of Key-Value pairs contained in the map annotation.
        Specified by:
        getContent in interface MapAnnotation
        Returns:
        MapAnnotationData content.
      • setContent

        public void setContent​(java.util.Collection<? extends java.util.Map.Entry<java.lang.String,​java.lang.String>> pairs)
        Sets the content of the map annotation.
        Specified by:
        setContent in interface MapAnnotation
        Parameters:
        pairs - Collection of Key-Value pairs.