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

com.geotab.model.entity.unitofmeasure.UnitOfMeasureKilometersPerLiter 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 distance over volume.
 */
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
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