package com.smash.revolance.ui.server.model; /* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * ui-monitoring-server * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Copyright (C) 2012 - 2014 RevoLance * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU 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 General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program. If not, see * <http://www.gnu.org/licenses/gpl-3.0.html>. * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ import org.hibernate.validator.constraints.NotEmpty; import javax.validation.constraints.NotNull; /** * Created by ebour on 11/01/14. */ public class Review { @NotNull @NotEmpty private String applicationId; @NotNull @NotEmpty private String referenceApplicationId; private boolean firstVersion; @NotEmpty @NotNull private String reviewer; public void setReviewer(String reviewer) { this.reviewer = reviewer; } public String getReviewer() { return this.reviewer; } public void setFirstVersion(boolean b) { this.firstVersion = b; } public boolean isFirstVersion() { return this.firstVersion; } public void setApplicationId(String applicationId) { this.applicationId = applicationId; } public String getApplicationId() { return applicationId; } public void setReferenceApplicationId(String referenceApplicationId) { this.referenceApplicationId = referenceApplicationId; } public String getReferenceApplicationId() { return referenceApplicationId; } }