/******************************************************************************* * Copyright (c) 2013 hangum. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: * hangum - initial API and implementation ******************************************************************************/ /** */ package com.hangum.tadpole.rdb.model; import org.eclipse.emf.ecore.EObject; /** * <!-- 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 com.hangum.tadpole.rdb.model.Column#getField <em>Field</em>}</li> * <li>{@link com.hangum.tadpole.rdb.model.Column#getType <em>Type</em>}</li> * <li>{@link com.hangum.tadpole.rdb.model.Column#getNull <em>Null</em>}</li> * <li>{@link com.hangum.tadpole.rdb.model.Column#getDefault <em>Default</em>}</li> * <li>{@link com.hangum.tadpole.rdb.model.Column#getExtra <em>Extra</em>}</li> * <li>{@link com.hangum.tadpole.rdb.model.Column#getTable <em>Table</em>}</li> * <li>{@link com.hangum.tadpole.rdb.model.Column#getLogicalField <em>Logical Field</em>}</li> * <li>{@link com.hangum.tadpole.rdb.model.Column#getKey <em>Key</em>}</li> * <li>{@link com.hangum.tadpole.rdb.model.Column#getComment <em>Comment</em>}</li> * </ul> * </p> * * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn() * @model * @generated */ public interface Column extends EObject { /** * Returns the value of the '<em><b>Field</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Field</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Field</em>' attribute. * @see #setField(String) * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn_Field() * @model * @generated */ String getField(); /** * Sets the value of the '{@link com.hangum.tadpole.rdb.model.Column#getField <em>Field</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Field</em>' attribute. * @see #getField() * @generated */ void setField(String value); /** * Returns the value of the '<em><b>Type</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Type</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</em>' attribute. * @see #setType(String) * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn_Type() * @model * @generated */ String getType(); /** * Sets the value of the '{@link com.hangum.tadpole.rdb.model.Column#getType <em>Type</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Type</em>' attribute. * @see #getType() * @generated */ void setType(String value); /** * Returns the value of the '<em><b>Null</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Null</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Null</em>' attribute. * @see #setNull(String) * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn_Null() * @model * @generated */ String getNull(); /** * Sets the value of the '{@link com.hangum.tadpole.rdb.model.Column#getNull <em>Null</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Null</em>' attribute. * @see #getNull() * @generated */ void setNull(String value); /** * Returns the value of the '<em><b>Default</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Default</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Default</em>' attribute. * @see #setDefault(String) * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn_Default() * @model * @generated */ String getDefault(); /** * Sets the value of the '{@link com.hangum.tadpole.rdb.model.Column#getDefault <em>Default</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Default</em>' attribute. * @see #getDefault() * @generated */ void setDefault(String value); /** * Returns the value of the '<em><b>Extra</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Extra</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Extra</em>' attribute. * @see #setExtra(String) * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn_Extra() * @model * @generated */ String getExtra(); /** * Sets the value of the '{@link com.hangum.tadpole.rdb.model.Column#getExtra <em>Extra</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Extra</em>' attribute. * @see #getExtra() * @generated */ void setExtra(String value); /** * Returns the value of the '<em><b>Table</b></em>' container reference. * It is bidirectional and its opposite is '{@link com.hangum.tadpole.rdb.model.Table#getColumns <em>Columns</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Table</em>' container reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Table</em>' container reference. * @see #setTable(Table) * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn_Table() * @see com.hangum.tadpole.rdb.model.Table#getColumns * @model opposite="columns" required="true" transient="false" * @generated */ Table getTable(); /** * Sets the value of the '{@link com.hangum.tadpole.rdb.model.Column#getTable <em>Table</em>}' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Table</em>' container reference. * @see #getTable() * @generated */ void setTable(Table value); /** * Returns the value of the '<em><b>Logical Field</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Logical Field</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Logical Field</em>' attribute. * @see #setLogicalField(String) * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn_LogicalField() * @model * @generated */ String getLogicalField(); /** * Sets the value of the '{@link com.hangum.tadpole.rdb.model.Column#getLogicalField <em>Logical Field</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Logical Field</em>' attribute. * @see #getLogicalField() * @generated */ void setLogicalField(String value); /** * Returns the value of the '<em><b>Key</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Key</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Key</em>' attribute. * @see #setKey(String) * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn_Key() * @model * @generated */ String getKey(); /** * Sets the value of the '{@link com.hangum.tadpole.rdb.model.Column#getKey <em>Key</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Key</em>' attribute. * @see #getKey() * @generated */ void setKey(String value); /** * Returns the value of the '<em><b>Comment</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Comment</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Comment</em>' attribute. * @see #setComment(String) * @see com.hangum.tadpole.rdb.model.RdbPackage#getColumn_Comment() * @model * @generated */ String getComment(); /** * Sets the value of the '{@link com.hangum.tadpole.rdb.model.Column#getComment <em>Comment</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Comment</em>' attribute. * @see #getComment() * @generated */ void setComment(String value); } // Column