com.geotab.model.entity.unitofmeasure.UnitOfMeasureGramsPerSquareMeter Maven / Gradle / Ivy
package com.geotab.model.entity.unitofmeasure;
import lombok.Getter;
import lombok.Setter;
/**
* Represents the unit of measure for mass over area.
*/
@Getter @Setter
public final class UnitOfMeasureGramsPerSquareMeter extends UnitOfMeasureSystem {
private static class InstanceHolder {
private static final UnitOfMeasureGramsPerSquareMeter INSTANCE = new UnitOfMeasureGramsPerSquareMeter();
}
public static final String UNIT_OF_MEASURE_GRAMS_PER_SQUARE_METER_ID = "UnitOfMeasureGramsPerSquareMeterId";
public static final String UNIT_OF_MEASURE_GRAMS_PER_SQUARE_METER_NAME = "g/m^2";
private UnitOfMeasureGramsPerSquareMeter() {
super(UNIT_OF_MEASURE_GRAMS_PER_SQUARE_METER_ID, UNIT_OF_MEASURE_GRAMS_PER_SQUARE_METER_NAME);
}
public static UnitOfMeasureGramsPerSquareMeter getInstance() {
return UnitOfMeasureGramsPerSquareMeter.InstanceHolder.INSTANCE;
}
}