1 /* 2 PlantUMLClassesDiagramExtendRelationImpl.java 3 Creation date : 6/12/2011 4 Copyright © Benjamin Croizet (graffity2199@yahoo.fr) 5 6 This program is free software; you can redistribute it and/or 7 modify it under the terms of the GNU General Public License 8 or GNU Lesser General Public License as published by the 9 Free Software Foundation; either version 3 of the License, 10 or (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received copies of the GNU General Public License 18 and GNU Lesser General Public License along with this program; 19 if not, write to the Free Software Foundation, Inc., 20 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 http://www.fsf.org/licensing/licenses/gpl.html 22 http://www.gnu.org/licenses/lgpl.html 23 */ 24 25 package net.sourceforge.plantumldependency.cli.plantumldiagram.classes.relation.impl; 26 27 import static net.sourceforge.plantumldependency.cli.plantumldiagram.classes.relation.PlantUMLClassesDiagramRelationType.EXTEND_RELATION_TYPE; 28 import net.sourceforge.plantumldependency.cli.plantumldiagram.classes.element.PlantUMLClassesDiagramElement; 29 import net.sourceforge.plantumldependency.cli.plantumldiagram.classes.relation.AbstractPlantUMLClassesDiagramRelation; 30 import net.sourceforge.plantumldependency.cli.plantumldiagram.classes.relation.PlantUMLClassesDiagramExtendRelation; 31 32 /** 33 * The default {@link PlantUMLClassesDiagramExtendRelation} implementation. 34 * 35 * @author Benjamin Croizet (<a href="mailto:graffity2199@yahoo.fr>graffity2199@yahoo.fr</a>) 36 * @since 1.1.1 37 * @version 1.3.0 38 */ 39 public class PlantUMLClassesDiagramExtendRelationImpl extends AbstractPlantUMLClassesDiagramRelation implements 40 PlantUMLClassesDiagramExtendRelation { 41 42 /** Serial version UID. */ 43 private static final long serialVersionUID = -1070564647806961773L; 44 45 /** 46 * Full constructor. 47 * 48 * @param firstElt 49 * The first element of the relation, mustn't be <code>null</code> nor empty. 50 * @param secondElt 51 * The second element of the relation, mustn't be <code>null</code> nor empty. 52 * @since 1.1.1 53 */ 54 public PlantUMLClassesDiagramExtendRelationImpl(final PlantUMLClassesDiagramElement firstElt, 55 final PlantUMLClassesDiagramElement secondElt) { 56 super(firstElt, secondElt, EXTEND_RELATION_TYPE); 57 } 58 }