/** * <copyright> * </copyright> * * $Id: TableGenerator.java,v 1.6 2007/07/04 19:28:01 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>Table Generator</b></em>'. <!-- * end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getName <em>Name</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getTable <em>Table</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getCatalog <em>Catalog</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getSchema <em>Schema</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getPkColumnName <em>Pk Column Name</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getValueColumnName <em>Value Column Name</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getPkColumnValue <em>Pk Column Value</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getInitialValue <em>Initial Value</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getAllocationSize <em>Allocation Size</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getUniqueConstraints <em>Unique Constraints</em>}</li> * </ul> * </p> * * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator() * @model annotation="teneo/internal/Target 0='EClass' 1='EStructuralFeature' 2='EPackage'" * @generated */ public interface TableGenerator extends PAnnotation { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- 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 org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_Name() * @model required="true" * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#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>Allocation Size</b></em>' attribute. * The default value is <code>"50"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Allocation Size</em>' attribute isn't clear, there really should be more of a * description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Allocation Size</em>' attribute. * @see #setAllocationSize(int) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_AllocationSize() * @model default="50" * @generated */ int getAllocationSize(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getAllocationSize <em>Allocation Size</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Allocation Size</em>' attribute. * @see #getAllocationSize() * @generated */ void setAllocationSize(int value); /** * Returns the value of the '<em><b>Table</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Table</em>' attribute isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Table</em>' attribute. * @see #setTable(String) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_Table() * @model * @generated */ String getTable(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getTable <em>Table</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Table</em>' attribute. * @see #getTable() * @generated */ void setTable(String value); /** * Returns the value of the '<em><b>Catalog</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Catalog</em>' attribute isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Catalog</em>' attribute. * @see #setCatalog(String) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_Catalog() * @model * @generated */ String getCatalog(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getCatalog <em>Catalog</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Catalog</em>' attribute. * @see #getCatalog() * @generated */ void setCatalog(String value); /** * Returns the value of the '<em><b>Schema</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Schema</em>' attribute isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Schema</em>' attribute. * @see #setSchema(String) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_Schema() * @model * @generated */ String getSchema(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getSchema <em>Schema</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Schema</em>' attribute. * @see #getSchema() * @generated */ void setSchema(String value); /** * Returns the value of the '<em><b>Pk Column Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Pk Column 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>Pk Column Name</em>' attribute. * @see #setPkColumnName(String) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_PkColumnName() * @model * @generated */ String getPkColumnName(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getPkColumnName <em>Pk Column Name</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Pk Column Name</em>' attribute. * @see #getPkColumnName() * @generated */ void setPkColumnName(String value); /** * Returns the value of the '<em><b>Value Column Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Value Column 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>Value Column Name</em>' attribute. * @see #setValueColumnName(String) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_ValueColumnName() * @model * @generated */ String getValueColumnName(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getValueColumnName <em>Value Column Name</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Value Column Name</em>' attribute. * @see #getValueColumnName() * @generated */ void setValueColumnName(String value); /** * Returns the value of the '<em><b>Initial Value</b></em>' attribute. * The default value is <code>"0"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Initial Value</em>' attribute isn't clear, there really should be more of a * description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Initial Value</em>' attribute. * @see #isSetInitialValue() * @see #unsetInitialValue() * @see #setInitialValue(int) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_InitialValue() * @model default="0" unsettable="true" * @generated */ int getInitialValue(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getInitialValue <em>Initial Value</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Initial Value</em>' attribute. * @see #isSetInitialValue() * @see #unsetInitialValue() * @see #getInitialValue() * @generated */ void setInitialValue(int value); /** * Unsets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getInitialValue <em>Initial Value</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @see #isSetInitialValue() * @see #getInitialValue() * @see #setInitialValue(int) * @generated */ void unsetInitialValue(); /** * Returns whether the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getInitialValue <em>Initial Value</em>}' attribute is set. * <!-- begin-user-doc --> <!-- end-user-doc --> * @return whether the value of the '<em>Initial Value</em>' attribute is set. * @see #unsetInitialValue() * @see #getInitialValue() * @see #setInitialValue(int) * @generated */ boolean isSetInitialValue(); /** * Returns the value of the '<em><b>Pk Column Value</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Pk Column Value</em>' attribute isn't clear, there really should be more of a * description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Pk Column Value</em>' attribute. * @see #setPkColumnValue(String) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_PkColumnValue() * @model * @generated */ String getPkColumnValue(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.TableGenerator#getPkColumnValue <em>Pk Column Value</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Pk Column Value</em>' attribute. * @see #getPkColumnValue() * @generated */ void setPkColumnValue(String value); /** * Returns the value of the '<em><b>Unique Constraints</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.teneo.annotations.pannotation.UniqueConstraint}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Unique Constraints</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>Unique Constraints</em>' containment reference list. * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getTableGenerator_UniqueConstraints() * @model containment="true" * @generated */ EList<UniqueConstraint> getUniqueConstraints(); } // TableGenerator