Enum Class SIDerivedUnits

java.lang.Object
java.lang.Enum<SIDerivedUnits>
de.powerstat.validation.values.SIDerivedUnits
All Implemented Interfaces:
IValueObject, Serializable, Comparable<SIDerivedUnits>, Constable

public enum SIDerivedUnits extends Enum<SIDerivedUnits> implements IValueObject
SI derived units.
See Also:
  • Enum Constant Details

    • RADIAN

      public static final SIDerivedUnits RADIAN
      Plane angle.
    • STERADIAN

      public static final SIDerivedUnits STERADIAN
      Solid angle.
    • HERTZ

      public static final SIDerivedUnits HERTZ
      Frequency.
    • NEWTON

      public static final SIDerivedUnits NEWTON
      Force, weight.
    • PASCAL

      public static final SIDerivedUnits PASCAL
      Pressure, stress.
    • JOULE

      public static final SIDerivedUnits JOULE
      Energy, work, heat.
    • WATT

      public static final SIDerivedUnits WATT
      Power, radiant flux.
    • COULOMB

      public static final SIDerivedUnits COULOMB
      Electric charge.
    • VOLT

      public static final SIDerivedUnits VOLT
      Electric potential, voltage, emf.
    • FARAD

      public static final SIDerivedUnits FARAD
      Capacitance.
    • OHM

      public static final SIDerivedUnits OHM
      Resistance, impedance, reactance.
    • SIEMENS

      public static final SIDerivedUnits SIEMENS
      Electrical conductance.
    • WEBER

      public static final SIDerivedUnits WEBER
      Magnetic flux.
    • TESLA

      public static final SIDerivedUnits TESLA
      Magnetic flux density.
    • HENRY

      public static final SIDerivedUnits HENRY
      Inductance.
    • DEGREE_CELSIUS

      public static final SIDerivedUnits DEGREE_CELSIUS
      Temperature relative to 273.15 K.
    • LUMEN

      public static final SIDerivedUnits LUMEN
      Luminous flux.
    • LUX

      public static final SIDerivedUnits LUX
      Illuminance.
    • BECQUEREL

      public static final SIDerivedUnits BECQUEREL
      Activity referred to a radionuclide (decays per unit time).
    • GRAY

      public static final SIDerivedUnits GRAY
      Absorbed dose (of ionising radiation).
    • SIEVERT

      public static final SIDerivedUnits SIEVERT
      Equivalent dose (of ionising radiation).
    • KATAL

      public static final SIDerivedUnits KATAL
      Catalytic activity.
  • Field Details

    • symbol

      private final String symbol
      Unit symbol.
  • Constructor Details

    • SIDerivedUnits

      private SIDerivedUnits(String symbol)
      Ordinal constructor.
      Parameters:
      symbol - Unit symbol
  • Method Details

    • values

      public static SIDerivedUnits[] 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 SIDerivedUnits 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
    • of

      public static SIDerivedUnits of(String value)
      SIDerivedUnits factory.
      Parameters:
      value - Enum name string
      Returns:
      SIDerivedUnits enum
    • getSymbol

      public String getSymbol()
      Get unit symbol.
      Returns:
      Symbol
    • stringValue

      public String stringValue()
      Returns the value of this SIDerivedUnits as a string.
      Specified by:
      stringValue in interface IValueObject
      Returns:
      The text value represented by this object after conversion to type string.