Class Copyright

  • public class Copyright
    extends Object
    The copyright info for a book, a page, or a set of pages. Expected to be used with Dublin Core Terms:
    • Constructor Detail

      • Copyright

        public Copyright​(String rightsHolder,
                         String rights,
                         String dateCopyrighted)
        rightsHolder - The rights holder, "" means none and null will inherit.
        rights - The rights, "" means none and null will inherit.
        dateCopyrighted - The date copyrighted, "" means none and null will inherit.
    • Method Detail

      • hashCode

        public int hashCode()
        hashCode in class Object
      • getRightsHolder

        public String getRightsHolder()
      • getRights

        public String getRights()
      • getDateCopyrighted

        public String getDateCopyrighted()
      • hasAllFields

        public boolean hasAllFields()
        Checks if has all fields (none need inherited).
      • isEmpty

        public boolean isEmpty()
        Checks if the copyright is empty (has all null or blank fields).