Class MetaInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class MetaInfo
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MetaInfo()  
      MetaInfo​(java.lang.String title, Description content, java.util.List<java.net.URL> urls, java.util.List<java.lang.String> urlTexts)  
    • Constructor Detail

      • MetaInfo

        public MetaInfo​(@Nonnull
                        java.lang.String title,
                        @Nonnull
                        Description content,
                        @Nonnull
                        java.util.List<java.net.URL> urls,
                        @Nonnull
                        java.util.List<java.lang.String> urlTexts)
      • MetaInfo

        public MetaInfo()
    • Method Detail

      • getTitle

        @Nonnull
        public java.lang.String getTitle()
        Returns:
        Title of the info. Can be empty.
      • setTitle

        public void setTitle​(@Nonnull
                             java.lang.String title)
      • getContent

        @Nonnull
        public Description getContent()
      • setContent

        public void setContent​(@Nonnull
                               Description content)
      • getUrls

        @Nonnull
        public java.util.List<java.net.URL> getUrls()
      • setUrls

        public void setUrls​(@Nonnull
                            java.util.List<java.net.URL> urls)
      • addUrl

        public void addUrl​(@Nonnull
                           java.net.URL url)
      • getUrlTexts

        @Nonnull
        public java.util.List<java.lang.String> getUrlTexts()
      • setUrlTexts

        public void setUrlTexts​(@Nonnull
                                java.util.List<java.lang.String> urlTexts)
      • addUrlText

        public void addUrlText​(@Nonnull
                               java.lang.String urlText)