blob: 9d119a2d14b29e7e27a85216508648773c7c7efd [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2019 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* E.D.Willink - initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.xtext.basecs;
import org.eclipse.emf.common.util.EList;
import org.eclipse.ocl.pivot.Property;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Reference CS</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.xtext.basecs.ReferenceCS#getReferredKeys <em>Referred Keys</em>}</li>
* <li>{@link org.eclipse.ocl.xtext.basecs.ReferenceCS#getReferredOpposite <em>Referred Opposite</em>}</li>
* <li>{@link org.eclipse.ocl.xtext.basecs.ReferenceCS#getOwnedImplicitOpposites <em>Owned Implicit Opposites</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getReferenceCS()
* @model
* @generated
*/
public interface ReferenceCS extends StructuralFeatureCS {
/**
* Returns the value of the '<em><b>Referred Opposite</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Opposite</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Referred Opposite</em>' reference.
* @see #setReferredOpposite(Property)
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getReferenceCS_ReferredOpposite()
* @model
* @generated
*/
Property getReferredOpposite();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.ReferenceCS#getReferredOpposite <em>Referred Opposite</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Referred Opposite</em>' reference.
* @see #getReferredOpposite()
* @generated
*/
void setReferredOpposite(Property value);
/**
* Returns the value of the '<em><b>Owned Implicit Opposites</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.ocl.xtext.basecs.ImplicitOppositeCS}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Implicit Opposites</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>Owned Implicit Opposites</em>' containment reference list.
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getReferenceCS_OwnedImplicitOpposites()
* @model containment="true"
* @generated
*/
EList<ImplicitOppositeCS> getOwnedImplicitOpposites();
/**
* Returns the value of the '<em><b>Referred Keys</b></em>' reference list.
* The list contents are of type {@link org.eclipse.ocl.pivot.Property}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Keys</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>Referred Keys</em>' reference list.
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getReferenceCS_ReferredKeys()
* @model
* @generated
*/
EList<Property> getReferredKeys();
} // ReferenceCS