com.geotab.model.entity.unitofmeasure.UnitOfMeasureAmps Maven / Gradle / Ivy
package com.geotab.model.entity.unitofmeasure;
import lombok.Getter;
import lombok.Setter;
/**
* Represents the unit of measure for electric current.
*/
@Getter @Setter
public final class UnitOfMeasureAmps extends UnitOfMeasureSystem {
private static class InstanceHolder {
private static final UnitOfMeasureAmps INSTANCE = new UnitOfMeasureAmps();
}
public static final String UNIT_OF_MEASURE_AMPS_ID = "UnitOfMeasureAmpsId";
public static final String UNIT_OF_MEASURE_AMPS_NAME = "A";
private UnitOfMeasureAmps() {
super(UNIT_OF_MEASURE_AMPS_ID, UNIT_OF_MEASURE_AMPS_NAME);
}
public static UnitOfMeasureAmps getInstance() {
return UnitOfMeasureAmps.InstanceHolder.INSTANCE;
}
}