blob: 00f82bc2f67d8dee7bb7969eb243e9bca6935767 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 NumberFour AG
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* NumberFour AG - initial API and Implementation (Alex Panchenko)
*******************************************************************************/
package org.eclipse.dltk.javascript.typeinfo.model;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Typed Element</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.dltk.javascript.typeinfo.model.TypedElement#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.dltk.javascript.typeinfo.model.TypedElement#getDirectType <em>Direct Type</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getTypedElement()
* @model interface="true" abstract="true"
* @generated
*/
public interface TypedElement extends EObject {
/**
* Returns the value of the '<em><b>Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' 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(JSType)
* @see org.eclipse.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getTypedElement_Type()
* @model containment="true"
* @generated
*/
JSType getType();
/**
* Sets the value of the '{@link org.eclipse.dltk.javascript.typeinfo.model.TypedElement#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(JSType value);
/**
* Returns the value of the '<em><b>Direct Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Direct Type</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Direct Type</em>' reference.
* @see #setDirectType(Type)
* @see org.eclipse.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getTypedElement_DirectType()
* @model resolveProxies="false" transient="true" volatile="true" derived="true"
* @generated
*/
Type getDirectType();
/**
* Sets the value of the '{@link org.eclipse.dltk.javascript.typeinfo.model.TypedElement#getDirectType <em>Direct Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Direct Type</em>' reference.
* @see #getDirectType()
* @generated
*/
void setDirectType(Type value);
} // TypedElement