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

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