/** * Copyright (c) 2011-2012 Eclipse contributors 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 */ package org.eclipse.emf.ecore.xcore; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>XClass</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.emf.ecore.xcore.XClass#isAbstract <em>Abstract</em>}</li> * <li>{@link org.eclipse.emf.ecore.xcore.XClass#isInterface <em>Interface</em>}</li> * <li>{@link org.eclipse.emf.ecore.xcore.XClass#getMembers <em>Members</em>}</li> * <li>{@link org.eclipse.emf.ecore.xcore.XClass#getSuperTypes <em>Super Types</em>}</li> * </ul> * </p> * * @see org.eclipse.emf.ecore.xcore.XcorePackage#getXClass() * @model * @generated */ public interface XClass extends XClassifier { /** * Returns the value of the '<em><b>Abstract</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>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>Abstract</em>' attribute. * @see #setAbstract(boolean) * @see org.eclipse.emf.ecore.xcore.XcorePackage#getXClass_Abstract() * @model * @generated */ boolean isAbstract(); /** * Sets the value of the '{@link org.eclipse.emf.ecore.xcore.XClass#isAbstract <em>Abstract</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Abstract</em>' attribute. * @see #isAbstract() * @generated */ void setAbstract(boolean value); /** * Returns the value of the '<em><b>Interface</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Interface</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Interface</em>' attribute. * @see #setInterface(boolean) * @see org.eclipse.emf.ecore.xcore.XcorePackage#getXClass_Interface() * @model * @generated */ boolean isInterface(); /** * Sets the value of the '{@link org.eclipse.emf.ecore.xcore.XClass#isInterface <em>Interface</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Interface</em>' attribute. * @see #isInterface() * @generated */ void setInterface(boolean value); /** * Returns the value of the '<em><b>Members</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.ecore.xcore.XMember}. * It is bidirectional and its opposite is '{@link org.eclipse.emf.ecore.xcore.XMember#getContainingClass <em>Containing Class</em>}'. * <!-- 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.emf.ecore.xcore.XcorePackage#getXClass_Members() * @see org.eclipse.emf.ecore.xcore.XMember#getContainingClass * @model opposite="containingClass" containment="true" * @generated */ EList<XMember> getMembers(); /** * Returns the value of the '<em><b>Super Types</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.ecore.xcore.XGenericType}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Super Types</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>Super Types</em>' containment reference list. * @see org.eclipse.emf.ecore.xcore.XcorePackage#getXClass_SuperTypes() * @model containment="true" unsettable="true" suppressedIsSetVisibility="true" suppressedUnsetVisibility="true" * @generated */ EList<XGenericType> getSuperTypes(); } // XClass