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

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

package com.geotab.model.entity.unitofmeasure;

import lombok.Getter;
import lombok.Setter;

/**
 * Represents the unit of measure for temperature.
 */
@Getter @Setter
public final class UnitOfMeasureDegreesCelsius extends UnitOfMeasureSystem {

  private static class InstanceHolder {

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

  public static final String UNIT_OF_MEASURE_DEGREES_CELSIUS_ID = "UnitOfMeasureDegreesCelsiusId";
  public static final String UNIT_OF_MEASURE_DEGREES_CELSIUS_NAME = "C";

  private UnitOfMeasureDegreesCelsius() {
    super(UNIT_OF_MEASURE_DEGREES_CELSIUS_ID, UNIT_OF_MEASURE_DEGREES_CELSIUS_NAME);
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy