Package net.opengis.gml311
Enum Class KnotTypesType
- All Implemented Interfaces:
Serializable
,Comparable<KnotTypesType>
,Constable
,Enumerator
A representation of the literals of the enumeration 'Knot Types Type',
and utility methods for working with them.
Defines allowed values for the knots` type. Uniform knots implies that all knots are of multiplicity 1 and they differ by a positive constant from the preceding knot. Knots are quasi-uniform iff they are of multiplicity (degree + 1) at the ends, of multiplicity 1 elsewhere, and they differ by a positive constant from the preceding knot.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 'Piecewise Bezier' literal object.The 'Quasi Uniform' literal object.The 'Uniform' literal object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The 'Piecewise Bezier' literal value.static final int
The 'Quasi Uniform' literal value.static final int
The 'Uniform' literal value.static final List<KnotTypesType>
A public read-only list of all the 'Knot Types Type' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic KnotTypesType
get
(int value) Returns the 'Knot Types Type' literal with the specified integer value.static KnotTypesType
Returns the 'Knot Types Type' literal with the specified literal value.static KnotTypesType
Returns the 'Knot Types Type' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static KnotTypesType
Returns the enum constant of this class with the specified name.static KnotTypesType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNIFORM
The 'Uniform' literal object.- See Also:
-
QUASI_UNIFORM
The 'Quasi Uniform' literal object.- See Also:
-
PIECEWISE_BEZIER
The 'Piecewise Bezier' literal object.- See Also:
-
-
Field Details
-
UNIFORM_VALUE
public static final int UNIFORM_VALUEThe 'Uniform' literal value.If the meaning of 'Uniform' literal object isn't clear, there really should be more of a description here...
- See Also:
-
QUASI_UNIFORM_VALUE
public static final int QUASI_UNIFORM_VALUEThe 'Quasi Uniform' literal value.If the meaning of 'Quasi Uniform' literal object isn't clear, there really should be more of a description here...
- See Also:
-
PIECEWISE_BEZIER_VALUE
public static final int PIECEWISE_BEZIER_VALUEThe 'Piecewise Bezier' literal value.If the meaning of 'Piecewise Bezier' literal object isn't clear, there really should be more of a description here...
- See Also:
-
VALUES
A public read-only list of all the 'Knot Types Type' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Returns the 'Knot Types Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Knot Types Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
Returns the 'Knot Types 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
- Specified by:
getName
in interfaceEnumerator
-
getLiteral
- Specified by:
getLiteral
in interfaceEnumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<KnotTypesType>
-