com.geotab.model.entity.unitofmeasure.UnitOfMeasureCubicMeters Maven / Gradle / Ivy
package com.geotab.model.entity.unitofmeasure;
import lombok.Getter;
import lombok.Setter;
/**
* Represents the unit of measure for the volume of a solid.
*/
@Getter @Setter
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;
}
}