org.eclipse.wst.rdb.internal.models.sql.schema.impl
Class SchemaImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
                              extended by org.eclipse.wst.rdb.internal.models.sql.schema.impl.SchemaImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.sdo.InternalEDataObject, Schema, SQLObject

public class SchemaImpl
extends SQLObjectImpl
implements Schema

An implementation of the model object 'Schema'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 Database basicGetDatabase()
           
 AuthorizationIdentifier basicGetOwner()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetDatabase(Database newDatabase, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetOwner(AuthorizationIdentifier newOwner, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 org.eclipse.emf.common.util.EList getAssertions()
           
 org.eclipse.emf.common.util.EList getBuiltInFunctions()
          Get a list of built-in (aka system) functions belonging to this schema.
 org.eclipse.emf.common.util.EList getCharSets()
           
 Database getDatabase()
           
 org.eclipse.emf.common.util.EList getIndices()
           
 AuthorizationIdentifier getOwner()
           
 org.eclipse.emf.common.util.EList getProcedures()
          Get a list of procedures belonging to this schema.
 org.eclipse.emf.common.util.EList getRoutines()
           
 org.eclipse.emf.common.util.EList getSequences()
           
 org.eclipse.emf.common.util.EList getTables()
           
 org.eclipse.emf.common.util.EList getTriggers()
           
 org.eclipse.emf.common.util.EList getUDFs()
          Get a list of user-defined functions belonging to this schema.
 org.eclipse.emf.common.util.EList getUserDefinedTypes()
           
 void setDatabase(Database newDatabase)
           
 void setOwner(AuthorizationIdentifier newOwner)
           
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getComments, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getFloat, getInstanceProperties, getInt, getInt, getInt, getLabel, getList, getList, getList, getLong, getLong, getLong, getPrivileges, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, removeEAnnotationDetail, set, set, set, setAnnotationDetail, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDescription, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setLabel, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, toString, unset, unset, unset, writeReplace
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.sdo.EDataObject
getInstanceProperties
 
Methods inherited from interface commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 

Method Detail

getTriggers

public org.eclipse.emf.common.util.EList getTriggers()

Specified by:
getTriggers in interface Schema
Returns:
the value of the 'Triggers' reference list.
See Also:
SQLSchemaPackage.getSchema_Triggers(), Trigger.getSchema()

getIndices

public org.eclipse.emf.common.util.EList getIndices()

Specified by:
getIndices in interface Schema
Returns:
the value of the 'Indices' reference list.
See Also:
SQLSchemaPackage.getSchema_Indices(), Index.getSchema()

getTables

public org.eclipse.emf.common.util.EList getTables()

Specified by:
getTables in interface Schema
Returns:
the value of the 'Tables' reference list.
See Also:
SQLSchemaPackage.getSchema_Tables(), Table.getSchema()

getSequences

public org.eclipse.emf.common.util.EList getSequences()

Specified by:
getSequences in interface Schema
Returns:
the value of the 'Sequences' reference list.
See Also:
SQLSchemaPackage.getSchema_Sequences(), Sequence.getSchema()

getDatabase

public Database getDatabase()

Specified by:
getDatabase in interface Schema
Returns:
the value of the 'Database' reference.
See Also:
Schema.setDatabase(Database), SQLSchemaPackage.getSchema_Database(), Database.getSchemas()

basicGetDatabase

public Database basicGetDatabase()


basicSetDatabase

public org.eclipse.emf.common.notify.NotificationChain basicSetDatabase(Database newDatabase,
                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)


setDatabase

public void setDatabase(Database newDatabase)

Specified by:
setDatabase in interface Schema
Parameters:
newDatabase - the new value of the 'Database' reference.
See Also:
Schema.getDatabase()

getAssertions

public org.eclipse.emf.common.util.EList getAssertions()

Specified by:
getAssertions in interface Schema
Returns:
the value of the 'Assertions' reference list.
See Also:
SQLSchemaPackage.getSchema_Assertions(), Assertion.getSchema()

getUserDefinedTypes

public org.eclipse.emf.common.util.EList getUserDefinedTypes()

Specified by:
getUserDefinedTypes in interface Schema
Returns:
the value of the 'User Defined Types' reference list.
See Also:
SQLSchemaPackage.getSchema_UserDefinedTypes(), UserDefinedType.getSchema()

getCharSets

public org.eclipse.emf.common.util.EList getCharSets()

Specified by:
getCharSets in interface Schema
Returns:
the value of the 'Char Sets' reference list.
See Also:
SQLSchemaPackage.getSchema_CharSets(), CharacterSet.getSchema()

getRoutines

public org.eclipse.emf.common.util.EList getRoutines()

Specified by:
getRoutines in interface Schema
Returns:
the value of the 'Routines' reference list.
See Also:
SQLSchemaPackage.getSchema_Routines(), Routine.getSchema()

getProcedures

public org.eclipse.emf.common.util.EList getProcedures()
Get a list of procedures belonging to this schema.

Specified by:
getProcedures in interface Schema
Returns:
the procedures contained within the schema. If there are none, then an empty list is returned.

getUDFs

public org.eclipse.emf.common.util.EList getUDFs()
Get a list of user-defined functions belonging to this schema.

Specified by:
getUDFs in interface Schema
Returns:
the user-defined functions contained within the schema. If there are none, then an empty list is returned.

getBuiltInFunctions

public org.eclipse.emf.common.util.EList getBuiltInFunctions()
Get a list of built-in (aka system) functions belonging to this schema.

Specified by:
getBuiltInFunctions in interface Schema
Returns:
the built-in functions contained within the schema. If there are none, then an empty list is returned.

getOwner

public AuthorizationIdentifier getOwner()

Specified by:
getOwner in interface Schema
Returns:
the value of the 'Owner' reference.
See Also:
Schema.setOwner(AuthorizationIdentifier), SQLSchemaPackage.getSchema_Owner(), AuthorizationIdentifier.getOwnedSchema()

basicGetOwner

public AuthorizationIdentifier basicGetOwner()


basicSetOwner

public org.eclipse.emf.common.notify.NotificationChain basicSetOwner(AuthorizationIdentifier newOwner,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setOwner

public void setOwner(AuthorizationIdentifier newOwner)

Specified by:
setOwner in interface Schema
Parameters:
newOwner - the new value of the 'Owner' reference.
See Also:
Schema.getOwner()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class SQLObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class SQLObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class SQLObjectImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class SQLObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class SQLObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class SQLObjectImpl