blob: e9811382343b79e6e6635d34ec03e71b4192daf4 [file] [log] [blame]
/**
* Copyright (c) 2013 CEA LIST
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* CEA LIST - Initial API and implementation
*
*/
package org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.uml2.uml.Classifier;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Include</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* An arbitrary string that is added to header and body file. Although primarily intended for manual include directives, it can be used for arbitrary definitions.
* "preBody" is added to a C++ body file before automatic include statements, "body" after
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getBody <em>Body</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getPreBody <em>Pre Body</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getHeader <em>Header</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getBase_package <em>Base package</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getBase_class <em>Base class</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getBase_Classifier <em>Base Classifier</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getInclude()
* @model
* @generated
*/
public interface Include extends EObject {
/**
* Returns the value of the '<em><b>Body</b></em>' attribute.
* The default value is <code>""</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Body</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Body</em>' attribute.
* @see #setBody(String)
* @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getInclude_Body()
* @model default="" dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getBody();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getBody <em>Body</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Body</em>' attribute.
* @see #getBody()
* @generated
*/
void setBody(String value);
/**
* Returns the value of the '<em><b>Pre Body</b></em>' attribute.
* The default value is <code>""</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Pre Body</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Pre Body</em>' attribute.
* @see #setPreBody(String)
* @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getInclude_PreBody()
* @model default="" dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getPreBody();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getPreBody <em>Pre Body</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Pre Body</em>' attribute.
* @see #getPreBody()
* @generated
*/
void setPreBody(String value);
/**
* Returns the value of the '<em><b>Header</b></em>' attribute.
* The default value is <code>""</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Header</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Header</em>' attribute.
* @see #setHeader(String)
* @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getInclude_Header()
* @model default="" dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getHeader();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getHeader <em>Header</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Header</em>' attribute.
* @see #getHeader()
* @generated
*/
void setHeader(String value);
/**
* Returns the value of the '<em><b>Base package</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base package</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base package</em>' reference.
* @see #setBase_package(org.eclipse.uml2.uml.Package)
* @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getInclude_Base_package()
* @model ordered="false"
* @generated
*/
org.eclipse.uml2.uml.Package getBase_package();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getBase_package <em>Base package</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base package</em>' reference.
* @see #getBase_package()
* @generated
*/
void setBase_package(org.eclipse.uml2.uml.Package value);
/**
* Returns the value of the '<em><b>Base class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base class</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base class</em>' reference.
* @see #setBase_class(org.eclipse.uml2.uml.Class)
* @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getInclude_Base_class()
* @model ordered="false"
* @generated
*/
org.eclipse.uml2.uml.Class getBase_class();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getBase_class <em>Base class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base class</em>' reference.
* @see #getBase_class()
* @generated
*/
void setBase_class(org.eclipse.uml2.uml.Class value);
/**
* Returns the value of the '<em><b>Base Classifier</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Classifier</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base Classifier</em>' reference.
* @see #setBase_Classifier(Classifier)
* @see org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.C_CppPackage#getInclude_Base_Classifier()
* @model ordered="false"
* @generated
*/
Classifier getBase_Classifier();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.cpp.profile.C_Cpp.Include#getBase_Classifier <em>Base Classifier</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Classifier</em>' reference.
* @see #getBase_Classifier()
* @generated
*/
void setBase_Classifier(Classifier value);
} // Include