/** * Build up this name form with a part. * * @param part The part. * @return this. */ public NameForm part(NamePart part) { addPart(part); return this; }
public NameForm(String fullText, NamePart... parts) { this.fullText = fullText; for (NamePart part : parts) { addPart(part); } }
/** * Build up this name form with a part. * * @param partType The part type. * @param value The value. * @return this. */ public NameForm part(NamePartType partType, String value) { addPart(new NamePart(partType, value)); return this; }