/** * <copyright> * </copyright> * * $Id$ */ package com.hundsun.ares.studio.jres.model.database; import org.eclipse.emf.common.util.EList; import com.hundsun.ares.studio.core.model.ExtensibleModel; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Table Index</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link com.hundsun.ares.studio.jres.model.database.TableIndex#getName <em>Name</em>}</li> * <li>{@link com.hundsun.ares.studio.jres.model.database.TableIndex#isUnique <em>Unique</em>}</li> * <li>{@link com.hundsun.ares.studio.jres.model.database.TableIndex#isCluster <em>Cluster</em>}</li> * <li>{@link com.hundsun.ares.studio.jres.model.database.TableIndex#getColumns <em>Columns</em>}</li> * <li>{@link com.hundsun.ares.studio.jres.model.database.TableIndex#getMark <em>Mark</em>}</li> * </ul> * </p> * * @see com.hundsun.ares.studio.jres.model.database.DatabasePackage#getTableIndex() * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='name columns'" * @generated */ public interface TableIndex extends ExtensibleModel { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * The default value is <code>""</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>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>Name</em>' attribute. * @see #setName(String) * @see com.hundsun.ares.studio.jres.model.database.DatabasePackage#getTableIndex_Name() * @model default="" * @generated */ String getName(); /** * Sets the value of the '{@link com.hundsun.ares.studio.jres.model.database.TableIndex#getName <em>Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Name</em>' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the '<em><b>Unique</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Unique</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Unique</em>' attribute. * @see #setUnique(boolean) * @see com.hundsun.ares.studio.jres.model.database.DatabasePackage#getTableIndex_Unique() * @model * @generated */ boolean isUnique(); /** * Sets the value of the '{@link com.hundsun.ares.studio.jres.model.database.TableIndex#isUnique <em>Unique</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Unique</em>' attribute. * @see #isUnique() * @generated */ void setUnique(boolean value); /** * Returns the value of the '<em><b>Cluster</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Cluster</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Cluster</em>' attribute. * @see #setCluster(boolean) * @see com.hundsun.ares.studio.jres.model.database.DatabasePackage#getTableIndex_Cluster() * @model * @generated */ boolean isCluster(); /** * Sets the value of the '{@link com.hundsun.ares.studio.jres.model.database.TableIndex#isCluster <em>Cluster</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Cluster</em>' attribute. * @see #isCluster() * @generated */ void setCluster(boolean value); /** * Returns the value of the '<em><b>Columns</b></em>' containment reference list. * The list contents are of type {@link com.hundsun.ares.studio.jres.model.database.TableIndexColumn}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Columns</em>' reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Columns</em>' containment reference list. * @see com.hundsun.ares.studio.jres.model.database.DatabasePackage#getTableIndex_Columns() * @model containment="true" * @generated */ EList<TableIndexColumn> getColumns(); /** * Returns the value of the '<em><b>Mark</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Mark</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Mark</em>' attribute. * @see #setMark(String) * @see com.hundsun.ares.studio.jres.model.database.DatabasePackage#getTableIndex_Mark() * @model * @generated */ String getMark(); /** * Sets the value of the '{@link com.hundsun.ares.studio.jres.model.database.TableIndex#getMark <em>Mark</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Mark</em>' attribute. * @see #getMark() * @generated */ void setMark(String value); } // TableIndex