blob: fabf707b06b39c5c8268e1b6b1be2d485e127f08 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2015 Willink Transformations 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
*
* Contributors:
* E.D.Willink - initial API and implementation
*******************************************************************************/
/**
*/
package manualuml2rdbms.rdbms;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Column</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link manualuml2rdbms.rdbms.Column#getOwner <em>Owner</em>}</li>
* <li>{@link manualuml2rdbms.rdbms.Column#getType <em>Type</em>}</li>
* <li>{@link manualuml2rdbms.rdbms.Column#getForeignKeys <em>Foreign Keys</em>}</li>
* <li>{@link manualuml2rdbms.rdbms.Column#getKey <em>Key</em>}</li>
* </ul>
*
* @see manualuml2rdbms.rdbms.RDBMSPackage#getColumn()
* @model
* @generated
*/
public interface Column extends RModelElement {
/**
* Returns the value of the '<em><b>Owner</b></em>' container reference.
* It is bidirectional and its opposite is '{@link manualuml2rdbms.rdbms.Table#getColumn <em>Column</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owner</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>Owner</em>' container reference.
* @see #setOwner(Table)
* @see manualuml2rdbms.rdbms.RDBMSPackage#getColumn_Owner()
* @see manualuml2rdbms.rdbms.Table#getColumn
* @model opposite="column" required="true" transient="false"
* @generated
*/
Table getOwner();
/**
* Sets the value of the '{@link manualuml2rdbms.rdbms.Column#getOwner <em>Owner</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Owner</em>' container reference.
* @see #getOwner()
* @generated
*/
void setOwner(Table 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 manualuml2rdbms.rdbms.RDBMSPackage#getColumn_Type()
* @model
* @generated
*/
String getType();
/**
* Sets the value of the '{@link manualuml2rdbms.rdbms.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>Foreign Keys</b></em>' reference list.
* The list contents are of type {@link manualuml2rdbms.rdbms.ForeignKey}.
* It is bidirectional and its opposite is '{@link manualuml2rdbms.rdbms.ForeignKey#getColumn <em>Column</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Foreign Keys</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>Foreign Keys</em>' reference list.
* @see manualuml2rdbms.rdbms.RDBMSPackage#getColumn_ForeignKeys()
* @see manualuml2rdbms.rdbms.ForeignKey#getColumn
* @model opposite="column"
* @generated
*/
EList<ForeignKey> getForeignKeys();
/**
* Returns the value of the '<em><b>Key</b></em>' reference list.
* The list contents are of type {@link manualuml2rdbms.rdbms.Key}.
* It is bidirectional and its opposite is '{@link manualuml2rdbms.rdbms.Key#getColumn <em>Column</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Key</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>Key</em>' reference list.
* @see manualuml2rdbms.rdbms.RDBMSPackage#getColumn_Key()
* @see manualuml2rdbms.rdbms.Key#getColumn
* @model opposite="column"
* @generated
*/
EList<Key> getKey();
} // Column