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
Fields Modifier and Type Field Description 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 List
VALUES
A 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 IdentifierGenerationOptionType
get(int value)
Returns the 'Identifier Generation Option Type' literal with the specified integer value.static IdentifierGenerationOptionType
get(String literal)
Returns the 'Identifier Generation Option Type' literal with the specified literal value.static IdentifierGenerationOptionType
getByName(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
.
-
-