com.geotab.model.entity.unitofmeasure.UnitOfMeasureNewtons Maven / Gradle / Ivy
package com.geotab.model.entity.unitofmeasure;
import lombok.Getter;
import lombok.Setter;
/**
* Represents the unit of measure for force.
*/
@Getter @Setter
public final class UnitOfMeasureNewtons extends UnitOfMeasureSystem {
private static class InstanceHolder {
private static final UnitOfMeasureNewtons INSTANCE = new UnitOfMeasureNewtons();
}
public static final String UNIT_OF_MEASURE_NEWTONS_ID = "UnitOfMeasureNewtonsId";
public static final String UNIT_OF_MEASURE_NEWTONS_NAME = "N";
private UnitOfMeasureNewtons() {
super(UNIT_OF_MEASURE_NEWTONS_ID, UNIT_OF_MEASURE_NEWTONS_NAME);
}
public static UnitOfMeasureNewtons getInstance() {
return UnitOfMeasureNewtons.InstanceHolder.INSTANCE;
}
}