blob: 486a8993616148a8b8c2208d1ddd87f089196a8a [file] [log] [blame]
/**
* Copyright (c) 2010 xored software, Inc.
*
* 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:
* xored software, Inc. - initial API and Implementation (Alex Panchenko)
*
* $Id: Member.java,v 1.9 2011/05/17 14:58:27 apanchenk Exp $
*/
package org.eclipse.dltk.javascript.typeinfo.model;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Member</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.dltk.javascript.typeinfo.model.Member#isStatic <em>Static</em>}</li>
* <li>{@link org.eclipse.dltk.javascript.typeinfo.model.Member#getDeclaringType <em>Declaring Type</em>}</li>
* <li>{@link org.eclipse.dltk.javascript.typeinfo.model.Member#getVisibility <em>Visibility</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getMember()
* @model abstract="true"
* @generated
*/
public interface Member extends Element, TypedElement {
/**
* 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.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getMember_Static()
* @model
* @generated
*/
boolean isStatic();
/**
* Sets the value of the '{@link org.eclipse.dltk.javascript.typeinfo.model.Member#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>Declaring Type</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.dltk.javascript.typeinfo.model.Type#getMembers <em>Members</em>}'.
* <!-- begin-model-doc -->
* The type in which this member is declared.
* <!-- end-model-doc -->
* @return the value of the '<em>Declaring Type</em>' container reference.
* @see org.eclipse.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getMember_DeclaringType()
* @see org.eclipse.dltk.javascript.typeinfo.model.Type#getMembers
* @model opposite="members" transient="false" changeable="false"
* @generated
*/
Type getDeclaringType();
/**
* Returns the value of the '<em><b>Visibility</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.dltk.javascript.typeinfo.model.Visibility}.
* <!-- 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.dltk.javascript.typeinfo.model.Visibility
* @see #setVisibility(Visibility)
* @see org.eclipse.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getMember_Visibility()
* @model
* @generated
*/
Visibility getVisibility();
/**
* Sets the value of the '{@link org.eclipse.dltk.javascript.typeinfo.model.Member#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.dltk.javascript.typeinfo.model.Visibility
* @see #getVisibility()
* @generated
*/
void setVisibility(Visibility value);
} // Member