Enum Scale

    • Enum Constant Detail

      • NOMINAL

        public static final Scale NOMINAL
        The 'Nominal' literal object.
        See Also:
        NOMINAL_VALUE
        Generated class or method.
        Ordered collection.
      • ORDINAL

        public static final Scale ORDINAL
        The 'Ordinal' literal object.
        See Also:
        ORDINAL_VALUE
        Generated class or method.
        Ordered collection.
      • INTERVAL

        public static final Scale INTERVAL
        The 'Interval' literal object.
        See Also:
        INTERVAL_VALUE
        Generated class or method.
        Ordered collection.
      • RATIO

        public static final Scale RATIO
        The 'Ratio' literal object.
        See Also:
        RATIO_VALUE
        Generated class or method.
        Ordered collection.
    • Field Detail

      • NOMINAL_VALUE

        public static final int NOMINAL_VALUE
        The 'Nominal' literal value. Supports an equality operation on one-to-one object basis. Often used in conjunction with categorized data. Supported mathematical operations: =/≠. Mathematically, it is considered an unordered set. For example, dots with the colors RED, BLUE, and PURPLE can be related to their color but nothing more can be said.
        See Also:
        NOMINAL, Constant Field Values
        Generated class or method.
        EMF model class or method.
        name="Nominal"
        Ordered collection.
      • ORDINAL_VALUE

        public static final int ORDINAL_VALUE
        The 'Ordinal' literal value. Supports an equality operation as well as a monotonic  increasing order. Supported mathematical operations: =/≠  ; </>. Mathematically, it is considered an ordered& nbsp;set.

        For example, the rank of a sports team in a  ;18-members league is on an ordinal scale. However, the teams with the same difference in rank does not mean that the difference of their achievements or performance is/was equal.
        See Also:
        ORDINAL, Constant Field Values
        Generated class or method.
        EMF model class or method.
        name="Ordinal"
        Ordered collection.
      • INTERVAL_VALUE

        public static final int INTERVAL_VALUE
        The 'Interval' literal value. Supports the same as the ordinal scale but the magnitude of the difference between two values is comparable. Values can be negative. Supported mathematical operations: =/≠ ; ; +/− . Mathematically, it is considered an affine space or line. For example, the temperature in degress Celcius is an interval measure. If you have two temperatures you can quantify the difference.
        See Also:
        INTERVAL, Constant Field Values
        Generated class or method.
        EMF model class or method.
        name="Interval"
        Ordered collection.
      • RATIO_VALUE

        public static final int RATIO_VALUE
        The 'Ratio' literal value. Supports the same as an interval scale and additionally has an non-abitrary zero-point. Supported mathematical operations: =/≠ ; ; +/− ; ×/÷. Mathematically, it is considered a field. For example, the temperature in degress Fahrenheit is a ratio scale. It's zero point is non arbitrary as the particles which comprise matter at this temperature have zero kinetic energy.
        See Also:
        RATIO, Constant Field Values
        Generated class or method.
        EMF model class or method.
        name="Ratio"
        Ordered collection.
      • VALUES

        public static final List<Scale> VALUES
        A public read-only list of all the 'Scale' enumerators.
        Generated class or method.
    • Method Detail

      • values

        public static Scale[] 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 (Scale c : Scale.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Scale 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 Scale get​(String literal)
        Returns the 'Scale' literal with the specified literal value.
        Generated class or method.
      • getByName

        public static Scale getByName​(String name)
        Returns the 'Scale' literal with the specified name.
        Parameters:
        name - the name.
        Returns:
        the matching enumerator or null.
        Generated class or method.
      • get

        public static Scale get​(int value)
        Returns the 'Scale' literal with the specified integer value.
        Generated class or method.
      • getValue

        public int getValue()
        Specified by:
        getValue in interface Enumerator
        Generated class or method.
      • toString

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