blob: 77510837915ca8f86aa2e731f99892627ad1b2ac [file] [log] [blame]
/**
* <copyright>
*
* Copyright (c) 2007, 2008 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
*
* </copyright>
*
* $Id: CollectionLiteralExp.java,v 1.1 2008/07/23 09:56:32 qglineur Exp $
*/
package org.eclipse.qvt.declarative.emof.EssentialOCL;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Collection Literal Exp</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.qvt.declarative.emof.EssentialOCL.CollectionLiteralExp#getKind <em>Kind</em>}</li>
* <li>{@link org.eclipse.qvt.declarative.emof.EssentialOCL.CollectionLiteralExp#getPart <em>Part</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.EssentialOCLPackage#getCollectionLiteralExp()
* @model
* @generated
*/
public interface CollectionLiteralExp extends LiteralExp {
/**
* Returns the value of the '<em><b>Kind</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.qvt.declarative.emof.EssentialOCL.CollectionKind}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Kind</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Kind</em>' attribute.
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.CollectionKind
* @see #setKind(CollectionKind)
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.EssentialOCLPackage#getCollectionLiteralExp_Kind()
* @model
* @generated
*/
CollectionKind getKind();
/**
* Sets the value of the '{@link org.eclipse.qvt.declarative.emof.EssentialOCL.CollectionLiteralExp#getKind <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Kind</em>' attribute.
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.CollectionKind
* @see #getKind()
* @generated
*/
void setKind(CollectionKind value);
/**
* Returns the value of the '<em><b>Part</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.qvt.declarative.emof.EssentialOCL.CollectionLiteralPart}.
* It is bidirectional and its opposite is '{@link org.eclipse.qvt.declarative.emof.EssentialOCL.CollectionLiteralPart#getCollectionLiteralExp <em>Collection Literal Exp</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Part</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>Part</em>' containment reference list.
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.EssentialOCLPackage#getCollectionLiteralExp_Part()
* @see org.eclipse.qvt.declarative.emof.EssentialOCL.CollectionLiteralPart#getCollectionLiteralExp
* @model opposite="collectionLiteralExp" containment="true" ordered="false"
* @generated
*/
EList<CollectionLiteralPart> getPart();
} // CollectionLiteralExp