Enum 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()
    • 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 name
        NullPointerException - 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 interface Enumerator
      • getName

        public String getName()
        Specified by:
        getName in interface Enumerator
      • getLiteral

        public String getLiteral()
        Specified by:
        getLiteral in interface Enumerator
      • toString

        public String toString()
        Returns the literal value of the enumerator, which is its string representation.
        Overrides:
        toString in class Enum<KnotTypesType>