blob: a11c7c0dd89f60e6cbce8fb43b29dfb329e61c52 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 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 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.essentialoclcs;
import org.eclipse.ocl.xtext.basecs.MultiplicityCS;
import org.eclipse.ocl.xtext.basecs.TypedRefCS;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Collection Type CS</b></em>'.
* @extends org.eclipse.ocl.pivot.utilities.Nameable
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.xtext.essentialoclcs.CollectionTypeCS#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.ocl.xtext.essentialoclcs.CollectionTypeCS#getOwnedCollectionMultiplicity <em>Owned Collection Multiplicity</em>}</li>
* <li>{@link org.eclipse.ocl.xtext.essentialoclcs.CollectionTypeCS#getOwnedType <em>Owned Type</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.xtext.essentialoclcs.EssentialOCLCSPackage#getCollectionTypeCS()
* @model
* @generated
*/
public interface CollectionTypeCS
extends TypedRefCS, org.eclipse.ocl.pivot.utilities.Nameable {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.ocl.xtext.essentialoclcs.EssentialOCLCSPackage#getCollectionTypeCS_Name()
* @model
* @generated
*/
@Override
String getName();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.essentialoclcs.CollectionTypeCS#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Owned Collection Multiplicity</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Collection Multiplicity</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>Owned Collection Multiplicity</em>' containment reference.
* @see #setOwnedCollectionMultiplicity(MultiplicityCS)
* @see org.eclipse.ocl.xtext.essentialoclcs.EssentialOCLCSPackage#getCollectionTypeCS_OwnedCollectionMultiplicity()
* @model containment="true"
* @generated
*/
MultiplicityCS getOwnedCollectionMultiplicity();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.essentialoclcs.CollectionTypeCS#getOwnedCollectionMultiplicity <em>Owned Collection Multiplicity</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Owned Collection Multiplicity</em>' containment reference.
* @see #getOwnedCollectionMultiplicity()
* @generated
*/
void setOwnedCollectionMultiplicity(MultiplicityCS value);
/**
* Returns the value of the '<em><b>Owned Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Type</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>Owned Type</em>' containment reference.
* @see #setOwnedType(TypedRefCS)
* @see org.eclipse.ocl.xtext.essentialoclcs.EssentialOCLCSPackage#getCollectionTypeCS_OwnedType()
* @model containment="true"
* @generated
*/
TypedRefCS getOwnedType();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.essentialoclcs.CollectionTypeCS#getOwnedType <em>Owned Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Owned Type</em>' containment reference.
* @see #getOwnedType()
* @generated
*/
void setOwnedType(TypedRefCS value);
} // CollectionTypeCS