| /******************************************************************************* |
| * 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.basecs; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Classifier CS</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.ocl.xtext.basecs.ClassCS#getInstanceClassName <em>Instance Class Name</em>}</li> |
| * <li>{@link org.eclipse.ocl.xtext.basecs.ClassCS#getOwnedConstraints <em>Owned Constraints</em>}</li> |
| * <li>{@link org.eclipse.ocl.xtext.basecs.ClassCS#getOwningPackage <em>Owning Package</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getClassCS() |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface ClassCS extends NamedElementCS, TypeCS, TemplateableElementCS { |
| /** |
| * Returns the value of the '<em><b>Owning Package</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.ocl.xtext.basecs.PackageCS#getOwnedClasses <em>Owned Classes</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Owner</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>Owning Package</em>' container reference. |
| * @see #setOwningPackage(PackageCS) |
| * @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getClassCS_OwningPackage() |
| * @see org.eclipse.ocl.xtext.basecs.PackageCS#getOwnedClasses |
| * @model opposite="ownedClasses" transient="false" |
| * @generated |
| */ |
| PackageCS getOwningPackage(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.ClassCS#getOwningPackage <em>Owning Package</em>}' container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Owning Package</em>' container reference. |
| * @see #getOwningPackage() |
| * @generated |
| */ |
| void setOwningPackage(PackageCS value); |
| |
| /** |
| * Returns the value of the '<em><b>Instance Class Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Instance Class 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>Instance Class Name</em>' attribute. |
| * @see #setInstanceClassName(String) |
| * @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getClassCS_InstanceClassName() |
| * @model dataType="org.eclipse.ocl.pivot.String" |
| * @generated |
| */ |
| String getInstanceClassName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.ClassCS#getInstanceClassName <em>Instance Class Name</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Instance Class Name</em>' attribute. |
| * @see #getInstanceClassName() |
| * @generated |
| */ |
| void setInstanceClassName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Owned Constraints</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.ocl.xtext.basecs.ConstraintCS}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Owned Constraint</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 Constraints</em>' containment reference list. |
| * @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getClassCS_OwnedConstraints() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<ConstraintCS> getOwnedConstraints(); |
| |
| } // ClassifierCS |