Enum Class Scale

java.lang.Object
java.lang.Enum<Scale>
org.palladiosimulator.metricspec.Scale
All Implemented Interfaces:
Serializable, Comparable<Scale>, Constable, Enumerator

public enum Scale extends Enum<Scale> implements Enumerator
A representation of the literals of the enumeration 'Scale', and utility methods for working with them. Mathematical scales.
See Also:
Generated class or method.
EMF model class or method.
  • Enum Constant Details

    • NOMINAL

      public static final Scale NOMINAL
      The 'Nominal' literal object. 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:
      Generated class or method.
      Ordered collection.
    • ORDINAL

      public static final Scale ORDINAL
      The 'Ordinal' literal object. Supports an equality operation as well as a monotonic increasing order. Supported mathematical operations: =/≠ ; </>. Mathematically, it is considered an ordered 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:
      Generated class or method.
      Ordered collection.
    • INTERVAL

      public static final Scale INTERVAL
      The 'Interval' literal object. 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:
      Generated class or method.
      Ordered collection.
    • RATIO

      public static final Scale RATIO
      The 'Ratio' literal object. 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:
      Generated class or method.
      Ordered collection.
  • Field Details

    • 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:
      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 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:
      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:
      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:
      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 Details

    • values

      public static Scale[] 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

      public static Scale valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • get

      public static Scale get(String literal)
      Returns the 'Scale' literal with the specified literal value.
      Parameters:
      literal - the literal.
      Returns:
      the matching enumerator or null.
      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.
      Parameters:
      value - the integer value.
      Returns:
      the matching enumerator or null.
      Generated class or method.
    • getValue

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

      public String getName()
      Specified by:
      getName in interface Enumerator
      Generated class or method.
    • getLiteral

      public String getLiteral()
      Specified by:
      getLiteral 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.