| /******************************************************************************* |
| * Copyright (c) 2018 Obeo. |
| * This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Obeo - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.sirius.server.backend.internal.services.dashboard; |
| |
| /** |
| * The DTO used to represent one project in the dashboard. |
| * |
| * @author sbegaudeau |
| */ |
| @SuppressWarnings({ "checkstyle::javadocmethod", "checkstyle::javadocfield" }) |
| public class SiriusServerDashboardProjectDto { |
| private String name; |
| |
| private String description; |
| |
| /** |
| * The constructor. |
| * |
| * @param name |
| * The name of the project |
| * @param description |
| * The description of the project |
| */ |
| public SiriusServerDashboardProjectDto(String name, String description) { |
| this.name = name; |
| this.description = description; |
| } |
| |
| public String getName() { |
| return this.name; |
| } |
| |
| public String getDescription() { |
| return this.description; |
| } |
| |
| } |