| /********************************************************************* |
| * Copyright (c) 2021 Boeing |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Boeing - initial API and implementation |
| **********************************************************************/ |
| package org.eclipse.osee.mim.types; |
| |
| import org.eclipse.osee.framework.core.data.ArtifactToken; |
| import org.eclipse.osee.mim.annotations.OseeArtifactAttribute; |
| import org.eclipse.osee.mim.annotations.OseeArtifactRequiredAttribute; |
| import org.eclipse.osee.orcs.data.ArtifactReadable; |
| |
| /** |
| * @author Luciano T. Vaglienti |
| */ |
| public class InterfaceNode extends PLGenericDBObject { |
| |
| @OseeArtifactRequiredAttribute() |
| @OseeArtifactAttribute(attributeId = 1152921504606847088L) |
| private String Name; //required |
| |
| @OseeArtifactAttribute(attributeId = 1152921504606847090L) |
| private String Description; |
| |
| public InterfaceNode(ArtifactToken art) { |
| this((ArtifactReadable) art); |
| } |
| |
| public InterfaceNode(ArtifactReadable art) { |
| super(art); |
| } |
| |
| public InterfaceNode(Long id, String name) { |
| super(id, name); |
| } |
| |
| public InterfaceNode() { |
| } |
| |
| /** |
| * @return the description |
| */ |
| public String getDescription() { |
| return Description; |
| } |
| |
| /** |
| * @param description the description to set |
| */ |
| public void setDescription(String description) { |
| this.Description = description; |
| } |
| |
| } |