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

com.geotab.model.entity.unitofmeasure.UnitOfMeasureLiters 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 the volume of a liquid.
 */
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public final class UnitOfMeasureLiters extends UnitOfMeasureSystem {

  private static class InstanceHolder {

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

  public static final String UNIT_OF_MEASURE_LITERS_ID = "UnitOfMeasureLitersId";
  public static final String UNIT_OF_MEASURE_LITERS_NAME = "L";

  private UnitOfMeasureLiters() {
    super(UNIT_OF_MEASURE_LITERS_ID, UNIT_OF_MEASURE_LITERS_NAME);
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy