org.eclipse.emf.cdo.dbgen
Interface Database

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

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

A representation of the model object 'Database'.

The following features are supported:

See Also:
DBGenPackage.getDatabase()

Method Summary
 Table addTable(java.lang.String name)
           
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 Table getTable(java.lang.String name)
           
 org.eclipse.emf.common.util.EList getTables()
          Returns the value of the 'Tables' containment reference list.
 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

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.getDatabase_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()

getTables

org.eclipse.emf.common.util.EList getTables()
Returns the value of the 'Tables' containment reference list. The list contents are of type Table. It is bidirectional and its opposite is 'Database'.

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

Returns:
the value of the 'Tables' containment reference list.
See Also:
DBGenPackage.getDatabase_Tables(), Table.getDatabase()

getTable

Table getTable(java.lang.String name)


addTable

Table addTable(java.lang.String name)


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