public class ElectricalPotentialUnit extends Unit<ElectricalPotentialUnit>
Copyright (c) 2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static ElectricalPotentialUnit |
ABVOLT
abvolt.
|
static ElectricalPotentialUnit |
KILOVOLT
kilovolt.
|
static ElectricalPotentialUnit |
MEGAVOLT
megavolt.
|
static ElectricalPotentialUnit |
MICROVOLT
microvolt.
|
static ElectricalPotentialUnit |
MILLIVOLT
millivolt.
|
static ElectricalPotentialUnit |
SI
The SI unit for electrical potential is Volt.
|
static ElectricalPotentialUnit |
STATVOLT
statvolt.
|
static ElectricalPotentialUnit |
VOLT
Volt.
|
Constructor and Description |
---|
ElectricalPotentialUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
ElectricalPotentialUnit(PowerUnit powerUnit,
ElectricalCurrentUnit electricalCurrentUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
ElectricalPotentialUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
ElectricalPotentialUnit referenceUnit,
double conversionFactorToReferenceUnit) |
Modifier and Type | Method and Description |
---|---|
ElectricalCurrentUnit |
getElectricalCurrentUnit() |
LengthUnit |
getLengthUnit() |
MassUnit |
getMassUnit() |
String |
getSICoefficientsString() |
ElectricalPotentialUnit |
getStandardUnit() |
TimeUnit |
getTimeUnit() |
getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getConversionFactorToStandardUnit, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final ElectricalPotentialUnit SI
public static final ElectricalPotentialUnit VOLT
public static final ElectricalPotentialUnit MICROVOLT
public static final ElectricalPotentialUnit MILLIVOLT
public static final ElectricalPotentialUnit KILOVOLT
public static final ElectricalPotentialUnit MEGAVOLT
public static final ElectricalPotentialUnit STATVOLT
public static final ElectricalPotentialUnit ABVOLT
public ElectricalPotentialUnit(MassUnit massUnit, LengthUnit lengthUnit, ElectricalCurrentUnit electricalCurrentUnit, TimeUnit timeUnit, String nameKey, String abbreviationKey, UnitSystem unitSystem)
massUnit
- the unit of mass for the electrical potential difference (voltage) unit, e.g., kilogramlengthUnit
- the unit of length for the electrical potential difference (voltage) unit, e.g., meterelectricalCurrentUnit
- the unit of electrical current for the electrical potential difference (voltage)
unit, e.g., AmperetimeUnit
- the unit of time for the electrical potential difference (voltage) unit, e.g., secondnameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or Imperialpublic ElectricalPotentialUnit(PowerUnit powerUnit, ElectricalCurrentUnit electricalCurrentUnit, String nameKey, String abbreviationKey, UnitSystem unitSystem)
powerUnit
- the unit of power for the electrical potential difference (voltage) unit, e.g., WattelectricalCurrentUnit
- the unit of electrical current for the electrical potential difference (voltage)
unit, e.g., AmperenameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or Imperialpublic ElectricalPotentialUnit(String nameKey, String abbreviationKey, UnitSystem unitSystem, ElectricalPotentialUnit referenceUnit, double conversionFactorToReferenceUnit)
nameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or ImperialreferenceUnit
- the unit to convert toconversionFactorToReferenceUnit
- multiply a value in this unit by the factor to convert to the given
reference unitpublic final MassUnit getMassUnit()
public final LengthUnit getLengthUnit()
public final ElectricalCurrentUnit getElectricalCurrentUnit()
public final TimeUnit getTimeUnit()
public final ElectricalPotentialUnit getStandardUnit()
getStandardUnit
in class Unit<ElectricalPotentialUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<ElectricalPotentialUnit>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.