Enum Class UnitsPower

java.lang.Object
java.lang.Enum<UnitsPower>
ome.xml.model.enums.UnitsPower
All Implemented Interfaces:
Serializable, Comparable<UnitsPower>, Constable, Enumeration

public enum UnitsPower extends Enum<UnitsPower> implements Enumeration
  • Enum Constant Details

    • YOTTAWATT

      public static final UnitsPower YOTTAWATT
      yottawatt unit.
    • ZETTAWATT

      public static final UnitsPower ZETTAWATT
      zettawatt unit.
    • EXAWATT

      public static final UnitsPower EXAWATT
      exawatt unit.
    • PETAWATT

      public static final UnitsPower PETAWATT
      petawatt unit.
    • TERAWATT

      public static final UnitsPower TERAWATT
      terawatt unit.
    • GIGAWATT

      public static final UnitsPower GIGAWATT
      gigawatt unit.
    • MEGAWATT

      public static final UnitsPower MEGAWATT
      megawatt unit.
    • KILOWATT

      public static final UnitsPower KILOWATT
      kilowatt unit.
    • HECTOWATT

      public static final UnitsPower HECTOWATT
      hectowatt unit.
    • DECAWATT

      public static final UnitsPower DECAWATT
      decawatt unit.
    • WATT

      public static final UnitsPower WATT
      watt unit.
    • DECIWATT

      public static final UnitsPower DECIWATT
      deciwatt unit.
    • CENTIWATT

      public static final UnitsPower CENTIWATT
      centiwatt unit.
    • MILLIWATT

      public static final UnitsPower MILLIWATT
      milliwatt unit.
    • MICROWATT

      public static final UnitsPower MICROWATT
      microwatt unit.
    • NANOWATT

      public static final UnitsPower NANOWATT
      nanowatt unit.
    • PICOWATT

      public static final UnitsPower PICOWATT
      picowatt unit.
    • FEMTOWATT

      public static final UnitsPower FEMTOWATT
      femtowatt unit.
    • ATTOWATT

      public static final UnitsPower ATTOWATT
      attowatt unit.
    • ZEPTOWATT

      public static final UnitsPower ZEPTOWATT
      zeptowatt unit.
    • YOCTOWATT

      public static final UnitsPower YOCTOWATT
      yoctowatt unit.
  • Method Details

    • values

      public static UnitsPower[] 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 UnitsPower 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
    • fromString

      public static UnitsPower fromString(String value) throws EnumerationException
      Throws:
      EnumerationException
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<UnitsPower>
    • create

      public static <T extends PrimitiveNumber> Power create(T newValue, UnitsPower newUnit)
    • create

      public static <T extends Number> Power create(T newValue, UnitsPower newUnit)