net.opengis.wfs
Interface UpdateElementType

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
VersionedUpdateElementType
All Known Implementing Classes:
UpdateElementTypeImpl, VersionedUpdateElementTypeImpl

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

A representation of the model object 'Update Element Type'.

The following features are supported:

See Also:
WfsPackage.getUpdateElementType()

Method Summary
 org.opengis.filter.Filter getFilter()
          Returns the value of the 'Filter' attribute.
 java.lang.String getHandle()
          Returns the value of the 'Handle' attribute.
 java.lang.String getInputFormat()
          Returns the value of the 'Input Format' attribute.
 org.eclipse.emf.common.util.EList getProperty()
          Returns the value of the 'Property' containment reference list.
 java.net.URI getSrsName()
          Returns the value of the 'Srs Name' attribute.
 javax.xml.namespace.QName getTypeName()
          Returns the value of the 'Type Name' attribute.
 boolean isSetInputFormat()
          Returns whether the value of the 'Input Format' attribute is set.
 void setFilter(org.opengis.filter.Filter value)
          Sets the value of the 'Filter' attribute.
 void setHandle(java.lang.String value)
          Sets the value of the 'Handle' attribute.
 void setInputFormat(java.lang.String value)
          Sets the value of the 'Input Format' attribute.
 void setSrsName(java.net.URI value)
          Sets the value of the 'Srs Name' attribute.
 void setTypeName(javax.xml.namespace.QName value)
          Sets the value of the 'Type Name' attribute.
 void unsetInputFormat()
          Unsets the value of the 'Input Format' 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

getProperty

org.eclipse.emf.common.util.EList getProperty()
Returns the value of the 'Property' containment reference list. The list contents are of type PropertyType. Changing or updating a feature instance means that the current value of one or more properties of the feature are replaced with new values. The Update element contains one or more Property elements. A Property element contains the name or a feature property who's value is to be changed and the replacement value for that property.

Returns:
the value of the 'Property' containment reference list.
See Also:
WfsPackage.getUpdateElementType_Property()

getFilter

org.opengis.filter.Filter getFilter()
Returns the value of the 'Filter' attribute. The Filter element is used to constrain the scope of the update operation to those features identified by the filter. Feature instances can be specified explicitly and individually using the identifier of each feature instance OR a set of features to be operated on can be identified by specifying spatial and non-spatial constraints in the filter. If no filter is specified then update operation applies to all feature instances.

Returns:
the value of the 'Filter' attribute.
See Also:
#setFilter(Object), net.opengis.wfs.WFSPackage#getUpdateElementType_Filter()

setFilter

void setFilter(org.opengis.filter.Filter value)
Sets the value of the 'Filter' attribute.

Parameters:
value - the new value of the 'Filter' attribute.
See Also:
getFilter()

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 an Insert action. The handle is included to facilitate error reporting. If an Update action in a Transaction request fails, then a WFS may include the handle in an exception report to localize the error. If no handle is included of the offending Insert element then a WFS may employee other means of localizing the error (e.g. line number).

Returns:
the value of the 'Handle' attribute.
See Also:
setHandle(String), WfsPackage.getUpdateElementType_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()

getInputFormat

java.lang.String getInputFormat()
Returns the value of the 'Input Format' attribute. The default value is "x-application/gml:3". This inputFormat attribute is used to indicate the format used to encode a feature instance in an Insert element. The default value of 'text/xml; subtype=gml/3.1.1' is used to indicate that feature encoding is GML3. Another example might be 'text/xml; subtype=gml/2.1.2' indicating that the feature us encoded in GML2. A WFS must declare in the capabilities document, using a Parameter element, which version of GML it supports.

Returns:
the value of the 'Input Format' attribute.
See Also:
isSetInputFormat(), unsetInputFormat(), setInputFormat(String), WfsPackage.getUpdateElementType_InputFormat()

setInputFormat

void setInputFormat(java.lang.String value)
Sets the value of the 'Input Format' attribute.

Parameters:
value - the new value of the 'Input Format' attribute.
See Also:
isSetInputFormat(), unsetInputFormat(), getInputFormat()

unsetInputFormat

void unsetInputFormat()
Unsets the value of the 'Input Format' attribute.

See Also:
isSetInputFormat(), getInputFormat(), setInputFormat(String)

isSetInputFormat

boolean isSetInputFormat()
Returns whether the value of the 'Input Format' attribute is set.

Returns:
whether the value of the 'Input Format' attribute is set.
See Also:
unsetInputFormat(), getInputFormat(), setInputFormat(String)

getSrsName

java.net.URI getSrsName()
Returns the value of the 'Srs Name' attribute. DO WE NEED THIS HERE?

Returns:
the value of the 'Srs Name' attribute.
See Also:
#setSrsName(String), net.opengis.wfs.WFSPackage#getUpdateElementType_SrsName()

setSrsName

void setSrsName(java.net.URI value)
Sets the value of the 'Srs Name' attribute.

Parameters:
value - the new value of the 'Srs Name' attribute.
See Also:
getSrsName()

getTypeName

javax.xml.namespace.QName getTypeName()
Returns the value of the 'Type Name' attribute. The value of the typeName attribute is the name of the feature type to be updated. The name specified must be a valid type that belongs to the feature content as defined by the GML Application Schema.

Returns:
the value of the 'Type Name' attribute.
See Also:
#setTypeName(Object), net.opengis.wfs.WFSPackage#getUpdateElementType_TypeName()

setTypeName

void setTypeName(javax.xml.namespace.QName value)
Sets the value of the 'Type Name' attribute.

Parameters:
value - the new value of the 'Type Name' attribute.
See Also:
getTypeName()


Copyright © 1996-2010 Geotools. All Rights Reserved.