| /******************************************************************************* |
| * 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.pages; |
| |
| /** |
| * The DTO used to represent an activity of the workflow. |
| * |
| * @author sbegaudeau |
| */ |
| @SuppressWarnings({ "checkstyle::javadocmethod", "checkstyle::javadocfield" }) |
| public class SiriusServerActivityDto { |
| private String identifier; |
| |
| private String name; |
| |
| /** |
| * The constructor. |
| * |
| * @param identifier |
| * The identifier of the activity |
| * @param name |
| * The name of the activity |
| */ |
| public SiriusServerActivityDto(String identifier, String name) { |
| this.identifier = identifier; |
| this.name = name; |
| } |
| |
| public String getIdentifier() { |
| return this.identifier; |
| } |
| |
| public String getName() { |
| return this.name; |
| } |
| } |