Class CatalogInputAdapter
java.lang.Object
org.codice.alliance.imaging.chip.transformer.CatalogInputAdapter
A class to convert a Metacard to a ResourceRequest object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionddf.catalog.operation.ResourceRequestbuildReadRequest(ddf.catalog.data.Metacard metacard) Construct a resource request for the object represented by the metacard.ddf.catalog.operation.ResourceRequestbuildReadRequest(ddf.catalog.data.Metacard metacard, String qualifier) getResourceSiteName(ddf.catalog.data.Metacard metacard)
-
Constructor Details
-
CatalogInputAdapter
public CatalogInputAdapter()
-
-
Method Details
-
buildReadRequest
public ddf.catalog.operation.ResourceRequest buildReadRequest(ddf.catalog.data.Metacard metacard, String qualifier) - Parameters:
metacard- the Metacard containing the relevant information for the ResourceRequest. May not be null.- Returns:
- the ResourceRequest object to query the CatalogFramework service.
-
buildReadRequest
public ddf.catalog.operation.ResourceRequest buildReadRequest(ddf.catalog.data.Metacard metacard) Construct a resource request for the object represented by the metacard.- Parameters:
metacard- must be non-null- Returns:
- a resource request than can be passed to the catalog framework
-
getResourceSiteName
-