Package net.opengis.cat.csw20
Interface HarvestType
- All Superinterfaces:
EObject
,Notifier
,RequestBaseType
- All Known Implementing Classes:
HarvestTypeImpl
A representation of the model object 'Harvest Type'.
Requests that the catalogue attempt to harvest a resource from some
network location identified by the source URL.
Source - a URL from which the resource is retrieved
ResourceType - normally a URI that specifies the type of the resource
(DCMES v1.1) being harvested if it is known.
ResourceFormat - a media type indicating the format of the
resource being harvested. The default is
"application/xml".
ResponseHandler - a reference to some endpoint to which the
response shall be forwarded when the
harvest operation has been completed
HarvestInterval - an interval expressed using the ISO 8601 syntax;
it specifies the interval between harvest
attempts (e.g., P6M indicates an interval of
six months).
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Harvest Interval' attribute.Returns the value of the 'Resource Format' attribute.Returns the value of the 'Resource Type' attribute.Returns the value of the 'Response Handler' attribute.Returns the value of the 'Source' attribute.boolean
Returns whether the value of the 'Resource Format
' attribute is set.void
setHarvestInterval
(Duration value) Sets the value of the 'Harvest Interval
' attribute.void
setResourceFormat
(String value) Sets the value of the 'Resource Format
' attribute.void
setResourceType
(String value) Sets the value of the 'Resource Type
' attribute.void
setResponseHandler
(String value) Sets the value of the 'Response Handler
' attribute.void
Sets the value of the 'Source
' attribute.void
Unsets the value of the 'Resource Format
' attribute.Methods inherited from interface EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface RequestBaseType
getBaseUrl, getExtendedProperties, getService, getVersion, isSetService, isSetVersion, setBaseUrl, setExtendedProperties, setService, setVersion, unsetService, unsetVersion
-
Method Details
-
getSource
String getSource()Returns the value of the 'Source' attribute.If the meaning of the 'Source' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Source' attribute.
- See Also:
-
setSource
Sets the value of the 'Source
' attribute.- Parameters:
value
- the new value of the 'Source' attribute.- See Also:
-
getResourceType
String getResourceType()Returns the value of the 'Resource Type' attribute.If the meaning of the 'Resource Type' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Resource Type' attribute.
- See Also:
-
setResourceType
Sets the value of the 'Resource Type
' attribute.- Parameters:
value
- the new value of the 'Resource Type' attribute.- See Also:
-
getResourceFormat
String getResourceFormat()Returns the value of the 'Resource Format' attribute. The default value is"application/xml"
.If the meaning of the 'Resource Format' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Resource Format' attribute.
- See Also:
-
setResourceFormat
Sets the value of the 'Resource Format
' attribute.- Parameters:
value
- the new value of the 'Resource Format' attribute.- See Also:
-
unsetResourceFormat
void unsetResourceFormat()Unsets the value of the 'Resource Format
' attribute. -
isSetResourceFormat
boolean isSetResourceFormat()Returns whether the value of the 'Resource Format
' attribute is set.- Returns:
- whether the value of the 'Resource Format' attribute is set.
- See Also:
-
getHarvestInterval
Duration getHarvestInterval()Returns the value of the 'Harvest Interval' attribute.If the meaning of the 'Harvest Interval' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Harvest Interval' attribute.
- See Also:
-
setHarvestInterval
Sets the value of the 'Harvest Interval
' attribute.- Parameters:
value
- the new value of the 'Harvest Interval' attribute.- See Also:
-
getResponseHandler
String getResponseHandler()Returns the value of the 'Response Handler' attribute.If the meaning of the 'Response Handler' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Response Handler' attribute.
- See Also:
-
setResponseHandler
Sets the value of the 'Response Handler
' attribute.- Parameters:
value
- the new value of the 'Response Handler' attribute.- See Also:
-