Package net.opengis.gml311
Enum KnotTypesType
- Object
-
- Enum<KnotTypesType>
-
- KnotTypesType
-
- All Implemented Interfaces:
Serializable
,Comparable<KnotTypesType>
,Enumerator
public enum KnotTypesType extends Enum<KnotTypesType> implements 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:
Gml311Package.getKnotTypesType()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PIECEWISE_BEZIER
The 'Piecewise Bezier' literal object.QUASI_UNIFORM
The 'Quasi Uniform' literal object.UNIFORM
The 'Uniform' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
PIECEWISE_BEZIER_VALUE
The 'Piecewise Bezier' literal value.static int
QUASI_UNIFORM_VALUE
The 'Quasi Uniform' literal value.static int
UNIFORM_VALUE
The 'Uniform' literal value.static List<KnotTypesType>
VALUES
A public read-only list of all the 'Knot Types Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KnotTypesType
get(int value)
Returns the 'Knot Types Type' literal with the specified integer value.static KnotTypesType
get(String literal)
Returns the 'Knot Types Type' literal with the specified literal value.static KnotTypesType
getByName(String name)
Returns the 'Knot Types 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 KnotTypesType
valueOf(String name)
Returns the enum constant of this type with the specified name.static KnotTypesType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNIFORM
public static final KnotTypesType UNIFORM
The 'Uniform' literal object.- See Also:
UNIFORM_VALUE
-
QUASI_UNIFORM
public static final KnotTypesType QUASI_UNIFORM
The 'Quasi Uniform' literal object.- See Also:
QUASI_UNIFORM_VALUE
-
PIECEWISE_BEZIER
public static final KnotTypesType PIECEWISE_BEZIER
The 'Piecewise Bezier' literal object.- See Also:
PIECEWISE_BEZIER_VALUE
-
-
Field Detail
-
UNIFORM_VALUE
public static final int UNIFORM_VALUE
The 'Uniform' literal value.If the meaning of 'Uniform' literal object isn't clear, there really should be more of a description here...
- See Also:
UNIFORM
, Constant Field Values
-
QUASI_UNIFORM_VALUE
public static final int QUASI_UNIFORM_VALUE
The '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:
QUASI_UNIFORM
, Constant Field Values
-
PIECEWISE_BEZIER_VALUE
public static final int PIECEWISE_BEZIER_VALUE
The '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:
PIECEWISE_BEZIER
, Constant Field Values
-
VALUES
public static final List<KnotTypesType> VALUES
A public read-only list of all the 'Knot Types Type' enumerators.
-
-
Method Detail
-
values
public static KnotTypesType[] 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 (KnotTypesType c : KnotTypesType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KnotTypesType 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 KnotTypesType get(String literal)
Returns the 'Knot Types Type' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static KnotTypesType getByName(String name)
Returns the 'Knot Types Type' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static KnotTypesType get(int value)
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
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<KnotTypesType>
-
-