net.opengis.wfs
Interface BaseRequestType

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
DescribeFeatureTypeType, DescribeVersionedFeatureTypeType, GetDiffType, GetFeatureType, GetFeatureWithLockType, GetGmlObjectType, GetLogType, GetVersionedFeatureType, LockFeatureType, TransactionType
All Known Implementing Classes:
BaseRequestTypeImpl, DescribeFeatureTypeTypeImpl, DescribeVersionedFeatureTypeTypeImpl, GetDiffTypeImpl, GetFeatureTypeImpl, GetFeatureWithLockTypeImpl, GetGmlObjectTypeImpl, GetLogTypeImpl, GetVersionedFeatureTypeImpl, LockFeatureTypeImpl, TransactionTypeImpl

public interface BaseRequestType
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Base Request Type'. XML encoded WFS operation request base, for all operations except GetCapabilities.

The following features are supported:

See Also:
WfsPackage.getBaseRequestType()

Method Summary
 java.lang.String getBaseUrl()
          Returns the value of the 'Base Url' attribute.
 java.lang.String getHandle()
          Returns the value of the 'Handle' attribute.
 java.lang.String getProvidedVersion()
          Provided version of service processing the request.
 java.lang.String getService()
          Returns the value of the 'Service' attribute.
 java.lang.String getVersion()
          Returns the value of the 'Version' attribute.
 boolean isSetService()
          Returns whether the value of the 'Service' attribute is set.
 boolean isSetVersion()
          Returns whether the value of the 'Version' attribute is set.
 void setBaseUrl(java.lang.String value)
          Sets the value of the 'Base Url' attribute.
 void setHandle(java.lang.String value)
          Sets the value of the 'Handle' attribute.
 void setProvidedVersion(java.lang.String value)
          Sets the value of the 'Provided Version' attribute.
 void setService(java.lang.String value)
          Sets the value of the 'Service' attribute.
 void setVersion(java.lang.String value)
          Sets the value of the 'Version' attribute.
 void unsetService()
          Unsets the value of the 'Service' attribute.
 void unsetVersion()
          Unsets the value of the 'Version' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getHandle

java.lang.String getHandle()
Returns the value of the 'Handle' attribute. The handle attribute allows a client application to assign a client-generated request identifier to a WFS request. The handle is included to facilitate error reporting. A WFS may report the handle in an exception report to identify the offending request or action. If the handle is not present, then the WFS may employ other means to localize the error (e.g. line numbers).

Returns:
the value of the 'Handle' attribute.
See Also:
setHandle(String), WfsPackage.getBaseRequestType_Handle()

setHandle

void setHandle(java.lang.String value)
Sets the value of the 'Handle' attribute.

Parameters:
value - the new value of the 'Handle' attribute.
See Also:
getHandle()

getService

java.lang.String getService()
Returns the value of the 'Service' attribute. The default value is "WFS". The service attribute is included to support service endpoints that implement more than one OGC service. For example, a single CGI that implements WMS, WFS and WCS services. The endpoint can inspect the value of this attribute to figure out which service should process the request. The value WFS indicates that a web feature service should process the request. This parameter is somewhat redundant in the XML encoding since the request namespace can be used to determine which service should process any give request. For example, wfs:GetCapabilities and easily be distinguished from wcs:GetCapabilities using the namespaces.

Returns:
the value of the 'Service' attribute.
See Also:
isSetService(), unsetService(), setService(String), WfsPackage.getBaseRequestType_Service()

setService

void setService(java.lang.String value)
Sets the value of the 'Service' attribute.

Parameters:
value - the new value of the 'Service' attribute.
See Also:
isSetService(), unsetService(), getService()

unsetService

void unsetService()
Unsets the value of the 'Service' attribute.

See Also:
isSetService(), getService(), setService(String)

isSetService

boolean isSetService()
Returns whether the value of the 'Service' attribute is set.

Returns:
whether the value of the 'Service' attribute is set.
See Also:
unsetService(), getService(), setService(String)

getVersion

java.lang.String getVersion()
Returns the value of the 'Version' attribute. The default value is "1.1.0". The version attribute is used to indicate the version of the WFS specification that a request conforms to. All requests in this schema conform to V1.1 of the WFS specification. For WFS implementations that support more than one version of a WFS sepcification ... if the version attribute is not specified then the service should assume that the request conforms to greatest available specification version.

Returns:
the value of the 'Version' attribute.
See Also:
isSetVersion(), unsetVersion(), setVersion(String), WfsPackage.getBaseRequestType_Version()

setVersion

void setVersion(java.lang.String value)
Sets the value of the 'Version' attribute.

Parameters:
value - the new value of the 'Version' attribute.
See Also:
isSetVersion(), unsetVersion(), getVersion()

unsetVersion

void unsetVersion()
Unsets the value of the 'Version' attribute.

See Also:
isSetVersion(), getVersion(), setVersion(String)

isSetVersion

boolean isSetVersion()
Returns whether the value of the 'Version' attribute is set.

Returns:
whether the value of the 'Version' attribute is set.
See Also:
unsetVersion(), getVersion(), setVersion(String)

getBaseUrl

java.lang.String getBaseUrl()
Returns the value of the 'Base Url' attribute.

If the meaning of the 'Base Url' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Base Url' attribute.
See Also:
setBaseUrl(String), WfsPackage.getBaseRequestType_BaseUrl()

setBaseUrl

void setBaseUrl(java.lang.String value)
Sets the value of the 'Base Url' attribute. The base url, though not an attribute declared in the schema, is a legacy one added because we need to associate the request url being made by the client with the request object. The reason being that the request object is the only object that makes its way through the entire dispatch chain.

Parameters:
value - the new value of the 'Base Url' attribute.
See Also:
getBaseUrl()

getProvidedVersion

java.lang.String getProvidedVersion()
Provided version of service processing the request.


setProvidedVersion

void setProvidedVersion(java.lang.String value)
Sets the value of the 'Provided Version' attribute.

Parameters:
value - the new value of the 'Provided Version' attribute.
See Also:
getProvidedVersion()


Copyright © 1996-2010 Geotools. All Rights Reserved.