org.eclipse.emf.cdo.dbgen
Interface Index

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
IndexImpl

public interface Index
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Index'.

The following features are supported:

See Also:
DBGenPackage.getIndex()

Method Summary
 Column addColumn(int index)
           
 Column addColumn(java.lang.String name)
           
 Column getColumn(java.lang.String name)
           
 org.eclipse.emf.common.util.EList getColumns()
          Returns the value of the 'Columns' reference list.
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 Table getTable()
          Returns the value of the 'Table' container reference.
 IndexType getType()
          Returns the value of the 'Type' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setTable(Table value)
          Sets the value of the 'Table' container reference
 void setType(IndexType value)
          Sets the value of the 'Type' 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

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), DBGenPackage.getIndex_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getTable

Table getTable()
Returns the value of the 'Table' container reference. It is bidirectional and its opposite is 'Indices'.

If the meaning of the 'Table' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Table' container reference.
See Also:
setTable(Table), DBGenPackage.getIndex_Table(), Table.getIndices()

setTable

void setTable(Table value)
Sets the value of the 'Table' container reference.

Parameters:
value - the new value of the 'Table' container reference.
See Also:
getTable()

getColumns

org.eclipse.emf.common.util.EList getColumns()
Returns the value of the 'Columns' reference list. The list contents are of type Column.

If the meaning of the 'Columns' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Columns' reference list.
See Also:
DBGenPackage.getIndex_Columns()

getType

IndexType getType()
Returns the value of the 'Type' attribute. The literals are from the enumeration IndexType.

If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' attribute.
See Also:
IndexType, setType(IndexType), DBGenPackage.getIndex_Type()

setType

void setType(IndexType value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
IndexType, getType()

getColumn

Column getColumn(java.lang.String name)


addColumn

Column addColumn(java.lang.String name)


addColumn

Column addColumn(int index)


Copyright (c) 2004, 2005, 2006 Eike Stepper, Germany.
All Rights Reserved.