1 /* 2 * #%L 3 * EUGene :: EUGene 4 * %% 5 * Copyright (C) 2004 - 2012 CodeLutin, Chatellier Eric 6 * %% 7 * This program is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU Lesser General Public License as 9 * published by the Free Software Foundation, either version 3 of the 10 * License, 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 Lesser Public License for more details. 16 * 17 * You should have received a copy of the GNU General Lesser Public 18 * License along with this program. If not, see 19 * <http://www.gnu.org/licenses/lgpl-3.0.html>. 20 * #L% 21 */ 22 23 package org.nuiton.eugene.models.object.xml; 24 25 /** 26 * Reference to a super class (inheritance relation). 27 * 28 * A discriminator is the name of the inheritance relation. 29 * 30 * Created: 14 janv. 2004 31 * 32 * @author Cédric Pineau - pineau@codelutin.com 33 */ 34 public class ObjectModelImplSuperClassRef extends ObjectModelImplRef { 35 36 /** Name of the inheritance relation. */ 37 protected String discrimininator; 38 39 /** 40 * Set name of the inheritance relation. 41 * 42 * @param discrimininator name of the inheritance relation 43 */ 44 public void setDiscriminator(String discrimininator) { 45 this.discrimininator = discrimininator; 46 } 47 48 /** 49 * Get name of the inheritance relation. 50 * 51 * @return name of the inheritance relation 52 */ 53 public String getDiscriminator() { 54 return discrimininator; 55 } 56 57 }