|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Table
A representation of the model object 'Table'.
The following features are supported:
DBGenPackage.getTable()
Method Summary | |
---|---|
Column |
addColumn(java.lang.String name,
ColumnType type)
|
Column |
addColumn(java.lang.String name,
ColumnType type,
int length)
|
Column |
addColumn(java.lang.String name,
ColumnType type,
int length,
java.lang.String constraint)
|
Column |
addColumn(java.lang.String name,
ColumnType type,
java.lang.String constraint)
|
Index |
addCompoundIndex(java.lang.String[] columnNames,
IndexType indexType)
|
Index |
addCompoundIndex(java.lang.String columnNames,
IndexType indexType)
|
Index |
addIndex(java.lang.String name,
IndexType type)
|
Index |
addSimpleIndex(java.lang.String columnName,
IndexType indexType)
|
Column |
getColumn(java.lang.String name)
|
org.eclipse.emf.common.util.EList |
getColumns()
Returns the value of the 'Columns' containment reference list. |
Database |
getDatabase()
Returns the value of the 'Database' container reference. |
Index |
getIndex(java.lang.String name)
|
org.eclipse.emf.common.util.EList |
getIndices()
Returns the value of the 'Indices' containment reference list. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute |
Index |
getPrimaryIndex()
|
void |
setDatabase(Database value)
Sets the value of the ' Database ' container reference |
void |
setName(java.lang.String value)
Sets the value of the ' Name ' attribute |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
java.lang.String getName()
If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
setName(String)
,
DBGenPackage.getTable_Name()
void setName(java.lang.String value)
Name
' attribute.
value
- the new value of the 'Name' attribute.getName()
Database getDatabase()
Tables
'.
If the meaning of the 'Database' container reference isn't clear, there really should be more of a description here...
setDatabase(Database)
,
DBGenPackage.getTable_Database()
,
Database.getTables()
void setDatabase(Database value)
Database
' container reference.
value
- the new value of the 'Database' container reference.getDatabase()
org.eclipse.emf.common.util.EList getColumns()
Column
.
It is bidirectional and its opposite is 'Table
'.
If the meaning of the 'Columns' containment reference list isn't clear, there really should be more of a description here...
DBGenPackage.getTable_Columns()
,
Column.getTable()
org.eclipse.emf.common.util.EList getIndices()
Index
.
It is bidirectional and its opposite is 'Table
'.
If the meaning of the 'Indices' containment reference list isn't clear, there really should be more of a description here...
DBGenPackage.getTable_Indices()
,
Index.getTable()
Index getPrimaryIndex()
Column getColumn(java.lang.String name)
Column addColumn(java.lang.String name, ColumnType type, int length, java.lang.String constraint)
Column addColumn(java.lang.String name, ColumnType type, java.lang.String constraint)
Column addColumn(java.lang.String name, ColumnType type, int length)
Column addColumn(java.lang.String name, ColumnType type)
Index getIndex(java.lang.String name)
Index addIndex(java.lang.String name, IndexType type)
Index addSimpleIndex(java.lang.String columnName, IndexType indexType)
Index addCompoundIndex(java.lang.String columnNames, IndexType indexType)
Index addCompoundIndex(java.lang.String[] columnNames, IndexType indexType)
|
Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |