Package net.opengis.wfs
Class IdentifierGenerationOptionType
Object
AbstractEnumerator
IdentifierGenerationOptionType
- All Implemented Interfaces:
Serializable
,Enumerator
public final class IdentifierGenerationOptionType
extends AbstractEnumerator
A representation of the literals of the enumeration 'Identifier Generation Option Type',
and utility methods for working with them.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The 'Generate New' literal value.static final IdentifierGenerationOptionType
The 'Generate New' literal object.static final int
The 'Replace Duplicate' literal value.static final IdentifierGenerationOptionType
The 'Replace Duplicate' literal object.static final int
The 'Use Existing' literal value.static final IdentifierGenerationOptionType
The 'Use Existing' literal object.static final List
A public read-only list of all the 'Identifier Generation Option Type' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionget
(int value) Returns the 'Identifier Generation Option Type' literal with the specified integer value.Returns the 'Identifier Generation Option Type' literal with the specified literal value.Returns the 'Identifier Generation Option Type' literal with the specified name.Methods inherited from class AbstractEnumerator
getLiteral, getName, getValue, toString, writeReplace
-
Field Details
-
USE_EXISTING
public static final int USE_EXISTINGThe '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:
-
REPLACE_DUPLICATE
public static final int REPLACE_DUPLICATEThe '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. -
GENERATE_NEW
public static final int GENERATE_NEWThe '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:
-
USE_EXISTING_LITERAL
The 'Use Existing' literal object.- See Also:
-
REPLACE_DUPLICATE_LITERAL
The 'Replace Duplicate' literal object.- See Also:
-
GENERATE_NEW_LITERAL
The 'Generate New' literal object.- See Also:
-
VALUES
A public read-only list of all the 'Identifier Generation Option Type' enumerators.
-
-
Method Details
-
get
Returns the 'Identifier Generation Option Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Identifier Generation Option Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
Returns the 'Identifier Generation Option Type' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-