Package nl.b3p.csw.jaxb.csw
Class GetRecordsType
- java.lang.Object
-
- nl.b3p.csw.jaxb.csw.RequestBaseType
-
- nl.b3p.csw.jaxb.csw.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.xml.bind.JAXBElement<? extends AbstractQueryType>abstractQueryprotected Objectanyprotected DistributedSearchTypedistributedSearchprotected BigIntegermaxRecordsprotected StringoutputFormatprotected StringoutputSchemaprotected StringrequestIdprotected List<String>responseHandlerprotected ResultTyperesultTypeprotected BigIntegerstartPosition-
Fields inherited from class nl.b3p.csw.jaxb.csw.RequestBaseType
service, version
-
-
Constructor Summary
Constructors Constructor Description GetRecordsType()Default no-arg constructorGetRecordsType(String service, String version, DistributedSearchType distributedSearch, List<String> responseHandler, javax.xml.bind.JAXBElement<? extends AbstractQueryType> abstractQuery, Object any, String requestId, ResultType resultType, String outputFormat, String outputSchema, BigInteger startPosition, BigInteger maxRecords)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.bind.JAXBElement<? extends AbstractQueryType>getAbstractQuery()Gets the value of the abstractQuery property.ObjectgetAny()Gets the value of the any property.DistributedSearchTypegetDistributedSearch()Gets the value of the distributedSearch property.BigIntegergetMaxRecords()Gets the value of the maxRecords property.StringgetOutputFormat()Gets the value of the outputFormat property.StringgetOutputSchema()Gets the value of the outputSchema property.StringgetRequestId()Gets the value of the requestId property.List<String>getResponseHandler()Gets the value of the responseHandler property.ResultTypegetResultType()Gets the value of the resultType property.BigIntegergetStartPosition()Gets the value of the startPosition property.voidsetAbstractQuery(javax.xml.bind.JAXBElement<? extends AbstractQueryType> value)Sets the value of the abstractQuery property.voidsetAny(Object value)Sets the value of the any property.voidsetDistributedSearch(DistributedSearchType value)Sets the value of the distributedSearch property.voidsetMaxRecords(BigInteger value)Sets the value of the maxRecords property.voidsetOutputFormat(String value)Sets the value of the outputFormat property.voidsetOutputSchema(String value)Sets the value of the outputSchema property.voidsetRequestId(String value)Sets the value of the requestId property.voidsetResultType(ResultType value)Sets the value of the resultType property.voidsetStartPosition(BigInteger value)Sets the value of the startPosition property.-
Methods inherited from class nl.b3p.csw.jaxb.csw.RequestBaseType
getService, getVersion, setService, setVersion
-
-
-
-
Field Detail
-
distributedSearch
protected DistributedSearchType distributedSearch
-
abstractQuery
protected javax.xml.bind.JAXBElement<? extends AbstractQueryType> abstractQuery
-
any
protected Object any
-
requestId
protected String requestId
-
resultType
protected ResultType resultType
-
outputFormat
protected String outputFormat
-
outputSchema
protected String outputSchema
-
startPosition
protected BigInteger startPosition
-
maxRecords
protected BigInteger maxRecords
-
-
Constructor Detail
-
GetRecordsType
public GetRecordsType()
Default no-arg constructor
-
GetRecordsType
public GetRecordsType(String service, String version, DistributedSearchType distributedSearch, List<String> responseHandler, javax.xml.bind.JAXBElement<? extends AbstractQueryType> abstractQuery, Object any, String requestId, ResultType resultType, String outputFormat, String outputSchema, BigInteger startPosition, BigInteger maxRecords)
Fully-initialising value constructor
-
-
Method Detail
-
getDistributedSearch
public DistributedSearchType getDistributedSearch()
Gets the value of the distributedSearch property.- Returns:
- possible object is
DistributedSearchType
-
setDistributedSearch
public void setDistributedSearch(DistributedSearchType value)
Sets the value of the distributedSearch property.- Parameters:
value- allowed object isDistributedSearchType
-
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
setmethod 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
AbstractQueryQuery
-
setAbstractQuery
public void setAbstractQuery(javax.xml.bind.JAXBElement<? extends AbstractQueryType> value)
Sets the value of the abstractQuery property.- Parameters:
value- allowed object isAbstractQueryQuery
-
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 isObject
-
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 isString
-
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 isResultType
-
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 isString
-
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 isString
-
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 isBigInteger
-
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 isBigInteger
-
-