com.geotab.model.entity.unitofmeasure.UnitOfMeasureMeters Maven / Gradle / Ivy
package com.geotab.model.entity.unitofmeasure;
import lombok.Getter;
import lombok.Setter;
/**
* Represents the unit of measure for distance.
*/
@Getter @Setter
public final class UnitOfMeasureMeters extends UnitOfMeasureSystem {
private static class InstanceHolder {
private static final UnitOfMeasureMeters INSTANCE = new UnitOfMeasureMeters();
}
public static final String UNIT_OF_MEASURE_METERS_ID = "UnitOfMeasureMetersId";
public static final String UNIT_OF_MEASURE_METERS_NAME = "m";
private UnitOfMeasureMeters() {
super(UNIT_OF_MEASURE_METERS_ID, UNIT_OF_MEASURE_METERS_NAME);
}
public static UnitOfMeasureMeters getInstance() {
return UnitOfMeasureMeters.InstanceHolder.INSTANCE;
}
}