com.afrigis.services.AfriGISService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core Java library to ease use of AfriGIS Services
package com.afrigis.services;
/**
*
* Enumerates the known AfriGIS Services.
*
*
* @author hendrikc
*
*/
public enum AfriGISService {
/**
* Enum for the intiendols.basic.geocode.address
service.
*/
geocodeServiceAddress("intiendols.basic.geocode.address"),
/**
* Enum for the intiendols.basic.geocode.details
service.
*/
geocodeServiceDetails("intiendols.basic.geocode.details"),
/**
* Please see https://developers.afrigis.co.za/portfolio/reverse-geocoding/
* .
*/
reverseGeocodeService("reverseGeocode.reverseGeocode"),
/**
* Please see https://developers.afrigis.co.za/portfolio/auto-complete-api/
* .
*/
tokenService("saas.getToken"),
/**
* Please see
* https://developers.afrigis.co.za/portfolio/dropdown-search-api/ .
*/
getProvinces("aghs.getProvinces"),
/**
* Please see
* https://developers.afrigis.co.za/portfolio/dropdown-search-api/ .
*/
getTowns("aghs.getTowns"),
/**
*
* Please see
* https://developers.afrigis.co.za/portfolio/dropdown-search-api/ .
*
*/
getSuburbs("aghs.getSuburbs"),
/**
*
* Enum for the saas.getCredits
call.
*
*/
getCredits("saas.getCredits");
private final String serviceId;
/**
*
* Outputs the service id.
*
* @return the service id of this enum
*/
public String toString() {
return serviceId;
}
AfriGISService(String id) {
serviceId = id;
}
}