Class LicenseFamilyBuilder


  • public final class LicenseFamilyBuilder
    extends java.lang.Object
    Builds LicenseFamily instances.
    • Field Detail

      • notes

        private java.lang.String notes
        Further information associated with the license family. Human readable.
      • category

        private java.lang.String category
        Names of the category containing this license family. Recommended that this be an URI.
      • name

        private java.lang.String name
        Uniquely identifies this family. Choosing a suitable URI is recommended
    • Constructor Detail

    • Method Detail

      • aLicenseFamily

        public static LicenseFamilyBuilder aLicenseFamily()
        Begins to build a license family.
        Returns:
        a builder for a license family, not null
      • build

        public LicenseFamily build()
        Builds a family.
        Returns:
        not null
      • withNotes

        public LicenseFamilyBuilder withNotes​(java.lang.String notes)
        Builds family with further information associated with the license family. Human readable.
        Parameters:
        notes - possibly null
        Returns:
        this instance, not null
      • withCategory

        public LicenseFamilyBuilder withCategory​(java.lang.String category)
        Builds family with category containing this license family. Choosing a suitable URI is recommended
        Parameters:
        category - possible null
        Returns:
        this instance, not null
      • withName

        public LicenseFamilyBuilder withName​(java.lang.String name)
        Uniquely identifies this family. Choosing a suitable URI is recommended.
        Parameters:
        name - not null
        Returns:
        this instance, not null