Package net.opengis.wfs
Class IdentifierGenerationOptionType
- Object
-
- AbstractEnumerator
-
- IdentifierGenerationOptionType
-
- All Implemented Interfaces:
Serializable,Enumerator
public final class IdentifierGenerationOptionType extends AbstractEnumeratorA representation of the literals of the enumeration 'Identifier Generation Option Type', and utility methods for working with them.
-
-
Field Summary
Fields Modifier and Type Field Description static intGENERATE_NEWThe 'Generate New' literal value.static IdentifierGenerationOptionTypeGENERATE_NEW_LITERALThe 'Generate New' literal object.static intREPLACE_DUPLICATEThe 'Replace Duplicate' literal value.static IdentifierGenerationOptionTypeREPLACE_DUPLICATE_LITERALThe 'Replace Duplicate' literal object.static intUSE_EXISTINGThe 'Use Existing' literal value.static IdentifierGenerationOptionTypeUSE_EXISTING_LITERALThe 'Use Existing' literal object.static ListVALUESA public read-only list of all the 'Identifier Generation Option Type' enumerators.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IdentifierGenerationOptionTypeget(int value)Returns the 'Identifier Generation Option Type' literal with the specified integer value.static IdentifierGenerationOptionTypeget(String literal)Returns the 'Identifier Generation Option Type' literal with the specified literal value.static IdentifierGenerationOptionTypegetByName(String name)Returns the 'Identifier Generation Option Type' literal with the specified name.
-
-
-
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 List VALUES
A public read-only list of all the 'Identifier Generation Option Type' enumerators.
-
-
Method Detail
-
get
public static IdentifierGenerationOptionType get(String literal)
Returns the 'Identifier Generation Option Type' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static IdentifierGenerationOptionType getByName(String name)
Returns the 'Identifier Generation Option Type' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static IdentifierGenerationOptionType get(int value)
Returns the 'Identifier Generation Option Type' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
-