/** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (C) 2007 Matthias Braeuer (braeuer.matthias@web.de). * * All rights reserved. * * * * This work was done as a project at the Chair for Software Technology, * * Dresden University Of Technology, Germany (http://st.inf.tu-dresden.de). * * It is understood that any modification not identified as such is not * * covered by the preceding statement. * * * * This work is free software; you can redistribute it and/or modify it * * under the terms of the GNU Library General Public License as published * * by the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This work is distributed in the hope that it will be useful, but WITHOUT * * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public * * License for more details. * * * * You should have received a copy of the GNU Library General Public License * * along with this library; if not, you can view it online at * * http://www.fsf.org/licensing/licenses/gpl.html. * * * * To submit a bug report, send a comment, or get the latest news on this * * project, please visit the website: http://dresden-ocl.sourceforge.net. * * For more information on OCL and related projects visit the OCL Portal: * * http://st.inf.tu-dresden.de/ocl * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * $Id$ */ package org.dresdenocl.pivotmodel; import java.util.List; /** * <!-- begin-user-doc --> A representation of the model object ' * <em><b>Association Property</b></em>'. <!-- end-user-doc --> * * <!-- begin-model-doc --> * <p> * A <code>Association</code> is a {@link Property} * typed element that represents an bidirectional association to another type. * </p> * <!-- end-model-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.dresdenocl.pivotmodel.AssociationProperty#getInverseAssociationProperties <em>Inverse Association Properties</em>}</li> * </ul> * </p> * * @see org.dresdenocl.pivotmodel.PivotModelPackage#getAssociationProperty() * @model * @generated */ public interface AssociationProperty extends Property { /** * Returns the value of the '<em><b>Inverse Association Properties</b></em>' * containment reference list. The list contents are of type * {@link org.dresdenocl.pivotmodel.AssociationProperty}. <!-- * begin-user-doc --> * <p> * If the meaning of the '<em>Inverse Association Properties</em>' containment * reference list isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> * * @return the value of the '<em>Inverse Association Properties</em>' * containment reference list. * @see org.dresdenocl.pivotmodel.PivotModelPackage#getAssociationProperty_InverseAssociationProperties() * @model containment="true" * @generated */ List<AssociationProperty> getInverseAssociationProperties(); /** * <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> * <p> * The operation addAssociation added a <code> NDirectionalAssociation</code> * to the inverse association list. * </p> * <!-- end-model-doc --> * * @model * @generated */ void addAssociation(AssociationProperty bProperty); /** * <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> * <p> * The operation removeAssociation removed a * <code>NDirectionalAssociation</code> from the inverse association list. * </p> * <!-- end-model-doc --> * * @model propNameDataType="org.dresdenocl.datatypes.String" * @generated */ AssociationProperty getAssociation(String propName); /** * <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> * <p> * The operation removeAssociation removed a * <code>NDirectionalAssociation</code> from the inverse association list. * </p> * <!-- end-model-doc --> * * @model * @generated */ void removeAssociation(AssociationProperty bProperty); /** * <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> * <p> * The operation isInverseAssociation ckecked a * <code>NDirectionalAssociation</code> is in the inverse association list. * </p> * <!-- end-model-doc --> * * @model dataType="org.dresdenocl.datatypes.Boolean" * @generated */ boolean isInverseAssociation(AssociationProperty bProperty); /** * <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> * <p> * The operation addAssociation added a <code>NDirectionalAssociation</code> * to the inverse association list. * </p> * <!-- end-model-doc --> * * @model bPropertyMany="true" * @generated */ void addAssociations(List<AssociationProperty> bProperty); /** * <!-- begin-user-doc --> <!-- end-user-doc --> * @model kind="operation" dataType="org.dresdenocl.datatypes.Boolean" * @generated */ boolean isNavigable(); } // AssociationProperty