Class OrganizationBaseType.Builder
java.lang.Object
org.projecthusky.common.basetypes.OrganizationBaseType.Builder
- Enclosing class:
- OrganizationBaseType
Builder to build
OrganizationBaseType
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the.withAddressList
(ArrayList<AddressBaseType> addressList) With address list.withIdentificatorList
(ArrayList<IdentificatorBaseType> identificatorList) With identificator list.withNameList
(ArrayList<NameBaseType> nameList) With name list.withNullFlavor
(NullFlavor nullFlavor) With null flavor.withPrimaryAddress
(AddressBaseType primaryAddress) With primary address.withPrimaryIdentificator
(IdentificatorBaseType primaryIdentificator) With primary identificator.withPrimaryName
(NameBaseType primaryName) With primary name.withPrimaryTelecom
(TelecomBaseType primaryTelecom) With primary telecom.withTelecomList
(ArrayList<TelecomBaseType> telecomList) With telecom list.
-
Method Details
-
build
Builds the.- Returns:
- the organization base type
-
withAddressList
With address list.- Parameters:
addressList
- the address list- Returns:
- the builder
-
withIdentificatorList
public OrganizationBaseType.Builder withIdentificatorList(ArrayList<IdentificatorBaseType> identificatorList) With identificator list.- Parameters:
identificatorList
- the identificator list- Returns:
- the builder
-
withNameList
With name list.- Parameters:
nameList
- the name list- Returns:
- the builder
-
withNullFlavor
With null flavor.- Parameters:
nullFlavor
- the null flavor- Returns:
- the builder
-
withPrimaryAddress
With primary address.- Parameters:
primaryAddress
- the primary address- Returns:
- the builder
-
withPrimaryIdentificator
public OrganizationBaseType.Builder withPrimaryIdentificator(IdentificatorBaseType primaryIdentificator) With primary identificator.- Parameters:
primaryIdentificator
- the primary identificator- Returns:
- the builder
-
withPrimaryName
With primary name.- Parameters:
primaryName
- the primary name- Returns:
- the builder
-
withPrimaryTelecom
With primary telecom.- Parameters:
primaryTelecom
- the primary telecom- Returns:
- the builder
-
withTelecomList
With telecom list.- Parameters:
telecomList
- the telecom list- Returns:
- the builder
-