Class License


  • public class License
    extends UniqueObject
    License model/description containing all relevant metadata of a license that can be used to specify the license under which an object is available or distributed.
    • Method Detail

      • getAcronym

        public String getAcronym()
        Returns:
        the (language independent/english) acronym for this license, e.g. "CC0 1.0" for "Public Domain" or "CC BY-NC-SA 3.0"
      • getLabel

        public LocalizedText getLabel()
        Returns:
        multilingual license title, e.g. "URHEBERRECHTSSCHUTZ - NICHT KOMMERZIELLE NUTZUNG GESTATTET", "IN COPYRIGHT - NON-COMMERCIAL USE PERMITTED"
      • getUrl

        public URL getUrl()
        Returns:
        the url to the official public accessible documentation/specification of the license, e.g. "http://rightsstatements.org/vocab/InC-NC/1.0/"
      • setAcronym

        public void setAcronym​(String acronym)
      • setUrl

        public void setUrl​(URL url)