public static class GeographicIdentifier.Builder extends Object implements IBuilder, Serializable
IBuilder
,
Serialized FormConstructor and Description |
---|
Builder()
Empty constructor
|
Builder(GeographicIdentifier identifier)
Constructor which starts from an existing component.
|
Modifier and Type | Method and Description |
---|---|
GeographicIdentifier |
commit()
Finalizes the data gathered for this builder instance.
|
CountryCode.Builder |
getCountryCode()
Builder accessor for the country code
|
FacilityIdentifier.Builder |
getFacilityIdentifier()
Builder accessor for the facility identifier
|
List<String> |
getNames()
Builder accessor for the names
|
List<String> |
getRegions()
Builder accessor for the regions
|
SubDivisionCode.Builder |
getSubDivisionCode()
Builder accessor for the subdivision code
|
boolean |
isEmpty()
Checks if any values have been provided for this Builder.
|
void |
setCountryCode(CountryCode.Builder countryCode)
Builder accessor for the country code
|
void |
setFacilityIdentifier(FacilityIdentifier.Builder facilityIdentifier)
Builder accessor for the facility identifier
|
void |
setNames(List<String> names)
Builder accessor for the names
|
void |
setRegions(List<String> regions)
Builder accessor for the regions
|
void |
setSubDivisionCode(SubDivisionCode.Builder subDivisionCode)
Builder accessor for the subdivision code
|
public Builder()
public Builder(GeographicIdentifier identifier)
public GeographicIdentifier commit() throws InvalidDDMSException
IBuilder
commit
in interface IBuilder
InvalidDDMSException
- if any required information is missing or malformedIBuilder.commit()
public boolean isEmpty()
IBuilder
isEmpty
in interface IBuilder
IBuilder.isEmpty()
public List<String> getNames()
public void setNames(List<String> names)
public List<String> getRegions()
public void setRegions(List<String> regions)
public CountryCode.Builder getCountryCode()
public void setCountryCode(CountryCode.Builder countryCode)
public SubDivisionCode.Builder getSubDivisionCode()
public void setSubDivisionCode(SubDivisionCode.Builder subDivisionCode)
public FacilityIdentifier.Builder getFacilityIdentifier()
public void setFacilityIdentifier(FacilityIdentifier.Builder facilityIdentifier)
Copyright 2010 - 2019 by Brian Uri!
Generated on 09/15/2016 12:36 PM
https://ddmsence.urizone.net/