/** * <copyright> * </copyright> * * $Id: Column.java,v 1.7 2008/04/11 23:42:49 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>Column</b></em>'. <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getName <em>Name</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#isUnique <em>Unique</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#isNullable <em>Nullable</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#isInsertable <em>Insertable</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#isUpdatable <em>Updatable</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getColumnDefinition <em>Column Definition</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getTable <em>Table</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getLength <em>Length</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getPrecision <em>Precision</em>}</li> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getScale <em>Scale</em>}</li> * </ul> * </p> * * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getColumn() * @model annotation="teneo/internal/Target 0='EStructuralFeature'" * annotation="http://www.eclipse.org/emf/2002/Ecore constraints='ScalePrecisionForNumeric LengthForString'" * @generated */ public interface Column 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#getColumn_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#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>Length</b></em>' attribute. * The default value is <code>"255"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Length</em>' attribute isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Length</em>' attribute. * @see #isSetLength() * @see #unsetLength() * @see #setLength(int) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getColumn_Length() * @model default="255" unsettable="true" * @generated */ int getLength(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getLength <em>Length</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Length</em>' attribute. * @see #isSetLength() * @see #unsetLength() * @see #getLength() * @generated */ void setLength(int value); /** * Unsets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getLength <em>Length</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @see #isSetLength() * @see #getLength() * @see #setLength(int) * @generated */ void unsetLength(); /** * Returns whether the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getLength <em>Length</em>}' attribute is set. * <!-- begin-user-doc --> <!-- end-user-doc --> * @return whether the value of the '<em>Length</em>' attribute is set. * @see #unsetLength() * @see #getLength() * @see #setLength(int) * @generated */ boolean isSetLength(); /** * Returns the value of the '<em><b>Scale</b></em>' attribute. The default value is <code>"0"</code>. <!-- * begin-user-doc --> * <p> * If the meaning of the '<em>Scale</em>' attribute isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> * * @return the value of the '<em>Scale</em>' attribute. * @see #isSetScale() * @see #unsetScale() * @see #setScale(int) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getColumn_Scale() * @model default="0" unsettable="true" * @generated */ int getScale(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getScale <em>Scale</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Scale</em>' attribute. * @see #isSetScale() * @see #unsetScale() * @see #getScale() * @generated */ void setScale(int value); /** * Unsets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getScale <em>Scale</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @see #isSetScale() * @see #getScale() * @see #setScale(int) * @generated */ void unsetScale(); /** * Returns whether the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getScale <em>Scale</em>}' attribute is set. * <!-- begin-user-doc --> <!-- end-user-doc --> * @return whether the value of the '<em>Scale</em>' attribute is set. * @see #unsetScale() * @see #getScale() * @see #setScale(int) * @generated */ boolean isSetScale(); /** * Returns the value of the '<em><b>Unique</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- 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 org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getColumn_Unique() * @model default="false" * @generated */ boolean isUnique(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#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>Precision</b></em>' attribute. * The default value is <code>"0"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Precision</em>' attribute isn't clear, there really should be more of a * description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Precision</em>' attribute. * @see #isSetPrecision() * @see #unsetPrecision() * @see #setPrecision(int) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getColumn_Precision() * @model default="0" unsettable="true" * @generated */ int getPrecision(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getPrecision <em>Precision</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Precision</em>' attribute. * @see #isSetPrecision() * @see #unsetPrecision() * @see #getPrecision() * @generated */ void setPrecision(int value); /** * Unsets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getPrecision <em>Precision</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @see #isSetPrecision() * @see #getPrecision() * @see #setPrecision(int) * @generated */ void unsetPrecision(); /** * Returns whether the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getPrecision <em>Precision</em>}' attribute is set. * <!-- begin-user-doc --> <!-- end-user-doc --> * @return whether the value of the '<em>Precision</em>' attribute is set. * @see #unsetPrecision() * @see #getPrecision() * @see #setPrecision(int) * @generated */ boolean isSetPrecision(); /** * Returns the value of the '<em><b>Nullable</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Nullable</em>' attribute isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Nullable</em>' attribute. * @see #isSetNullable() * @see #unsetNullable() * @see #setNullable(boolean) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getColumn_Nullable() * @model default="true" unsettable="true" * @generated */ boolean isNullable(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#isNullable <em>Nullable</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Nullable</em>' attribute. * @see #isSetNullable() * @see #unsetNullable() * @see #isNullable() * @generated */ void setNullable(boolean value); /** * Unsets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#isNullable <em>Nullable</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #isSetNullable() * @see #isNullable() * @see #setNullable(boolean) * @generated */ void unsetNullable(); /** * Returns whether the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#isNullable <em>Nullable</em>}' attribute is set. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return whether the value of the '<em>Nullable</em>' attribute is set. * @see #unsetNullable() * @see #isNullable() * @see #setNullable(boolean) * @generated */ boolean isSetNullable(); /** * Returns the value of the '<em><b>Insertable</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Insertable</em>' attribute isn't clear, there really should be more of a * description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Insertable</em>' attribute. * @see #setInsertable(boolean) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getColumn_Insertable() * @model default="true" * @generated */ boolean isInsertable(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#isInsertable <em>Insertable</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Insertable</em>' attribute. * @see #isInsertable() * @generated */ void setInsertable(boolean value); /** * Returns the value of the '<em><b>Updatable</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Updatable</em>' attribute isn't clear, there really should be more of a * description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Updatable</em>' attribute. * @see #setUpdatable(boolean) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getColumn_Updatable() * @model default="true" * @generated */ boolean isUpdatable(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#isUpdatable <em>Updatable</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Updatable</em>' attribute. * @see #isUpdatable() * @generated */ void setUpdatable(boolean value); /** * Returns the value of the '<em><b>Column Definition</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Column Definition</em>' attribute isn't clear, there really should be more of a * description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Column Definition</em>' attribute. * @see #setColumnDefinition(String) * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getColumn_ColumnDefinition() * @model * @generated */ String getColumnDefinition(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#getColumnDefinition <em>Column Definition</em>}' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @param value the new value of the '<em>Column Definition</em>' attribute. * @see #getColumnDefinition() * @generated */ void setColumnDefinition(String 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#getColumn_Table() * @model * @generated */ String getTable(); /** * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.Column#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); } // Column