/** * * * * $Id$ */ package net.opengis.wfs; import java.net.URI; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Insert Element Type'. * * * * * An Insert element may contain a feature collection or one * or more feature instances to be inserted into the * repository. * * *

* The following features are supported: *

*

* * @see net.opengis.wfs.WfsPackage#getInsertElementType() * @model extendedMetaData="name='InsertElementType' kind='elementOnly'" * @generated */ public interface InsertElementType extends EObject { /** * Returns the value of the 'Feature' attribute list. * The list contents are of type {@link java.lang.Object}. * *

* If the meaning of the 'Feature' attribute list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Feature' attribute list. * @see net.opengis.wfs.WFSPackage#getInsertElementType_Feature() * @model type="java.lang.Object" */ EList getFeature(); /** * 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 Insert 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). * * @return the value of the 'Handle' attribute. * @see #setHandle(String) * @see net.opengis.wfs.WfsPackage#getInsertElementType_Handle() * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" * extendedMetaData="kind='attribute' name='handle'" * @generated */ String getHandle(); /** * Sets the value of the '{@link net.opengis.wfs.InsertElementType#getHandle Handle}' attribute. * * * @param value the new value of the 'Handle' attribute. * @see #getHandle() * @generated */ void setHandle(String value); /** * Returns the value of the 'Idgen' attribute. * The default value is "GenerateNew". * The literals are from the enumeration {@link net.opengis.wfs.IdentifierGenerationOptionType}. * * * * * The idgen attribute control how a WFS generates identifiers * from newly created feature instances using the Insert action. * The default action is to have the WFS generate a new id for * the features. This is also backward compatible with WFS 1.0 * where the only action was for the WFS to generate an new id. * * @return the value of the 'Idgen' attribute. * @see net.opengis.wfs.IdentifierGenerationOptionType * @see #isSetIdgen() * @see #unsetIdgen() * @see #setIdgen(IdentifierGenerationOptionType) * @see net.opengis.wfs.WfsPackage#getInsertElementType_Idgen() * @model default="GenerateNew" unique="false" unsettable="true" * extendedMetaData="kind='attribute' name='idgen'" * @generated */ IdentifierGenerationOptionType getIdgen(); /** * Sets the value of the '{@link net.opengis.wfs.InsertElementType#getIdgen Idgen}' attribute. * * * @param value the new value of the 'Idgen' attribute. * @see net.opengis.wfs.IdentifierGenerationOptionType * @see #isSetIdgen() * @see #unsetIdgen() * @see #getIdgen() * @generated */ void setIdgen(IdentifierGenerationOptionType value); /** * Unsets the value of the '{@link net.opengis.wfs.InsertElementType#getIdgen Idgen}' attribute. * * * @see #isSetIdgen() * @see #getIdgen() * @see #setIdgen(IdentifierGenerationOptionType) * @generated */ void unsetIdgen(); /** * Returns whether the value of the '{@link net.opengis.wfs.InsertElementType#getIdgen Idgen}' attribute is set. * * * @return whether the value of the 'Idgen' attribute is set. * @see #unsetIdgen() * @see #getIdgen() * @see #setIdgen(IdentifierGenerationOptionType) * @generated */ boolean isSetIdgen(); /** * Returns the value of the 'Input Format' attribute. * The default value is "text/xml; subtype=gml/3.1.1". * * * * * 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. * * @return the value of the 'Input Format' attribute. * @see #isSetInputFormat() * @see #unsetInputFormat() * @see #setInputFormat(String) * @see net.opengis.wfs.WfsPackage#getInsertElementType_InputFormat() * @model default="text/xml; subtype=gml/3.1.1" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" * extendedMetaData="kind='attribute' name='inputFormat'" * @generated */ String getInputFormat(); /** * Sets the value of the '{@link net.opengis.wfs.InsertElementType#getInputFormat Input Format}' attribute. * * * @param value the new value of the 'Input Format' attribute. * @see #isSetInputFormat() * @see #unsetInputFormat() * @see #getInputFormat() * @generated */ void setInputFormat(String value); /** * Unsets the value of the '{@link net.opengis.wfs.InsertElementType#getInputFormat Input Format}' attribute. * * * @see #isSetInputFormat() * @see #getInputFormat() * @see #setInputFormat(String) * @generated */ void unsetInputFormat(); /** * Returns whether the value of the '{@link net.opengis.wfs.InsertElementType#getInputFormat Input Format}' attribute is set. * * * @return whether the value of the 'Input Format' attribute is set. * @see #unsetInputFormat() * @see #getInputFormat() * @see #setInputFormat(String) * @generated */ boolean isSetInputFormat(); /** * Returns the value of the 'Srs Name' attribute. * * * * * ===== PAV 12NOV2004 ==== * WHY IS THIS HERE? WOULDN'T WE KNOW THE INCOMING SRS FROM THE * GML GEOMETRY ELEMENTS? I ASSUME THAT IF THE INCOMING SRS * DOES NOT MATCH ONE OF THE STORAGE SRS(s) THEN THE WFS WOULD * EITHER PROJECT INTO THE STORAGE SRS OR RAISE AN EXCEPTION. * * * @return the value of the 'Srs Name' attribute. * @see #setSrsName(String) * @see net.opengis.wfs.WFSPackage#getInsertElementType_SrsName() * @model */ URI getSrsName(); /** * Sets the value of the '{@link net.opengis.wfs.InsertElementType#getSrsName Srs Name}' attribute. * * * @param value the new value of the 'Srs Name' attribute. * @see #getSrsName() * @generated */ void setSrsName(URI value); } // InsertElementType