Class PopulationNameClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.AbstractContainerClient
-
- com.github.dannil.scbjavaclient.client.population.name.PopulationNameClient
-
public class PopulationNameClient extends AbstractContainerClient
Client which handles population name data fetching.
- Since:
- 0.5.0
-
-
Constructor Summary
Constructors Constructor Description PopulationNameClient()Default constructor.PopulationNameClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLEndpointgetUrl()Returns the URL endpoint which this client represents.PopulationNameNewbornClientnewborn()Retrieve the client for interacting with population name newborn data.PopulationNameRegisteredPersonsClientregisteredPersons()Retrieve the client for interacting with population name registered persons data.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractContainerClient
addClient, getClient, setLocale
-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocalizationLocale
-
-
-
-
Constructor Detail
-
PopulationNameClient
public PopulationNameClient()
Default constructor. Initializes values and creates sub-clients.
-
PopulationNameClient
public PopulationNameClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
newborn
public PopulationNameNewbornClient newborn()
Retrieve the client for interacting with population name newborn data.
- Returns:
- a client for population name newborn data
-
registeredPersons
public PopulationNameRegisteredPersonsClient registeredPersons()
Retrieve the client for interacting with population name registered persons data.
- Returns:
- a client for population name registered persons data
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClientReturns the URL endpoint which this client represents.
- Specified by:
getUrlin classAbstractClient- Returns:
- the URL endpoint for this client
-
-