All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.geotab.model.entity.unitofmeasure.UnitOfMeasureNewtons 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 force.
 */
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy