Class NameBaseType.Builder
java.lang.Object
org.projecthusky.common.basetypes.NameBaseType.Builder
- Enclosing class:
- NameBaseType
Builder to build
NameBaseType.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the.withDelimiter(String delimiter) With delimiter.withFamily(String family) With family.With given.With name.withNullFlavor(NullFlavor nullFlavor) With null flavor.withPrefix(String prefix) With prefix.withSuffix(String suffix) With suffix.withUsage(EntityNameUse usage) With usage.
-
Method Details
-
build
Builds the.- Returns:
- the name base type
-
withDelimiter
With delimiter.- Parameters:
delimiter- the delimiter- Returns:
- the builder
-
withFamily
With family.- Parameters:
family- the family- Returns:
- the builder
-
withGiven
With given.- Parameters:
given- the given- Returns:
- the builder
-
withName
With name.- Parameters:
name- the name- Returns:
- the builder
-
withNullFlavor
With null flavor.- Parameters:
nullFlavor- the null flavor- Returns:
- the builder
-
withPrefix
With prefix.- Parameters:
prefix- the prefix- Returns:
- the builder
-
withSuffix
With suffix.- Parameters:
suffix- the suffix- Returns:
- the builder
-
withUsage
With usage.- Parameters:
usage- the usage- Returns:
- the builder
-