Class CswRecordCollection
java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.common.CswRecordCollection
This class represents the domain object for the list of metacards corresponding to the list of
CSW records returned in a GetRecords request.
- Author:
- rodgersh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<ddf.catalog.data.Metacard> Retrieves the list of metacards built from the CSW Records returned in a GetRecordsResponse.net.opengis.cat.csw.v_2_0_2.ElementSetTypelonglongnet.opengis.cat.csw.v_2_0_2.GetRecordsTypeRetrieves the request made that generated this set of CSW Records, if applicableddf.catalog.resource.Resourcenet.opengis.cat.csw.v_2_0_2.ResultTypeddf.catalog.operation.SourceResponseintbooleanisById()booleanvoidsetById(boolean isById) voidsetCswRecords(List<ddf.catalog.data.Metacard> cswRecords) Sets the list of metacards built from the CSW Records returned in a GetRecordsResponse.voidsetDoWriteNamespaces(boolean doWriteNamespaces) voidsetElementName(List<QName> elementName) voidsetElementSetType(net.opengis.cat.csw.v_2_0_2.ElementSetType elementSetType) voidsetMimeType(String mimeType) voidsetNumberOfRecordsMatched(long numberOfRecordsMatched) voidsetNumberOfRecordsReturned(long numberOfRecordsReturned) voidsetOutputSchema(String outputSchema) voidsetRequest(net.opengis.cat.csw.v_2_0_2.GetRecordsType request) Sets the request used to generate this list of recordsvoidsetResource(ddf.catalog.resource.Resource resource) voidsetResourceProperties(Map<String, Serializable> resourceProperties) voidsetResultType(net.opengis.cat.csw.v_2_0_2.ResultType resultType) voidsetSourceResponse(ddf.catalog.operation.SourceResponse response) voidsetStartPosition(int start)
-
Constructor Details
-
CswRecordCollection
public CswRecordCollection()
-
-
Method Details
-
getRequest
public net.opengis.cat.csw.v_2_0_2.GetRecordsType getRequest()Retrieves the request made that generated this set of CSW Records, if applicable- Returns:
- the
GetRecordsTyperequest
-
setRequest
public void setRequest(net.opengis.cat.csw.v_2_0_2.GetRecordsType request) Sets the request used to generate this list of records- Parameters:
request- AGetRecordsTypeused to generate this request
-
getCswRecords
Retrieves the list of metacards built from the CSW Records returned in a GetRecordsResponse.- Returns:
-
setCswRecords
Sets the list of metacards built from the CSW Records returned in a GetRecordsResponse.- Parameters:
cswRecords-
-
getNumberOfRecordsReturned
public long getNumberOfRecordsReturned() -
setNumberOfRecordsReturned
public void setNumberOfRecordsReturned(long numberOfRecordsReturned) -
getNumberOfRecordsMatched
public long getNumberOfRecordsMatched() -
setNumberOfRecordsMatched
public void setNumberOfRecordsMatched(long numberOfRecordsMatched) -
isById
public boolean isById() -
setById
public void setById(boolean isById) -
getElementSetType
public net.opengis.cat.csw.v_2_0_2.ElementSetType getElementSetType() -
setElementSetType
public void setElementSetType(net.opengis.cat.csw.v_2_0_2.ElementSetType elementSetType) -
getElementName
-
setElementName
-
getOutputSchema
-
setOutputSchema
-
getSourceResponse
public ddf.catalog.operation.SourceResponse getSourceResponse() -
setSourceResponse
public void setSourceResponse(ddf.catalog.operation.SourceResponse response) -
getMimeType
-
setMimeType
-
getStartPosition
public int getStartPosition() -
setStartPosition
public void setStartPosition(int start) -
getResultType
public net.opengis.cat.csw.v_2_0_2.ResultType getResultType() -
setResultType
public void setResultType(net.opengis.cat.csw.v_2_0_2.ResultType resultType) -
isDoWriteNamespaces
public boolean isDoWriteNamespaces() -
setDoWriteNamespaces
public void setDoWriteNamespaces(boolean doWriteNamespaces) -
setResource
public void setResource(ddf.catalog.resource.Resource resource) -
getResource
public ddf.catalog.resource.Resource getResource() -
setResourceProperties
-
getResourceProperties
-