blob: ca3fd32d41157e18170f5ca3fc1cebf058cd9fd5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2016 CEA LIST and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* CEA LIST - initial API and implementation
*
*
*******************************************************************************/
/**
*/
package org.eclipse.papyrus.designer.languages.java.profile.java;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.uml2.uml.Classifier;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Class</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#getBase_Classifier <em>Base Classifier</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#isFinal <em>Is Final</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#isAbstract <em>Is Abstract</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#isStatic <em>Is Static</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#getExplicitPlainTextRequiredImports <em>Explicit Plain Text Required Imports</em>}</li>
* <li>{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#getExplicitRequiredImports <em>Explicit Required Imports</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.designer.languages.java.profile.java.JavaPackage#getJavaClass()
* @model
* @generated
*/
public interface JavaClass extends JavaGen {
/**
* 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.java.profile.java.JavaPackage#getJavaClass_Base_Classifier()
* @model required="true" ordered="false"
* @generated
*/
Classifier getBase_Classifier();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#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);
/**
* Returns the value of the '<em><b>Is Final</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Final</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 Final</em>' attribute.
* @see #setIsFinal(boolean)
* @see org.eclipse.papyrus.designer.languages.java.profile.java.JavaPackage#getJavaClass_IsFinal()
* @model unique="false" required="true" ordered="false"
* @generated
*/
boolean isFinal();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#isFinal <em>Is Final</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Final</em>' attribute.
* @see #isFinal()
* @generated
*/
void setIsFinal(boolean value);
/**
* Returns the value of the '<em><b>Is Abstract</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Abstract</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 Abstract</em>' attribute.
* @see #setIsAbstract(boolean)
* @see org.eclipse.papyrus.designer.languages.java.profile.java.JavaPackage#getJavaClass_IsAbstract()
* @model unique="false" required="true" ordered="false"
* @generated
*/
boolean isAbstract();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#isAbstract <em>Is Abstract</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Abstract</em>' attribute.
* @see #isAbstract()
* @generated
*/
void setIsAbstract(boolean value);
/**
* Returns the value of the '<em><b>Is Static</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is 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>Is Static</em>' attribute.
* @see #setIsStatic(boolean)
* @see org.eclipse.papyrus.designer.languages.java.profile.java.JavaPackage#getJavaClass_IsStatic()
* @model unique="false" required="true" ordered="false"
* @generated
*/
boolean isStatic();
/**
* Sets the value of the '{@link org.eclipse.papyrus.designer.languages.java.profile.java.JavaClass#isStatic <em>Is Static</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Static</em>' attribute.
* @see #isStatic()
* @generated
*/
void setIsStatic(boolean value);
/**
* Returns the value of the '<em><b>Explicit Plain Text Required Imports</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Explicit Plain Text Required Imports</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>Explicit Plain Text Required Imports</em>' attribute list.
* @see org.eclipse.papyrus.designer.languages.java.profile.java.JavaPackage#getJavaClass_ExplicitPlainTextRequiredImports()
* @model unique="false" ordered="false"
* @generated
*/
EList<String> getExplicitPlainTextRequiredImports();
/**
* Returns the value of the '<em><b>Explicit Required Imports</b></em>' reference list.
* The list contents are of type {@link org.eclipse.uml2.uml.Classifier}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Explicit Required Imports</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Explicit Required Imports</em>' reference list.
* @see org.eclipse.papyrus.designer.languages.java.profile.java.JavaPackage#getJavaClass_ExplicitRequiredImports()
* @model ordered="false"
* @generated
*/
EList<Classifier> getExplicitRequiredImports();
/**
* Retrieves the first {@link org.eclipse.uml2.uml.Classifier} with the specified '<em><b>Name</b></em>' from the '<em><b>Explicit Required Imports</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Classifier} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.Classifier} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getExplicitRequiredImports()
* @generated
*/
Classifier getExplicitRequiredImports(String name);
/**
* Retrieves the first {@link org.eclipse.uml2.uml.Classifier} with the specified '<em><b>Name</b></em>' from the '<em><b>Explicit Required Imports</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Classifier} to retrieve, or <code>null</code>.
* @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons.
* @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Classifier} to retrieve, or <code>null</code>.
* @return The first {@link org.eclipse.uml2.uml.Classifier} with the specified '<em><b>Name</b></em>', or <code>null</code>.
* @see #getExplicitRequiredImports()
* @generated
*/
Classifier getExplicitRequiredImports(String name, boolean ignoreCase, EClass eClass);
} // JavaClass