com.geotab.model.entity.unitofmeasure.UnitOfMeasureBytes 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 digital storage.
*/
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public final class UnitOfMeasureBytes extends UnitOfMeasureSystem {
private static class InstanceHolder {
private static final UnitOfMeasureBytes INSTANCE = new UnitOfMeasureBytes();
}
public static final String UNIT_OF_MEASURE_BYTES_ID = "UnitOfMeasureBytesId";
public static final String UNIT_OF_MEASURE_BYTES_NAME = "B";
private UnitOfMeasureBytes() {
super(UNIT_OF_MEASURE_BYTES_ID, UNIT_OF_MEASURE_BYTES_NAME);
}
public static UnitOfMeasureBytes getInstance() {
return UnitOfMeasureBytes.InstanceHolder.INSTANCE;
}
}