net.opengis.wfsv
Interface RollbackType

All Superinterfaces:
org.eclipse.emf.ecore.EObject, NativeType, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
RollbackTypeImpl

public interface RollbackType
extends NativeType

A representation of the model object 'Rollback Type'.

The following features are supported:

See Also:
WfsvPackage.getRollbackType()

Method Summary
 java.lang.Object getFilter()
          Returns the value of the 'Filter' attribute.
 java.lang.String getHandle()
          Returns the value of the 'Handle' attribute.
 java.lang.String getToFeatureVersion()
          Returns the value of the 'To Feature Version' attribute.
 javax.xml.namespace.QName getTypeName()
          Returns the value of the 'Type Name' attribute.
 java.lang.String getUser()
          Returns the value of the 'User' attribute.
 boolean isSetToFeatureVersion()
          Returns whether the value of the 'To Feature Version' attribute is set.
 boolean isSetUser()
          Returns whether the value of the 'User' attribute is set.
 void setFilter(java.lang.Object value)
          Sets the value of the 'Filter' attribute.
 void setHandle(java.lang.String value)
          Sets the value of the 'Handle' attribute.
 void setToFeatureVersion(java.lang.String value)
          Sets the value of the 'To Feature Version' attribute.
 void setTypeName(javax.xml.namespace.QName value)
          Sets the value of the 'Type Name' attribute.
 void setUser(java.lang.String value)
          Sets the value of the 'User' attribute.
 void unsetToFeatureVersion()
          Unsets the value of the 'To Feature Version' attribute.
 void unsetUser()
          Unsets the value of the 'User' attribute.
 
Methods inherited from interface net.opengis.wfs.NativeType
getVendorId, isSafeToIgnore, isSetSafeToIgnore, setSafeToIgnore, setVendorId, unsetSafeToIgnore
 
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

getFilter

java.lang.Object getFilter()
Returns the value of the 'Filter' attribute. The Filter element is used to define spatial and/or non-spatial constraints on query. Spatial constrains use GML3 to specify the constraining geometry. A full description of the Filter element can be found in the Filter Encoding Implementation Specification.

Returns:
the value of the 'Filter' attribute.
See Also:
setFilter(Object), WfsvPackage.getRollbackType_Filter()

setFilter

void setFilter(java.lang.Object 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 a Rollback action in a Transaction request fails, then a Versioning WFS may include the handle in an exception report to localize the error. If no handle is included of the offending Rollback 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), WfsvPackage.getRollbackType_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()

getToFeatureVersion

java.lang.String getToFeatureVersion()
Returns the value of the 'To Feature Version' attribute. The default value is "FIRST". Same as featureVersion in QueryType. Rollback will restore the "toFeatureVersion" feature state, removing all changes occurred between "toFeatureVersion" and current

Returns:
the value of the 'To Feature Version' attribute.
See Also:
isSetToFeatureVersion(), unsetToFeatureVersion(), setToFeatureVersion(String), WfsvPackage.getRollbackType_ToFeatureVersion()

setToFeatureVersion

void setToFeatureVersion(java.lang.String value)
Sets the value of the 'To Feature Version' attribute.

Parameters:
value - the new value of the 'To Feature Version' attribute.
See Also:
isSetToFeatureVersion(), unsetToFeatureVersion(), getToFeatureVersion()

unsetToFeatureVersion

void unsetToFeatureVersion()
Unsets the value of the 'To Feature Version' attribute.

See Also:
isSetToFeatureVersion(), getToFeatureVersion(), setToFeatureVersion(String)

isSetToFeatureVersion

boolean isSetToFeatureVersion()
Returns whether the value of the 'To Feature Version' attribute is set.

Returns:
whether the value of the 'To Feature Version' attribute is set.
See Also:
unsetToFeatureVersion(), getToFeatureVersion(), setToFeatureVersion(String)

getTypeName

javax.xml.namespace.QName getTypeName()
Returns the value of the 'Type Name' attribute. The typeName attribute is a single feature type name that indicates which type of feature instances should be included in the reponse set. The names must be a valid type that belong to this query's feature content as defined by the GML Application Schema.

Returns:
the value of the 'Type Name' attribute.
See Also:
setTypeName(QName), WfsvPackage.getRollbackType_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()

getUser

java.lang.String getUser()
Returns the value of the 'User' attribute. The default value is "". User id to be used in addition to the filter in order to isolate the features to be rolled back. Only the features modified by the specified user between fromFeatureVersion and the current version will be subjected to roll back.

Returns:
the value of the 'User' attribute.
See Also:
isSetUser(), unsetUser(), setUser(String), WfsvPackage.getRollbackType_User()

setUser

void setUser(java.lang.String value)
Sets the value of the 'User' attribute.

Parameters:
value - the new value of the 'User' attribute.
See Also:
isSetUser(), unsetUser(), getUser()

unsetUser

void unsetUser()
Unsets the value of the 'User' attribute.

See Also:
isSetUser(), getUser(), setUser(String)

isSetUser

boolean isSetUser()
Returns whether the value of the 'User' attribute is set.

Returns:
whether the value of the 'User' attribute is set.
See Also:
unsetUser(), getUser(), setUser(String)


Copyright © 1996-2010 Geotools. All Rights Reserved.