public class HarvestType extends RequestBaseType
Java class for HarvestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HarvestType">
<complexContent>
<extension base="{http://www.opengis.net/cat/csw/2.0.2}RequestBaseType">
<sequence>
<element name="Source" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
<element name="ResourceType" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ResourceFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="HarvestInterval" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
<element name="ResponseHandler" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
harvestInterval |
protected String |
resourceFormat |
protected String |
resourceType |
protected List<String> |
responseHandler |
protected String |
source |
service, version| Constructor and Description |
|---|
HarvestType()
Default no-arg constructor
|
HarvestType(String service,
String version,
String source,
String resourceType,
String resourceFormat,
Duration harvestInterval,
List<String> responseHandler)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
Duration |
getHarvestInterval()
Gets the value of the harvestInterval property.
|
String |
getResourceFormat()
Gets the value of the resourceFormat property.
|
String |
getResourceType()
Gets the value of the resourceType property.
|
List<String> |
getResponseHandler()
Gets the value of the responseHandler property.
|
String |
getSource()
Gets the value of the source property.
|
void |
setHarvestInterval(Duration value)
Sets the value of the harvestInterval property.
|
void |
setResourceFormat(String value)
Sets the value of the resourceFormat property.
|
void |
setResourceType(String value)
Sets the value of the resourceType property.
|
void |
setSource(String value)
Sets the value of the source property.
|
getService, getVersion, setService, setVersionprotected String source
protected String resourceType
protected String resourceFormat
protected Duration harvestInterval
public String getSource()
Stringpublic void setSource(String value)
value - allowed object is
Stringpublic String getResourceType()
Stringpublic void setResourceType(String value)
value - allowed object is
Stringpublic String getResourceFormat()
Stringpublic void setResourceFormat(String value)
value - allowed object is
Stringpublic Duration getHarvestInterval()
Durationpublic void setHarvestInterval(Duration value)
value - allowed object is
Durationpublic List<String> getResponseHandler()
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
Copyright © 2021 B3Partners B.V.. All rights reserved.