diff options
Diffstat (limited to 'eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/Table.java')
-rwxr-xr-x | eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/Table.java | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/Table.java b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/Table.java new file mode 100755 index 000000000..70dc86eaf --- /dev/null +++ b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/Table.java @@ -0,0 +1,146 @@ +/** + * <copyright> + * </copyright> + * + * $Id: Table.java,v 1.2 2009/03/23 19:01:40 mtaal Exp $ + */ +package org.eclipse.emf.teneo.jpa.orm; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Table</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * + * + * @Target({TYPE}) @Retention(RUNTIME) + * public @interface Table { + * String name() default ""; + * String catalog() default ""; + * String schema() default ""; + * UniqueConstraint[] uniqueConstraints() default {}; + * } + * + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.teneo.jpa.orm.Table#getUniqueConstraint <em>Unique Constraint</em>}</li> + * <li>{@link org.eclipse.emf.teneo.jpa.orm.Table#getCatalog <em>Catalog</em>}</li> + * <li>{@link org.eclipse.emf.teneo.jpa.orm.Table#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.teneo.jpa.orm.Table#getSchema <em>Schema</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.teneo.jpa.orm.OrmPackage#getTable() + * @model extendedMetaData="name='table' kind='elementOnly'" + * @generated + */ +public interface Table extends EObject { + /** + * Returns the value of the '<em><b>Unique Constraint</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.emf.teneo.jpa.orm.UniqueConstraint}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unique Constraint</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 Constraint</em>' containment reference list. + * @see org.eclipse.emf.teneo.jpa.orm.OrmPackage#getTable_UniqueConstraint() + * @model containment="true" + * extendedMetaData="kind='element' name='unique-constraint' namespace='##targetNamespace'" + * @generated + */ + EList<UniqueConstraint> getUniqueConstraint(); + + /** + * 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.jpa.orm.OrmPackage#getTable_Catalog() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='catalog'" + * @generated + */ + String getCatalog(); + + /** + * Sets the value of the '{@link org.eclipse.emf.teneo.jpa.orm.Table#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>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.jpa.orm.OrmPackage#getTable_Name() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='name'" + * annotation="teneo.escape value='true'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.emf.teneo.jpa.orm.Table#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>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.jpa.orm.OrmPackage#getTable_Schema() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='schema'" + * @generated + */ + String getSchema(); + + /** + * Sets the value of the '{@link org.eclipse.emf.teneo.jpa.orm.Table#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); + +} // Table |