001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id: FeatureCollectionType.java 7522 2007-09-12 22:00:10Z saul.farber $
006: */package net.opengis.wfs;
007:
008: import java.math.BigInteger;
009: import java.util.Calendar;
010:
011: import org.eclipse.emf.common.util.EList;
012: import org.eclipse.emf.ecore.EObject;
013:
014: /**
015: * <!-- begin-user-doc -->
016: * A representation of the model object '<em><b>Feature Collection Type</b></em>'.
017: * <!-- end-user-doc -->
018: *
019: * <!-- begin-model-doc -->
020: *
021: * This type defines a container for the response to a
022: * GetFeature or GetFeatureWithLock request. If the
023: * request is GetFeatureWithLock, the lockId attribute
024: * must be populated. The lockId attribute can otherwise
025: * be safely ignored.
026: * <!-- end-model-doc -->
027: *
028: * <p>
029: * The following features are supported:
030: * <ul>
031: * <li>{@link net.opengis.wfs.FeatureCollectionType#getLockId <em>Lock Id</em>}</li>
032: * <li>{@link net.opengis.wfs.FeatureCollectionType#getTimeStamp <em>Time Stamp</em>}</li>
033: * <li>{@link net.opengis.wfs.FeatureCollectionType#getNumberOfFeatures <em>Number Of Features</em>}</li>
034: * <li>{@link net.opengis.wfs.FeatureCollectionType#getFeature <em>Feature</em>}</li>
035: * </ul>
036: * </p>
037: *
038: * @see net.opengis.wfs.WfsPackage#getFeatureCollectionType()
039: * @model extendedMetaData="name='FeatureCollectionType' kind='empty'"
040: * @generated
041: */
042: public interface FeatureCollectionType extends EObject {
043: /**
044: * <!-- begin-user-doc -->
045: * <p>
046: * <pre>
047: * <xsd:attribute name="lockId" type="xsd:string" use="optional">
048: * <xsd:annotation>
049: * <xsd:documentation>
050: * The value of the lockId attribute is an identifier
051: * that a Web Feature Service generates when responding
052: * to a GetFeatureWithLock request. A client application
053: * can use this value in subsequent operations (such as a
054: * Transaction request) to reference the set of locked
055: * features.
056: * </xsd:documentation>
057: * </xsd:annotation>
058: * </xsd:attribute>
059: * </pre>
060: * </p>
061: * <!-- end-user-doc -->
062: *
063: * @model
064: */
065: String getLockId();
066:
067: /**
068: * Sets the value of the '{@link net.opengis.wfs.FeatureCollectionType#getLockId <em>Lock Id</em>}' attribute.
069: * <!-- begin-user-doc -->
070: * <!-- end-user-doc -->
071: * @param value the new value of the '<em>Lock Id</em>' attribute.
072: * @see #getLockId()
073: * @generated
074: */
075: void setLockId(String value);
076:
077: /**
078: * <!-- begin-user-doc -->
079: * <p>
080: * <pre>
081: * <xsd:attribute name="timeStamp" type="xsd:dateTime" use="optional">
082: * <xsd:annotation>
083: * <xsd:documentation>
084: * The timeStamp attribute should contain the date and time
085: * that the response was generated.
086: * </xsd:documentation>
087: * </xsd:annotation>
088: * </xsd:attribute>
089: * </pre>
090: * </p>
091: * <!-- end-user-doc -->
092: * @model
093: */
094: Calendar getTimeStamp();
095:
096: /**
097: * Sets the value of the '{@link net.opengis.wfs.FeatureCollectionType#getTimeStamp <em>Time Stamp</em>}' attribute.
098: * <!-- begin-user-doc -->
099: * <!-- end-user-doc -->
100: * @param value the new value of the '<em>Time Stamp</em>' attribute.
101: * @see #getTimeStamp()
102: * @generated
103: */
104: void setTimeStamp(Calendar value);
105:
106: /**
107: * <!-- begin-user-doc -->
108: * <p>
109: * <pre>
110: * <xsd:attribute name="numberOfFeatures"
111: * type="xsd:nonNegativeInteger"
112: * use="optional">
113: * <xsd:annotation>
114: * <xsd:documentation>
115: * The numberOfFeatures attribute should contain a
116: * count of the number of features in the response.
117: * That is a count of all features elements dervied
118: * from gml:AbstractFeatureType.
119: * </xsd:documentation>
120: * </xsd:annotation>
121: * </xsd:attribute>
122: * </pre>
123: * </p>
124: * <!-- end-user-doc -->
125: * @model
126: */
127: BigInteger getNumberOfFeatures();
128:
129: /**
130: * Sets the value of the '{@link net.opengis.wfs.FeatureCollectionType#getNumberOfFeatures <em>Number Of Features</em>}' attribute.
131: * <!-- begin-user-doc -->
132: * <!-- end-user-doc -->
133: * @param value the new value of the '<em>Number Of Features</em>' attribute.
134: * @see #getNumberOfFeatures()
135: * @generated
136: */
137: void setNumberOfFeatures(BigInteger value);
138:
139: /**
140: * Reference to a set of geotools feature collections.
141: * @model type="org.geotools.feature.FeatureCollection"
142: */
143: EList getFeature();
144: } // FeatureCollectionType
|