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

org.sonar.db.measure.custom.CustomMeasureDto Maven / Gradle / Ivy

The newest version!
/*
 * SonarQube
 * Copyright (C) 2009-2018 SonarSource SA
 * mailto:info AT sonarsource DOT com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
package org.sonar.db.measure.custom;

import javax.annotation.CheckForNull;
import javax.annotation.Nullable;

public class CustomMeasureDto {

  private long id;
  private int metricId;
  private String componentUuid;
  private double value;
  private String textValue;
  private String userUuid;
  private String description;
  private long createdAt;
  private long updatedAt;

  @CheckForNull
  public String getDescription() {
    return description;
  }

  public CustomMeasureDto setDescription(@Nullable String description) {
    this.description = description;
    return this;
  }

  public String getUserUuid() {
    return userUuid;
  }

  public CustomMeasureDto setUserUuid(String userUuid) {
    this.userUuid = userUuid;
    return this;
  }

  @CheckForNull
  public String getTextValue() {
    return textValue;
  }

  public CustomMeasureDto setTextValue(@Nullable String textValue) {
    this.textValue = textValue;
    return this;
  }

  public double getValue() {
    return value;
  }

  public CustomMeasureDto setValue(double value) {
    this.value = value;
    return this;
  }

  public int getMetricId() {
    return metricId;
  }

  public CustomMeasureDto setMetricId(int metricId) {
    this.metricId = metricId;
    return this;
  }

  public long getId() {
    return id;
  }

  public CustomMeasureDto setId(long id) {
    this.id = id;
    return this;
  }

  public long getUpdatedAt() {
    return updatedAt;
  }

  public CustomMeasureDto setUpdatedAt(long updatedAt) {
    this.updatedAt = updatedAt;
    return this;
  }

  public long getCreatedAt() {
    return createdAt;
  }

  public CustomMeasureDto setCreatedAt(long createdAt) {
    this.createdAt = createdAt;
    return this;
  }

  public String getComponentUuid() {
    return componentUuid;
  }

  public CustomMeasureDto setComponentUuid(String componentUuid) {
    this.componentUuid = componentUuid;
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy