Class GetRecordsType


  • public class GetRecordsType
    extends RequestBaseType
    The principal means of searching the catalogue. The matching catalogue entries may be included with the response. The client may assign a requestId (absolute URI). A distributed search is performed if the DistributedSearch element is present and the catalogue is a member of a federation. Profiles may allow alternative query expressions.

    Java class for GetRecordsType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="GetRecordsType">
       <complexContent>
         <extension base="{http://www.opengis.net/cat/csw/2.0.2}RequestBaseType">
           <sequence>
             <element name="DistributedSearch" type="{http://www.opengis.net/cat/csw/2.0.2}DistributedSearchType" minOccurs="0"/>
             <element name="ResponseHandler" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
             <choice>
               <element ref="{http://www.opengis.net/cat/csw/2.0.2}AbstractQuery"/>
               <any namespace='##other'/>
             </choice>
           </sequence>
           <attGroup ref="{http://www.opengis.net/cat/csw/2.0.2}BasicRetrievalOptions"/>
           <attribute name="requestId" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute name="resultType" type="{http://www.opengis.net/cat/csw/2.0.2}ResultType" default="hits" />
         </extension>
       </complexContent>
     </complexType>
     
    • Method Detail

      • getResponseHandler

        public List<String> getResponseHandler()
        Gets the value of the responseHandler property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the responseHandler property.

        For example, to add a new item, do as follows:

            getResponseHandler().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getAbstractQuery

        public javax.xml.bind.JAXBElement<? extends AbstractQueryType> getAbstractQuery()
        Gets the value of the abstractQuery property.
        Returns:
        possible object is AbstractQuery Query
      • setAbstractQuery

        public void setAbstractQuery​(javax.xml.bind.JAXBElement<? extends AbstractQueryType> value)
        Sets the value of the abstractQuery property.
        Parameters:
        value - allowed object is AbstractQuery Query
      • getAny

        public Object getAny()
        Gets the value of the any property.
        Returns:
        possible object is Object
      • setAny

        public void setAny​(Object value)
        Sets the value of the any property.
        Parameters:
        value - allowed object is Object
      • getRequestId

        public String getRequestId()
        Gets the value of the requestId property.
        Returns:
        possible object is String
      • setRequestId

        public void setRequestId​(String value)
        Sets the value of the requestId property.
        Parameters:
        value - allowed object is String
      • getResultType

        public ResultType getResultType()
        Gets the value of the resultType property.
        Returns:
        possible object is ResultType
      • setResultType

        public void setResultType​(ResultType value)
        Sets the value of the resultType property.
        Parameters:
        value - allowed object is ResultType
      • getOutputFormat

        public String getOutputFormat()
        Gets the value of the outputFormat property.
        Returns:
        possible object is String
      • setOutputFormat

        public void setOutputFormat​(String value)
        Sets the value of the outputFormat property.
        Parameters:
        value - allowed object is String
      • getOutputSchema

        public String getOutputSchema()
        Gets the value of the outputSchema property.
        Returns:
        possible object is String
      • setOutputSchema

        public void setOutputSchema​(String value)
        Sets the value of the outputSchema property.
        Parameters:
        value - allowed object is String
      • getStartPosition

        public BigInteger getStartPosition()
        Gets the value of the startPosition property.
        Returns:
        possible object is BigInteger
      • setStartPosition

        public void setStartPosition​(BigInteger value)
        Sets the value of the startPosition property.
        Parameters:
        value - allowed object is BigInteger
      • getMaxRecords

        public BigInteger getMaxRecords()
        Gets the value of the maxRecords property.
        Returns:
        possible object is BigInteger
      • setMaxRecords

        public void setMaxRecords​(BigInteger value)
        Sets the value of the maxRecords property.
        Parameters:
        value - allowed object is BigInteger