blob: 54ea1a7f649c8ab141853b77406d4e1306cb1733 [file] [log] [blame]
/**
* *******************************************************************************
* 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.AbstractMethodInvocation;
import org.eclipse.modisco.java.AnonymousClassDeclaration;
import org.eclipse.modisco.java.Expression;
import org.eclipse.modisco.java.TypeAccess;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Class Instance Creation</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.java.ClassInstanceCreation#getAnonymousClassDeclaration <em>Anonymous Class Declaration</em>}</li>
* <li>{@link org.eclipse.modisco.java.ClassInstanceCreation#getExpression <em>Expression</em>}</li>
* <li>{@link org.eclipse.modisco.java.ClassInstanceCreation#getType <em>Type</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.java.emf.JavaPackage#getClassInstanceCreation()
* @model
* @generated
*/
public interface ClassInstanceCreation extends Expression, AbstractMethodInvocation {
/**
* Returns the value of the '<em><b>Anonymous Class Declaration</b></em>' containment reference.
* It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.AnonymousClassDeclaration#getClassInstanceCreation <em>Class Instance Creation</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Anonymous Class Declaration</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>Anonymous Class Declaration</em>' containment reference.
* @see #setAnonymousClassDeclaration(AnonymousClassDeclaration)
* @see org.eclipse.modisco.java.emf.JavaPackage#getClassInstanceCreation_AnonymousClassDeclaration()
* @see org.eclipse.modisco.java.AnonymousClassDeclaration#getClassInstanceCreation
* @model opposite="classInstanceCreation" containment="true" ordered="false"
* @generated
*/
AnonymousClassDeclaration getAnonymousClassDeclaration();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.ClassInstanceCreation#getAnonymousClassDeclaration <em>Anonymous Class Declaration</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Anonymous Class Declaration</em>' containment reference.
* @see #getAnonymousClassDeclaration()
* @generated
*/
void setAnonymousClassDeclaration(AnonymousClassDeclaration value);
/**
* Returns the value of the '<em><b>Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Expression</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>Expression</em>' containment reference.
* @see #setExpression(Expression)
* @see org.eclipse.modisco.java.emf.JavaPackage#getClassInstanceCreation_Expression()
* @model containment="true" ordered="false"
* @generated
*/
Expression getExpression();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.ClassInstanceCreation#getExpression <em>Expression</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Expression</em>' containment reference.
* @see #getExpression()
* @generated
*/
void setExpression(Expression value);
/**
* Returns the value of the '<em><b>Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Type</em>' containment reference.
* @see #setType(TypeAccess)
* @see org.eclipse.modisco.java.emf.JavaPackage#getClassInstanceCreation_Type()
* @model containment="true" required="true" ordered="false"
* @generated
*/
TypeAccess getType();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.ClassInstanceCreation#getType <em>Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' containment reference.
* @see #getType()
* @generated
*/
void setType(TypeAccess value);
} // ClassInstanceCreation