All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geotab.model.entity.unitofmeasure.UnitOfMeasureKilometersPerKilogram Maven / Gradle / Ivy

package com.geotab.model.entity.unitofmeasure;

import lombok.Getter;
import lombok.Setter;

/**
 * Represents the unit of measure for the ratio of distance to fuel consumption.
 */
@Getter @Setter
public final class UnitOfMeasureKilometersPerKilogram extends UnitOfMeasureSystem {

  private static class InstanceHolder {

    private static final UnitOfMeasureKilometersPerKilogram INSTANCE = new UnitOfMeasureKilometersPerKilogram();
  }

  public static final String UNIT_OF_MEASURE_KILOMETERS_PER_KILOGRAM_ID = "UnitOfMeasureKilometersPerKilogramId";
  public static final String UNIT_OF_MEASURE_KILOMETERS_PER_KILOGRAM_NAME = "km/kg";

  private UnitOfMeasureKilometersPerKilogram() {
    super(UNIT_OF_MEASURE_KILOMETERS_PER_KILOGRAM_ID, UNIT_OF_MEASURE_KILOMETERS_PER_KILOGRAM_NAME);
  }

  public static UnitOfMeasureKilometersPerKilogram getInstance() {
    return UnitOfMeasureKilometersPerKilogram.InstanceHolder.INSTANCE;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy