/******************************************************************************* * Copyright (c) 2011-2013 University of Mannheim: Chair for Software Engineering * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Ralph Gerbig - initial API and implementation and initial documentation *******************************************************************************/ package de.uni_mannheim.informatik.swt.models.plm.PLM; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Set Relationship</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link de.uni_mannheim.informatik.swt.models.plm.PLM.SetRelationship#getBase <em>Base</em>}</li> * </ul> * </p> * * @see de.uni_mannheim.informatik.swt.models.plm.PLM.PLMPackage#getSetRelationship() * @model abstract="true" * @generated */ public interface SetRelationship extends Correlation { /** * Returns the value of the '<em><b>Base</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Base</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Base</em>' reference. * @see #setBase(Clabject) * @see de.uni_mannheim.informatik.swt.models.plm.PLM.PLMPackage#getSetRelationship_Base() * @model required="true" * @generated */ Clabject getBase(); /** * Sets the value of the '{@link de.uni_mannheim.informatik.swt.models.plm.PLM.SetRelationship#getBase <em>Base</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Base</em>' reference. * @see #getBase() * @generated */ void setBase(Clabject value); /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * returns the target clabject of the directed relationship * <!-- end-model-doc --> * @model kind="operation" required="true" ordered="false" * annotation="http://www.eclipse.org/emf/2002/Ecore/OCL body='if self.oclIsTypeOf(Equality) then\r\n\tself.oclAsType(Equality).equal\r\nelse\r\n\tif self.oclIsTypeOf(Complement) then\r\n\t\tself.oclAsType(Complement).complement\r\n\telse\r\n\t\tself.oclAsType(Inversion).inverse\r\n\tendif\r\nendif'" * @generated */ Clabject getTarget(); } // SetRelationship