public static enum DefaultDomainModelElectricity.PowerType extends java.lang.Enum<DefaultDomainModelElectricity.PowerType>
| Enum Constant and Description |
|---|
ActivePower |
ApparentPower |
ReactivePower |
| Modifier and Type | Method and Description |
|---|---|
static DefaultDomainModelElectricity.PowerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultDomainModelElectricity.PowerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultDomainModelElectricity.PowerType ActivePower
public static final DefaultDomainModelElectricity.PowerType ReactivePower
public static final DefaultDomainModelElectricity.PowerType ApparentPower
public static DefaultDomainModelElectricity.PowerType[] values()
for (DefaultDomainModelElectricity.PowerType c : DefaultDomainModelElectricity.PowerType.values()) System.out.println(c);
public static DefaultDomainModelElectricity.PowerType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null