net.opengis.wfs
Interface InsertElementType

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

public interface InsertElementType
extends 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 Also:
WfsPackage.getInsertElementType()

Method Summary
 org.eclipse.emf.common.util.EList getFeature()
          Returns the value of the 'Feature' attribute list.
 java.lang.String getHandle()
          Returns the value of the 'Handle' attribute.
 IdentifierGenerationOptionType getIdgen()
          Returns the value of the 'Idgen' attribute.
 java.lang.String getInputFormat()
          Returns the value of the 'Input Format' attribute.
 java.net.URI getSrsName()
          Returns the value of the 'Srs Name' attribute.
 boolean isSetIdgen()
          Returns whether the value of the 'Idgen' attribute is set.
 boolean isSetInputFormat()
          Returns whether the value of the 'Input Format' attribute is set.
 void setHandle(java.lang.String value)
          Sets the value of the 'Handle' attribute.
 void setIdgen(IdentifierGenerationOptionType value)
          Sets the value of the 'Idgen' 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 unsetIdgen()
          Unsets the value of the 'Idgen' 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

getFeature

org.eclipse.emf.common.util.EList getFeature()
Returns the value of the 'Feature' attribute list. The list contents are of type Object.

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

Returns:
the value of the 'Feature' attribute list.
See Also:
net.opengis.wfs.WFSPackage#getInsertElementType_Feature()

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 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).

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

getIdgen

IdentifierGenerationOptionType getIdgen()
Returns the value of the 'Idgen' attribute. The default value is "GenerateNew". The literals are from the enumeration 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.

Returns:
the value of the 'Idgen' attribute.
See Also:
IdentifierGenerationOptionType, isSetIdgen(), unsetIdgen(), setIdgen(IdentifierGenerationOptionType), WfsPackage.getInsertElementType_Idgen()

setIdgen

void setIdgen(IdentifierGenerationOptionType value)
Sets the value of the 'Idgen' attribute.

Parameters:
value - the new value of the 'Idgen' attribute.
See Also:
IdentifierGenerationOptionType, isSetIdgen(), unsetIdgen(), getIdgen()

unsetIdgen

void unsetIdgen()
Unsets the value of the 'Idgen' attribute.

See Also:
isSetIdgen(), getIdgen(), setIdgen(IdentifierGenerationOptionType)

isSetIdgen

boolean isSetIdgen()
Returns whether the value of the 'Idgen' attribute is set.

Returns:
whether the value of the 'Idgen' attribute is set.
See Also:
unsetIdgen(), getIdgen(), setIdgen(IdentifierGenerationOptionType)

getInputFormat

java.lang.String getInputFormat()
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.

Returns:
the value of the 'Input Format' attribute.
See Also:
isSetInputFormat(), unsetInputFormat(), setInputFormat(String), WfsPackage.getInsertElementType_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. ===== 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.

Returns:
the value of the 'Srs Name' attribute.
See Also:
#setSrsName(String), net.opengis.wfs.WFSPackage#getInsertElementType_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()


Copyright © 1996-2010 Geotools. All Rights Reserved.