Class CswRecordCollection

java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.common.CswRecordCollection

public class CswRecordCollection extends Object
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 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 GetRecordsType request
    • 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 - A GetRecordsType used to generate this request
    • getCswRecords

      public List<ddf.catalog.data.Metacard> getCswRecords()
      Retrieves the list of metacards built from the CSW Records returned in a GetRecordsResponse.
      Returns:
    • setCswRecords

      public void setCswRecords(List<ddf.catalog.data.Metacard> cswRecords)
      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

      public List<QName> getElementName()
    • setElementName

      public void setElementName(List<QName> elementName)
    • getOutputSchema

      public String getOutputSchema()
    • setOutputSchema

      public void setOutputSchema(String outputSchema)
    • getSourceResponse

      public ddf.catalog.operation.SourceResponse getSourceResponse()
    • setSourceResponse

      public void setSourceResponse(ddf.catalog.operation.SourceResponse response)
    • getMimeType

      public String getMimeType()
    • setMimeType

      public void setMimeType(String mimeType)
    • 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

      public void setResourceProperties(Map<String,Serializable> resourceProperties)
    • getResourceProperties

      public Map<String,Serializable> getResourceProperties()