Class MetadataAuthor


  • public final class MetadataAuthor
    extends Object
    Publisher or creator of the content item.
    • Constructor Detail

      • MetadataAuthor

        public MetadataAuthor()
    • Method Detail

      • name

        public String name()
        Get the name property: Name of the author. Company or person.
        Returns:
        the name value.
      • withName

        public MetadataAuthor withName​(String name)
        Set the name property: Name of the author. Company or person.
        Parameters:
        name - the name value to set.
        Returns:
        the MetadataAuthor object itself.
      • email

        public String email()
        Get the email property: Email of author contact.
        Returns:
        the email value.
      • withEmail

        public MetadataAuthor withEmail​(String email)
        Set the email property: Email of author contact.
        Parameters:
        email - the email value to set.
        Returns:
        the MetadataAuthor object itself.
      • link

        public String link()
        Get the link property: Link for author/vendor page.
        Returns:
        the link value.
      • withLink

        public MetadataAuthor withLink​(String link)
        Set the link property: Link for author/vendor page.
        Parameters:
        link - the link value to set.
        Returns:
        the MetadataAuthor object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.