com.geotab.model.entity.unitofmeasure.UnitOfMeasureHertz Maven / Gradle / Ivy
package com.geotab.model.entity.unitofmeasure;
import lombok.Getter;
import lombok.Setter;
/**
* Represents the unit of measure an amount of cycles per second.
*/
@Getter @Setter
public final class UnitOfMeasureHertz extends UnitOfMeasureSystem {
private static class InstanceHolder {
private static final UnitOfMeasureHertz INSTANCE = new UnitOfMeasureHertz();
}
public static final String UNIT_OF_MEASURE_HERTZ_ID = "UnitOfMeasureHertzId";
public static final String UNIT_OF_MEASURE_HERTZ_NAME = "Hz";
private UnitOfMeasureHertz() {
super(UNIT_OF_MEASURE_HERTZ_ID, UNIT_OF_MEASURE_HERTZ_NAME);
}
public static UnitOfMeasureHertz getInstance() {
return UnitOfMeasureHertz.InstanceHolder.INSTANCE;
}
}