Package org.apache.rat.api.domain
Class LicenseFamily
java.lang.Object
org.apache.rat.api.domain.LicenseFamily
Licenses are grouped into families. Each family has similar legal semantics,
though some small details may differ.
For example, the 3 clause BSD license is in a family where members differ by <OWNER>, <ORGANIZATION> and <YEAR> parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionLicenseFamily(String name, String category, String notes)Constructs an immutable license family. -
Method Summary
-
Constructor Details
-
LicenseFamily
Constructs an immutable license family.- Parameters:
name- the name uniquely identifying this family. Recommended that this be an URI. Not null.category- the name of the category containing this license family. Recommended that this be an URI. Possibly null.notes- further information associated with the license family. Human readable. Possibly null.
-
-
Method Details
-
getNotes
Gets further information associated with the license family. Human readable.- Returns:
- possibly null
-
getCategory
Gets the name of the category containing this license family. Recommended that this be an URI.- Returns:
- possibly null
-
getName
Gets the name uniquely identifying this family. Recommended that this be an URI.- Returns:
- not null
-