java.lang.Object
com.semanticcms.core.model.Copyright
The copyright info for a book, a page, or a set of pages. Expected to be used with Dublin Core Terms:
- http://stackoverflow.com/questions/6665312/is-the-copyright-meta-tag-valid-in-html5
- https://wiki.whatwg.org/wiki/MetaExtensions
- http://dublincore.org/documents/dcmi-terms/
-
Constructor Details
-
Copyright
- Parameters:
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 Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getRightsHolder
-
getRights
-
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).
-