| /******************************************************************************* |
| * Copyright (c) 2013, 2018 CEA LIST 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(CEA LIST) - Initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.ocl.examples.codegen.cgmodel; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>CG Collection Part</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCollectionPart#getFirst <em>First</em>}</li> |
| * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCollectionPart#getLast <em>Last</em>}</li> |
| * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCollectionPart#getCollectionExp <em>Collection Exp</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGCollectionPart() |
| * @generated |
| */ |
| public interface CGCollectionPart extends CGValuedElement { |
| |
| /** |
| * Returns the value of the '<em><b>First</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>First</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>First</em>' containment reference. |
| * @see #setFirst(CGValuedElement) |
| * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGCollectionPart_First() |
| * @generated |
| */ |
| CGValuedElement getFirst(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCollectionPart#getFirst <em>First</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>First</em>' containment reference. |
| * @see #getFirst() |
| * @generated |
| */ |
| void setFirst(CGValuedElement value); |
| |
| /** |
| * Returns the value of the '<em><b>Last</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Last</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>Last</em>' containment reference. |
| * @see #setLast(CGValuedElement) |
| * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGCollectionPart_Last() |
| * @generated |
| */ |
| CGValuedElement getLast(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCollectionPart#getLast <em>Last</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Last</em>' containment reference. |
| * @see #getLast() |
| * @generated |
| */ |
| void setLast(CGValuedElement value); |
| |
| /** |
| * Returns the value of the '<em><b>Collection Exp</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCollectionExp#getParts <em>Parts</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Collection Exp</em>' container reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Collection Exp</em>' container reference. |
| * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGCollectionPart_CollectionExp() |
| * @see org.eclipse.ocl.examples.codegen.cgmodel.CGCollectionExp#getParts |
| * @generated |
| */ |
| CGCollectionExp getCollectionExp(); |
| |
| /** |
| * Return true if this is a collection range. |
| * |
| * @generated |
| */ |
| // Generated from org.eclipse.ocl.examples.build.modelspecs.CGValuedElementModelSpec$18 |
| boolean isRange(); |
| |
| } // CGCollectionPart |