blob: e0e08f8fdfc8c47e4053b62e6417c4e2d9eee671 [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.basecs;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Typed Element CS</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.xtext.basecs.TypedElementCS#isIsOptional <em>Is Optional</em>}</li>
* <li>{@link org.eclipse.ocl.xtext.basecs.TypedElementCS#getOwnedType <em>Owned Type</em>}</li>
* <li>{@link org.eclipse.ocl.xtext.basecs.TypedElementCS#getQualifiers <em>Qualifiers</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getTypedElementCS()
* @model abstract="true"
* @generated
*/
public interface TypedElementCS extends NamedElementCS {
/**
* 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.basecs.BaseCSPackage#getTypedElementCS_OwnedType()
* @model containment="true"
* @generated
*/
TypedRefCS getOwnedType();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.TypedElementCS#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);
/**
* Returns the value of the '<em><b>Qualifiers</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Qualifier</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Qualifiers</em>' attribute list.
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getTypedElementCS_Qualifiers()
* @model dataType="org.eclipse.ocl.pivot.String"
* @generated
*/
EList<String> getQualifiers();
/**
* Returns the value of the '<em><b>Is Optional</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Optional</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Optional</em>' attribute.
* @see #setIsOptional(boolean)
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getTypedElementCS_IsOptional()
* @model dataType="org.eclipse.ocl.pivot.Boolean"
* @generated
*/
boolean isIsOptional();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.TypedElementCS#isIsOptional <em>Is Optional</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Optional</em>' attribute.
* @see #isIsOptional()
* @generated
*/
void setIsOptional(boolean value);
} // TypedElementCS