blob: 136f73162117c9731a5bd07e1332e201a32118af [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 Willink Transformations 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:
* Adolfo Sanchez-Barbudo Herrera - initial API and implementation
*******************************************************************************/
/**
*/
package org.eclipse.qvtd.doc.miniocl;
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:
* </p>
* <ul>
* <li>{@link org.eclipse.qvtd.doc.miniocl.CollectionLiteralExp#getOwnedParts <em>Owned Parts</em>}</li>
* <li>{@link org.eclipse.qvtd.doc.miniocl.CollectionLiteralExp#getKind <em>Kind</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getCollectionLiteralExp()
* @model
* @generated
*/
public interface CollectionLiteralExp extends LiteralExp {
/**
* Returns the value of the '<em><b>Owned Parts</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.qvtd.doc.miniocl.CollectionLiteralPart}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Parts</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 Parts</em>' containment reference list.
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getCollectionLiteralExp_OwnedParts()
* @model containment="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/qvtd/doc/MiniOCL/1.0!CollectionLiteralExp!ownedParts'"
* @generated
*/
EList<CollectionLiteralPart> getOwnedParts();
/**
* Returns the value of the '<em><b>Kind</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.qvtd.doc.miniocl.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.qvtd.doc.miniocl.CollectionKind
* @see #setKind(CollectionKind)
* @see org.eclipse.qvtd.doc.miniocl.MiniOCLPackage#getCollectionLiteralExp_Kind()
* @model required="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.eclipse.org/qvtd/doc/MiniOCL/1.0!CollectionLiteralExp!kind'"
* @generated
*/
CollectionKind getKind();
/**
* Sets the value of the '{@link org.eclipse.qvtd.doc.miniocl.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.qvtd.doc.miniocl.CollectionKind
* @see #getKind()
* @generated
*/
void setKind(CollectionKind value);
} // CollectionLiteralExp