com.geotab.model.entity.unitofmeasure.UnitOfMeasureAmps Maven / Gradle / Ivy
/*
*
* 2020 Copyright (C) Geotab Inc. All rights reserved.
*/
package com.geotab.model.entity.unitofmeasure;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
* Represents the unit of measure for electric current.
*/
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
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;
}
}