| /******************************************************************************* |
| * 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>Structural Feature CS</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.ocl.xtext.basecs.StructuralFeatureCS#getDefault <em>Default</em>}</li> |
| * <li>{@link org.eclipse.ocl.xtext.basecs.StructuralFeatureCS#getOwnedDefaultExpressions <em>Owned Default Expressions</em>}</li> |
| * <li>{@link org.eclipse.ocl.xtext.basecs.StructuralFeatureCS#getOwningClass <em>Owning Class</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getStructuralFeatureCS() |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface StructuralFeatureCS extends FeatureCS { |
| |
| /** |
| * Returns the value of the '<em><b>Owning Class</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.ocl.xtext.basecs.StructuredClassCS#getOwnedProperties <em>Owned Properties</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 Class</em>' container reference. |
| * @see #setOwningClass(StructuredClassCS) |
| * @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getStructuralFeatureCS_OwningClass() |
| * @see org.eclipse.ocl.xtext.basecs.StructuredClassCS#getOwnedProperties |
| * @model opposite="ownedProperties" transient="false" |
| * @generated |
| */ |
| StructuredClassCS getOwningClass(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.StructuralFeatureCS#getOwningClass <em>Owning Class</em>}' container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Owning Class</em>' container reference. |
| * @see #getOwningClass() |
| * @generated |
| */ |
| void setOwningClass(StructuredClassCS value); |
| |
| /** |
| * Returns the value of the '<em><b>Default</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Default</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Default</em>' attribute. |
| * @see #setDefault(String) |
| * @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getStructuralFeatureCS_Default() |
| * @model dataType="org.eclipse.ocl.pivot.String" |
| * @generated |
| */ |
| String getDefault(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.StructuralFeatureCS#getDefault <em>Default</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Default</em>' attribute. |
| * @see #getDefault() |
| * @generated |
| */ |
| void setDefault(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Owned Default Expressions</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.ocl.xtext.basecs.SpecificationCS}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Owned Default Expression</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 Default Expressions</em>' containment reference list. |
| * @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getStructuralFeatureCS_OwnedDefaultExpressions() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<SpecificationCS> getOwnedDefaultExpressions(); |
| } // StructuralFeatureCS |