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

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

package com.geotab.model.entity.unitofmeasure;

import lombok.Getter;
import lombok.Setter;

/**
 * Represents the unit of measure for distance over volume.
 */
@Getter @Setter
public final class UnitOfMeasureKilometersPerLiter extends UnitOfMeasureSystem {

  private static class InstanceHolder {

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

  public static final String UNIT_OF_MEASURE_KILOMETERS_PER_LITER_ID = "UnitOfMeasureKilometersPerLiterId";
  public static final String UNIT_OF_MEASURE_KILOMETERS_PER_LITER_NAME = "km/L";

  private UnitOfMeasureKilometersPerLiter() {
    super(UNIT_OF_MEASURE_KILOMETERS_PER_LITER_ID, UNIT_OF_MEASURE_KILOMETERS_PER_LITER_NAME);
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy