Package net.opengis.gml311
Enum SuccessionType
- Object
-
- Enum<SuccessionType>
-
- SuccessionType
-
- All Implemented Interfaces:
Serializable
,Comparable<SuccessionType>
,Enumerator
public enum SuccessionType extends Enum<SuccessionType> implements Enumerator
A representation of the literals of the enumeration 'Succession Type', and utility methods for working with them. Feature succession is a semantic relationship derived from evaluation of observer, and Feature Substitution, Feature Division and Feature Fusion are defined as associations between previous features and next features in the temporal context. Successions shall be represented in either following two ways. * define a temporal topological complex element as a feature element * define an association same as temporal topological complex between features.- See Also:
Gml311Package.getSuccessionType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIVISION
The 'Division' literal object.FUSION
The 'Fusion' literal object.INITIATION
The 'Initiation' literal object.SUBSTITUTION
The 'Substitution' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
DIVISION_VALUE
The 'Division' literal value.static int
FUSION_VALUE
The 'Fusion' literal value.static int
INITIATION_VALUE
The 'Initiation' literal value.static int
SUBSTITUTION_VALUE
The 'Substitution' literal value.static List<SuccessionType>
VALUES
A public read-only list of all the 'Succession Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SuccessionType
get(int value)
Returns the 'Succession Type' literal with the specified integer value.static SuccessionType
get(String literal)
Returns the 'Succession Type' literal with the specified literal value.static SuccessionType
getByName(String name)
Returns the 'Succession Type' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static SuccessionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SuccessionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBSTITUTION
public static final SuccessionType SUBSTITUTION
The 'Substitution' literal object.- See Also:
SUBSTITUTION_VALUE
-
DIVISION
public static final SuccessionType DIVISION
The 'Division' literal object.- See Also:
DIVISION_VALUE
-
FUSION
public static final SuccessionType FUSION
The 'Fusion' literal object.- See Also:
FUSION_VALUE
-
INITIATION
public static final SuccessionType INITIATION
The 'Initiation' literal object.- See Also:
INITIATION_VALUE
-
-
Field Detail
-
SUBSTITUTION_VALUE
public static final int SUBSTITUTION_VALUE
The 'Substitution' literal value.If the meaning of 'Substitution' literal object isn't clear, there really should be more of a description here...
- See Also:
SUBSTITUTION
, Constant Field Values
-
DIVISION_VALUE
public static final int DIVISION_VALUE
The 'Division' literal value.If the meaning of 'Division' literal object isn't clear, there really should be more of a description here...
- See Also:
DIVISION
, Constant Field Values
-
FUSION_VALUE
public static final int FUSION_VALUE
The 'Fusion' literal value.If the meaning of 'Fusion' literal object isn't clear, there really should be more of a description here...
- See Also:
FUSION
, Constant Field Values
-
INITIATION_VALUE
public static final int INITIATION_VALUE
The 'Initiation' literal value.If the meaning of 'Initiation' literal object isn't clear, there really should be more of a description here...
- See Also:
INITIATION
, Constant Field Values
-
VALUES
public static final List<SuccessionType> VALUES
A public read-only list of all the 'Succession Type' enumerators.
-
-
Method Detail
-
values
public static SuccessionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SuccessionType c : SuccessionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SuccessionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static SuccessionType get(String literal)
Returns the 'Succession Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static SuccessionType getByName(String name)
Returns the 'Succession Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static SuccessionType get(int value)
Returns the 'Succession Type' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<SuccessionType>
-
-