net.opengis.wfs
Class IdentifierGenerationOptionType

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by net.opengis.wfs.IdentifierGenerationOptionType
All Implemented Interfaces:
java.io.Serializable, org.eclipse.emf.common.util.Enumerator

public final class IdentifierGenerationOptionType
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the literals of the enumeration 'Identifier Generation Option Type', and utility methods for working with them.

See Also:
WfsPackage.getIdentifierGenerationOptionType(), Serialized Form

Field Summary
static int GENERATE_NEW
          The 'Generate New' literal value.
static IdentifierGenerationOptionType GENERATE_NEW_LITERAL
          The 'Generate New' literal object.
static int REPLACE_DUPLICATE
          The 'Replace Duplicate' literal value.
static IdentifierGenerationOptionType REPLACE_DUPLICATE_LITERAL
          The 'Replace Duplicate' literal object.
static int USE_EXISTING
          The 'Use Existing' literal value.
static IdentifierGenerationOptionType USE_EXISTING_LITERAL
          The 'Use Existing' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Identifier Generation Option Type' enumerators.
 
Method Summary
static IdentifierGenerationOptionType get(int value)
          Returns the 'Identifier Generation Option Type' literal with the specified integer value.
static IdentifierGenerationOptionType get(java.lang.String literal)
          Returns the 'Identifier Generation Option Type' literal with the specified literal value.
static IdentifierGenerationOptionType getByName(java.lang.String name)
          Returns the 'Identifier Generation Option Type' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString, writeReplace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

USE_EXISTING

public static final int USE_EXISTING
The 'Use Existing' literal value. The UseExsiting value indicates that WFS should not generate a new feature identifier for the feature being inserted into the repositry. Instead, the WFS should use the identifier encoded if the feature. If a duplicate exists then the WFS should raise an exception.

See Also:
USE_EXISTING_LITERAL, Constant Field Values

REPLACE_DUPLICATE

public static final int REPLACE_DUPLICATE
The 'Replace Duplicate' literal value. The ReplaceDuplicate value indicates that WFS should not generate a new feature identifier for the feature being inserted into the repositry. Instead, the WFS should use the identifier encoded if the feature. If a duplicate exists then the WFS should replace the existing feature instance with the one encoded in the Insert action.

See Also:
REPLACE_DUPLICATE_LITERAL, Constant Field Values

GENERATE_NEW

public static final int GENERATE_NEW
The 'Generate New' literal value. The GenerateNew value indicates that WFS should generate a new unique feature identifier for the feature being inserted into the repositry.

See Also:
GENERATE_NEW_LITERAL, Constant Field Values

USE_EXISTING_LITERAL

public static final IdentifierGenerationOptionType USE_EXISTING_LITERAL
The 'Use Existing' literal object.

See Also:
USE_EXISTING

REPLACE_DUPLICATE_LITERAL

public static final IdentifierGenerationOptionType REPLACE_DUPLICATE_LITERAL
The 'Replace Duplicate' literal object.

See Also:
REPLACE_DUPLICATE

GENERATE_NEW_LITERAL

public static final IdentifierGenerationOptionType GENERATE_NEW_LITERAL
The 'Generate New' literal object.

See Also:
GENERATE_NEW

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Identifier Generation Option Type' enumerators.

Method Detail

get

public static IdentifierGenerationOptionType get(java.lang.String literal)
Returns the 'Identifier Generation Option Type' literal with the specified literal value.


getByName

public static IdentifierGenerationOptionType getByName(java.lang.String name)
Returns the 'Identifier Generation Option Type' literal with the specified name.


get

public static IdentifierGenerationOptionType get(int value)
Returns the 'Identifier Generation Option Type' literal with the specified integer value.



Copyright © 1996-2010 Geotools. All Rights Reserved.