blob: fe01233b38ddc405301b449bc72dff550d57dc04 [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.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Record Type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.dltk.javascript.typeinfo.model.RecordType#getMembers <em>Members</em>}</li>
* <li>{@link org.eclipse.dltk.javascript.typeinfo.model.RecordType#getTypeName <em>Type Name</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getRecordType()
* @model
* @generated
*/
public interface RecordType extends JSType {
/**
* Returns the value of the '<em><b>Members</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.dltk.javascript.typeinfo.model.Member}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Members</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Members</em>' containment reference list.
* @see org.eclipse.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getRecordType_Members()
* @model containment="true"
* @generated
*/
EList<Member> getMembers();
/**
* Returns the value of the '<em><b>Type Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type Name</em>' attribute.
* @see #setTypeName(String)
* @see org.eclipse.dltk.javascript.typeinfo.model.TypeInfoModelPackage#getRecordType_TypeName()
* @model
* @generated
*/
String getTypeName();
/**
* Sets the value of the '{@link org.eclipse.dltk.javascript.typeinfo.model.RecordType#getTypeName <em>Type Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type Name</em>' attribute.
* @see #getTypeName()
* @generated
*/
void setTypeName(String value);
} // RecordType