Package net.opengis.cat.csw20
Interface HarvestType
-
- All Superinterfaces:
EObject
,Notifier
,RequestBaseType
- All Known Implementing Classes:
HarvestTypeImpl
public interface HarvestType extends RequestBaseType
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:
Csw20Package.getHarvestType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Duration
getHarvestInterval()
Returns the value of the 'Harvest Interval' attribute.String
getResourceFormat()
Returns the value of the 'Resource Format' attribute.String
getResourceType()
Returns the value of the 'Resource Type' attribute.String
getResponseHandler()
Returns the value of the 'Response Handler' attribute.String
getSource()
Returns the value of the 'Source' attribute.boolean
isSetResourceFormat()
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
setSource(String value)
Sets the value of the 'Source
' attribute.void
unsetResourceFormat()
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 RequestBaseType
getBaseUrl, getExtendedProperties, getService, getVersion, isSetService, isSetVersion, setBaseUrl, setExtendedProperties, setService, setVersion, unsetService, unsetVersion
-
-
-
-
Method Detail
-
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(String)
,Csw20Package.getHarvestType_Source()
-
setSource
void setSource(String value)
Sets the value of the 'Source
' attribute.- Parameters:
value
- the new value of the 'Source' attribute.- See Also:
getSource()
-
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(String)
,Csw20Package.getHarvestType_ResourceType()
-
setResourceType
void setResourceType(String value)
Sets the value of the 'Resource Type
' attribute.- Parameters:
value
- the new value of the 'Resource Type' attribute.- See Also:
getResourceType()
-
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:
isSetResourceFormat()
,unsetResourceFormat()
,setResourceFormat(String)
,Csw20Package.getHarvestType_ResourceFormat()
-
setResourceFormat
void setResourceFormat(String value)
Sets the value of the 'Resource Format
' attribute.- Parameters:
value
- the new value of the 'Resource Format' attribute.- See Also:
isSetResourceFormat()
,unsetResourceFormat()
,getResourceFormat()
-
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:
unsetResourceFormat()
,getResourceFormat()
,setResourceFormat(String)
-
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(Duration)
,Csw20Package.getHarvestType_HarvestInterval()
-
setHarvestInterval
void setHarvestInterval(Duration value)
Sets the value of the 'Harvest Interval
' attribute.- Parameters:
value
- the new value of the 'Harvest Interval' attribute.- See Also:
getHarvestInterval()
-
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(String)
,Csw20Package.getHarvestType_ResponseHandler()
-
setResponseHandler
void setResponseHandler(String value)
Sets the value of the 'Response Handler
' attribute.- Parameters:
value
- the new value of the 'Response Handler' attribute.- See Also:
getResponseHandler()
-
-