Package ddf.catalog.endpoint.impl
Class CatalogEndpointImpl
java.lang.Object
ddf.catalog.endpoint.impl.CatalogEndpointImpl
- All Implemented Interfaces:
ddf.catalog.endpoint.CatalogEndpoint
-
Field Summary
FieldsFields inherited from interface ddf.catalog.endpoint.CatalogEndpoint
BINDING_TYPE_KEY, DESCRIPTION_KEY, ID_KEY, NAME_KEY, URL_KEY, VERSION_KEY -
Constructor Summary
ConstructorsConstructorDescriptionConstructorCatalogEndpointImpl(Map<String, String> endpointProperties) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the endpointProperties map.voidsetBindingType(String bindingType) Puts bindingType onto the endpoint properties map.voidsetDescription(String description) Puts description onto the endpoint properties map.voidsetEndpointProperties(Map<String, String> endpointProperties) Set the endpointProperties map.voidPuts id onto the endpoint properties map.voidPuts name onto the endpoint properties map.voidPuts url onto the endpoint properties map.voidsetUrlBindingName(String urlBindingName) Puts urlBindingName onto the endpoint properties map.voidsetVersion(String version) Puts version onto the endpoint properties map.
-
Field Details
-
endpointProperties
-
URL_BINDING_NAME_KEY
- See Also:
-
-
Constructor Details
-
CatalogEndpointImpl
public CatalogEndpointImpl()ConstructorCreates empty endpoint properties map
-
CatalogEndpointImpl
Constructor- Parameters:
endpointProperties- - a map of endpoint properties
-
-
Method Details
-
setBindingType
Puts bindingType onto the endpoint properties map. Removes the entry from the map if bindingType is null.- Parameters:
bindingType-
-
setDescription
Puts description onto the endpoint properties map. Removes the entry from the map if description is null.- Parameters:
description-
-
setId
Puts id onto the endpoint properties map. Removes the entry from the map if id is null.- Parameters:
id-
-
setName
Puts name onto the endpoint properties map. Removes the entry from the map if name is null.- Parameters:
name-
-
setUrl
Puts url onto the endpoint properties map. Removes the entry from the map if url is null.- Parameters:
url-
-
setVersion
Puts version onto the endpoint properties map. Removes the entry from the map if version is null.- Parameters:
version-
-
setUrlBindingName
Puts urlBindingName onto the endpoint properties map. Removes the entry from the map if urlBindingName is null.- Parameters:
urlBindingName-
-
setEndpointProperties
Set the endpointProperties map.- Parameters:
endpointProperties-
-
getEndpointProperties
Returns the endpointProperties map.- Specified by:
getEndpointPropertiesin interfaceddf.catalog.endpoint.CatalogEndpoint- Returns:
- endpointPropties
-