com.geotab.model.entity.unitofmeasure.UnitOfMeasureOhms 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 electrical resistance.
*/
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public final class UnitOfMeasureOhms extends UnitOfMeasureSystem {
private static class InstanceHolder {
private static final UnitOfMeasureOhms INSTANCE = new UnitOfMeasureOhms();
}
public static final String UNIT_OF_MEASURE_OHMS_ID = "UnitOfMeasureOhmsId";
public static final String UNIT_OF_MEASURE_OHMS_NAME = "Ohm";
private UnitOfMeasureOhms() {
super(UNIT_OF_MEASURE_OHMS_ID, UNIT_OF_MEASURE_OHMS_NAME);
}
public static UnitOfMeasureOhms getInstance() {
return UnitOfMeasureOhms.InstanceHolder.INSTANCE;
}
}