blob: 0ed622699116aaffa90811a68142e90808cacf4c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2011 E.D.Willink and others.
* 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:
* 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#isIsComposes <em>Is Composes</em>}</li>
* <li>{@link org.eclipse.ocl.xtext.basecs.ReferenceCS#isIsResolve <em>Is Resolve</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>Is Composes</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Composes</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Composes</em>' attribute.
* @see #setIsComposes(boolean)
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getReferenceCS_IsComposes()
* @model dataType="org.eclipse.ocl.pivot.Boolean"
* @generated
*/
boolean isIsComposes();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.ReferenceCS#isIsComposes <em>Is Composes</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Composes</em>' attribute.
* @see #isIsComposes()
* @generated
*/
void setIsComposes(boolean value);
/**
* Returns the value of the '<em><b>Is Resolve</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Resolve</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Resolve</em>' attribute.
* @see #setIsResolve(boolean)
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getReferenceCS_IsResolve()
* @model dataType="org.eclipse.ocl.pivot.Boolean"
* @generated
*/
boolean isIsResolve();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.ReferenceCS#isIsResolve <em>Is Resolve</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Resolve</em>' attribute.
* @see #isIsResolve()
* @generated
*/
void setIsResolve(boolean value);
/**
* 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