public final class LicenseFamilyBuilder
extends java.lang.Object
LicenseFamily instances.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
category
Names of the category containing this license family.
|
private java.lang.String |
name
Uniquely identifies this family.
|
private java.lang.String |
notes
Further information associated with the license family.
|
| Modifier | Constructor and Description |
|---|---|
private |
LicenseFamilyBuilder()
Use {@link #aLicenseFamily()
|
| Modifier and Type | Method and Description |
|---|---|
static LicenseFamilyBuilder |
aLicenseFamily()
Begins to build a license family.
|
LicenseFamily |
build()
Builds a family.
|
LicenseFamilyBuilder |
withCategory(java.lang.String category)
Builds family with category containing this license family.
|
LicenseFamilyBuilder |
withName(java.lang.String name)
Uniquely identifies this family.
|
LicenseFamilyBuilder |
withNotes(java.lang.String notes)
Builds family with further information associated with the license
family.
|
private java.lang.String notes
private java.lang.String category
private java.lang.String name
public static LicenseFamilyBuilder aLicenseFamily()
public LicenseFamily build()
public LicenseFamilyBuilder withNotes(java.lang.String notes)
notes - possibly nullpublic LicenseFamilyBuilder withCategory(java.lang.String category)
category - possible nullpublic LicenseFamilyBuilder withName(java.lang.String name)
name - not null