| /**
|
| * *******************************************************************************
|
| * Copyright (c) 2009, 2019 Mia-Software 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:
|
| *
|
| * Sebastien Minguet (Mia-Software) - initial API and implementation
|
| * Frederic Madiot (Mia-Software) - initial API and implementation
|
| * Fabien Giquel (Mia-Software) - initial API and implementation
|
| * Gabriel Barbier (Mia-Software) - initial API and implementation
|
| * Erwan Breton (Sodifrance) - initial API and implementation
|
| * Romain Dervaux (Mia-Software) - initial API and implementation
|
| * *******************************************************************************
|
| *
|
| * $Id$
|
| */ |
| package org.eclipse.modisco.java;
|
|
|
| import org.eclipse.modisco.java.ASTNode;
|
| import org.eclipse.modisco.java.BodyDeclaration;
|
| import org.eclipse.modisco.java.InheritanceKind;
|
| import org.eclipse.modisco.java.SingleVariableDeclaration;
|
| import org.eclipse.modisco.java.VariableDeclarationExpression;
|
| import org.eclipse.modisco.java.VariableDeclarationStatement;
|
| import org.eclipse.modisco.java.VisibilityKind;
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * A representation of the model object '<em><b>Modifier</b></em>'.
|
| * <!-- end-user-doc -->
|
| *
|
| * <p>
|
| * The following features are supported:
|
| * <ul>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#getVisibility <em>Visibility</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#getInheritance <em>Inheritance</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#isStatic <em>Static</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#isTransient <em>Transient</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#isVolatile <em>Volatile</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#isNative <em>Native</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#isStrictfp <em>Strictfp</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#isSynchronized <em>Synchronized</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#getBodyDeclaration <em>Body Declaration</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#getSingleVariableDeclaration <em>Single Variable Declaration</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#getVariableDeclarationStatement <em>Variable Declaration Statement</em>}</li>
|
| * <li>{@link org.eclipse.modisco.java.Modifier#getVariableDeclarationExpression <em>Variable Declaration Expression</em>}</li>
|
| * </ul>
|
| * </p>
|
| *
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier()
|
| * @model
|
| * @generated
|
| */
|
| public interface Modifier extends ASTNode {
|
| /**
|
| * Returns the value of the '<em><b>Visibility</b></em>' attribute.
|
| * The literals are from the enumeration {@link org.eclipse.modisco.java.VisibilityKind}.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Visibility</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Visibility</em>' attribute.
|
| * @see org.eclipse.modisco.java.VisibilityKind
|
| * @see #setVisibility(VisibilityKind)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_Visibility()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| VisibilityKind getVisibility();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#getVisibility <em>Visibility</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Visibility</em>' attribute.
|
| * @see org.eclipse.modisco.java.VisibilityKind
|
| * @see #getVisibility()
|
| * @generated
|
| */
|
| void setVisibility(VisibilityKind value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Inheritance</b></em>' attribute.
|
| * The literals are from the enumeration {@link org.eclipse.modisco.java.InheritanceKind}.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Inheritance</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Inheritance</em>' attribute.
|
| * @see org.eclipse.modisco.java.InheritanceKind
|
| * @see #setInheritance(InheritanceKind)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_Inheritance()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| InheritanceKind getInheritance();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#getInheritance <em>Inheritance</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Inheritance</em>' attribute.
|
| * @see org.eclipse.modisco.java.InheritanceKind
|
| * @see #getInheritance()
|
| * @generated
|
| */
|
| void setInheritance(InheritanceKind value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Static</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Static</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Static</em>' attribute.
|
| * @see #setStatic(boolean)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_Static()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| boolean isStatic();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#isStatic <em>Static</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Static</em>' attribute.
|
| * @see #isStatic()
|
| * @generated
|
| */
|
| void setStatic(boolean value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Transient</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Transient</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Transient</em>' attribute.
|
| * @see #setTransient(boolean)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_Transient()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| boolean isTransient();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#isTransient <em>Transient</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Transient</em>' attribute.
|
| * @see #isTransient()
|
| * @generated
|
| */
|
| void setTransient(boolean value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Volatile</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Volatile</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Volatile</em>' attribute.
|
| * @see #setVolatile(boolean)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_Volatile()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| boolean isVolatile();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#isVolatile <em>Volatile</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Volatile</em>' attribute.
|
| * @see #isVolatile()
|
| * @generated
|
| */
|
| void setVolatile(boolean value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Native</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Native</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Native</em>' attribute.
|
| * @see #setNative(boolean)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_Native()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| boolean isNative();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#isNative <em>Native</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Native</em>' attribute.
|
| * @see #isNative()
|
| * @generated
|
| */
|
| void setNative(boolean value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Strictfp</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Strictfp</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Strictfp</em>' attribute.
|
| * @see #setStrictfp(boolean)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_Strictfp()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| boolean isStrictfp();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#isStrictfp <em>Strictfp</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Strictfp</em>' attribute.
|
| * @see #isStrictfp()
|
| * @generated
|
| */
|
| void setStrictfp(boolean value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Synchronized</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Synchronized</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Synchronized</em>' attribute.
|
| * @see #setSynchronized(boolean)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_Synchronized()
|
| * @model unique="false" required="true" ordered="false"
|
| * @generated
|
| */
|
| boolean isSynchronized();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#isSynchronized <em>Synchronized</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Synchronized</em>' attribute.
|
| * @see #isSynchronized()
|
| * @generated
|
| */
|
| void setSynchronized(boolean value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Body Declaration</b></em>' container reference.
|
| * It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.BodyDeclaration#getModifier <em>Modifier</em>}'.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Body Declaration</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>Body Declaration</em>' container reference.
|
| * @see #setBodyDeclaration(BodyDeclaration)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_BodyDeclaration()
|
| * @see org.eclipse.modisco.java.BodyDeclaration#getModifier
|
| * @model opposite="modifier" transient="false" ordered="false"
|
| * @generated
|
| */
|
| BodyDeclaration getBodyDeclaration();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#getBodyDeclaration <em>Body Declaration</em>}' container reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Body Declaration</em>' container reference.
|
| * @see #getBodyDeclaration()
|
| * @generated
|
| */
|
| void setBodyDeclaration(BodyDeclaration value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Single Variable Declaration</b></em>' container reference.
|
| * It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.SingleVariableDeclaration#getModifier <em>Modifier</em>}'.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Single Variable Declaration</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>Single Variable Declaration</em>' container reference.
|
| * @see #setSingleVariableDeclaration(SingleVariableDeclaration)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_SingleVariableDeclaration()
|
| * @see org.eclipse.modisco.java.SingleVariableDeclaration#getModifier
|
| * @model opposite="modifier" transient="false" ordered="false"
|
| * @generated
|
| */
|
| SingleVariableDeclaration getSingleVariableDeclaration();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#getSingleVariableDeclaration <em>Single Variable Declaration</em>}' container reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Single Variable Declaration</em>' container reference.
|
| * @see #getSingleVariableDeclaration()
|
| * @generated
|
| */
|
| void setSingleVariableDeclaration(SingleVariableDeclaration value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Variable Declaration Statement</b></em>' container reference.
|
| * It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.VariableDeclarationStatement#getModifier <em>Modifier</em>}'.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Variable Declaration Statement</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>Variable Declaration Statement</em>' container reference.
|
| * @see #setVariableDeclarationStatement(VariableDeclarationStatement)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_VariableDeclarationStatement()
|
| * @see org.eclipse.modisco.java.VariableDeclarationStatement#getModifier
|
| * @model opposite="modifier" transient="false" ordered="false"
|
| * @generated
|
| */
|
| VariableDeclarationStatement getVariableDeclarationStatement();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#getVariableDeclarationStatement <em>Variable Declaration Statement</em>}' container reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Variable Declaration Statement</em>' container reference.
|
| * @see #getVariableDeclarationStatement()
|
| * @generated
|
| */
|
| void setVariableDeclarationStatement(VariableDeclarationStatement value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Variable Declaration Expression</b></em>' container reference.
|
| * It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.VariableDeclarationExpression#getModifier <em>Modifier</em>}'.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Variable Declaration Expression</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>Variable Declaration Expression</em>' container reference.
|
| * @see #setVariableDeclarationExpression(VariableDeclarationExpression)
|
| * @see org.eclipse.modisco.java.emf.JavaPackage#getModifier_VariableDeclarationExpression()
|
| * @see org.eclipse.modisco.java.VariableDeclarationExpression#getModifier
|
| * @model opposite="modifier" transient="false" ordered="false"
|
| * @generated
|
| */
|
| VariableDeclarationExpression getVariableDeclarationExpression();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.java.Modifier#getVariableDeclarationExpression <em>Variable Declaration Expression</em>}' container reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Variable Declaration Expression</em>' container reference.
|
| * @see #getVariableDeclarationExpression()
|
| * @generated
|
| */
|
| void setVariableDeclarationExpression(VariableDeclarationExpression value);
|
|
|
| } // Modifier
|