com.geotab.model.entity.unitofmeasure.UnitOfMeasureCubicMeters 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 solid.
*/
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public final class UnitOfMeasureCubicMeters extends UnitOfMeasureSystem {
private static class InstanceHolder {
private static final UnitOfMeasureCubicMeters INSTANCE = new UnitOfMeasureCubicMeters();
}
public static final String UNIT_OF_MEASURE_CUBIC_METERS_ID = "UnitOfMeasureCubicMetersId";
public static final String UNIT_OF_MEASURE_CUBIC_METERS_NAME = "m^3";
private UnitOfMeasureCubicMeters() {
super(UNIT_OF_MEASURE_CUBIC_METERS_ID, UNIT_OF_MEASURE_CUBIC_METERS_NAME);
}
public static UnitOfMeasureCubicMeters getInstance() {
return UnitOfMeasureCubicMeters.InstanceHolder.INSTANCE;
}
}