001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id: LockType.java 7522 2007-09-12 22:00:10Z saul.farber $
006: */package net.opengis.wfs;
007:
008: import javax.xml.namespace.QName;
009:
010: import org.eclipse.emf.ecore.EObject;
011: import org.opengis.filter.Filter;
012:
013: /**
014: * <!-- begin-user-doc -->
015: * A representation of the model object '<em><b>Lock Type</b></em>'.
016: * <!-- end-user-doc -->
017: *
018: * <!-- begin-model-doc -->
019: *
020: * This type defines the Lock element. The Lock element
021: * defines a locking operation on feature instances of
022: * a single type. An OGC Filter is used to constrain the
023: * scope of the operation. Features to be locked can be
024: * identified individually by using their feature identifier
025: * or they can be locked by satisfying the spatial and
026: * non-spatial constraints defined in the filter.
027: * <!-- end-model-doc -->
028: *
029: * <p>
030: * The following features are supported:
031: * <ul>
032: * <li>{@link net.opengis.wfs.LockType#getFilter <em>Filter</em>}</li>
033: * <li>{@link net.opengis.wfs.LockType#getHandle <em>Handle</em>}</li>
034: * <li>{@link net.opengis.wfs.LockType#getTypeName <em>Type Name</em>}</li>
035: * </ul>
036: * </p>
037: *
038: * @see net.opengis.wfs.WfsPackage#getLockType()
039: * @model extendedMetaData="name='LockType' kind='elementOnly'"
040: * @generated
041: */
042: public interface LockType extends EObject {
043: /**
044: * Returns the value of the '<em><b>Filter</b></em>' attribute.
045: * <!-- begin-user-doc -->
046: * <p>
047: * If the meaning of the '<em>Filter</em>' attribute isn't clear,
048: * there really should be more of a description here...
049: * </p>
050: * <!-- end-user-doc -->
051: * @return the value of the '<em>Filter</em>' attribute.
052: * @see #setFilter(Object)
053: * @see net.opengis.wfs.WFSPackage#getLockType_Filter()
054: * @model
055: */
056: Filter getFilter();
057:
058: /**
059: * Sets the value of the '{@link net.opengis.wfs.LockType#getFilter <em>Filter</em>}' attribute.
060: * <!-- begin-user-doc -->
061: * <!-- end-user-doc -->
062: * @param value the new value of the '<em>Filter</em>' attribute.
063: * @see #getFilter()
064: * @generated
065: */
066: void setFilter(Filter value);
067:
068: /**
069: * Returns the value of the '<em><b>Handle</b></em>' attribute.
070: * <!-- begin-user-doc -->
071: * <!-- end-user-doc -->
072: * <!-- begin-model-doc -->
073: *
074: * The handle attribute allows a client application
075: * to assign a client-generated request identifier
076: * to a Lock action. The handle is included to
077: * facilitate error reporting. If one of a set of
078: * Lock actions failed while processing a LockFeature
079: * request, a WFS may report the handle in an exception
080: * report to localize the error. If a handle is not
081: * present then a WFS may employ some other means of
082: * localizing the error (e.g. line number).
083: * <!-- end-model-doc -->
084: * @return the value of the '<em>Handle</em>' attribute.
085: * @see #setHandle(String)
086: * @see net.opengis.wfs.WfsPackage#getLockType_Handle()
087: * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
088: * extendedMetaData="kind='attribute' name='handle'"
089: * @generated
090: */
091: String getHandle();
092:
093: /**
094: * Sets the value of the '{@link net.opengis.wfs.LockType#getHandle <em>Handle</em>}' attribute.
095: * <!-- begin-user-doc -->
096: * <!-- end-user-doc -->
097: * @param value the new value of the '<em>Handle</em>' attribute.
098: * @see #getHandle()
099: * @generated
100: */
101: void setHandle(String value);
102:
103: /**
104: * Returns the value of the '<em><b>Type Name</b></em>' attribute.
105: * <!-- begin-user-doc -->
106: * <!-- end-user-doc -->
107: * <!-- begin-model-doc -->
108: *
109: * The value of the typeName attribute is the name
110: * of the feature type to be updated. The name
111: * specified must be a valid type that belongs to
112: * the feature content as defined by the GML
113: * Application Schema.
114: *
115: * <!-- end-model-doc -->
116: * @return the value of the '<em>Type Name</em>' attribute.
117: * @see #setTypeName(Object)
118: * @see net.opengis.wfs.WFSPackage#getLockType_TypeName()
119: * @model
120: */
121: QName getTypeName();
122:
123: /**
124: * Sets the value of the '{@link net.opengis.wfs.LockType#getTypeName <em>Type Name</em>}' attribute.
125: * <!-- begin-user-doc -->
126: * <!-- end-user-doc -->
127: * @param value the new value of the '<em>Type Name</em>' attribute.
128: * @see #getTypeName()
129: * @generated
130: */
131: void setTypeName(QName value);
132:
133: } // LockType
|