Class AddressBaseType.Builder
java.lang.Object
org.projecthusky.common.basetypes.AddressBaseType.Builder
- Enclosing class:
- AddressBaseType
Builder to build
AddressBaseType
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the.withAdditionalLocator
(String additionalLocator) With additional locator.withBuildingNumber
(String buildingNumber) With building number.With city.withCountry
(String country) With country.withNullFlavor
(NullFlavor nullFlavor) With null flavor.withPostalCode
(String postalCode) With postal code.withPostBox
(String postBox) With post box.With state.withStreetAddressLine1
(String streetAddressLine1) With street address line 1.withStreetAddressLine2
(String streetAddressLine2) With street address line 2.withStreetName
(String streetName) With street name.withUsage
(PostalAddressUse usage) With usage.
-
Method Details
-
build
Builds the.- Returns:
- the address base type
-
withAdditionalLocator
With additional locator.- Parameters:
additionalLocator
- the additional locator- Returns:
- the builder
-
withBuildingNumber
With building number.- Parameters:
buildingNumber
- the building number- Returns:
- the builder
-
withCity
With city.- Parameters:
city
- the city- Returns:
- the builder
-
withCountry
With country.- Parameters:
country
- the country- Returns:
- the builder
-
withNullFlavor
With null flavor.- Parameters:
nullFlavor
- the null flavor- Returns:
- the builder
-
withPostalCode
With postal code.- Parameters:
postalCode
- the postal code- Returns:
- the builder
-
withPostBox
With post box.- Parameters:
postBox
- the post box- Returns:
- the builder
-
withState
With state.- Parameters:
state
- the state- Returns:
- the builder
-
withStreetAddressLine1
With street address line 1.- Parameters:
streetAddressLine1
- the street address line 1- Returns:
- the builder
-
withStreetAddressLine2
With street address line 2.- Parameters:
streetAddressLine2
- the street address line 2- Returns:
- the builder
-
withStreetName
With street name.- Parameters:
streetName
- the street name- Returns:
- the builder
-
withUsage
With usage.- Parameters:
usage
- the usage- Returns:
- the builder
-