com.ibm.db.models.db2.luw.impl
Class LUWBufferPoolImpl

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 com.ibm.db.models.db2.luw.impl.LUWBufferPoolImpl
All Implemented Interfaces:
LUWBufferPool, 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, org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject

public class LUWBufferPoolImpl
extends org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
implements LUWBufferPool

An implementation of the model object 'Buffer Pool'.

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
 LUWDatabase basicGetDatabase()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetDatabase(LUWDatabase newDatabase, 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)
           
 int getBlockSize()
           
 BufferPoolType getCreateType()
           
 LUWDatabase getDatabase()
           
 int getNumBlockPages()
           
 PageSizeType getPageSize()
           
 org.eclipse.emf.common.util.EList getPartitionGroup()
           
 org.eclipse.emf.common.util.EList getPartitions()
           
 int getSize()
           
 org.eclipse.emf.common.util.EList getTableSpaces()
           
 boolean isAutomatic()
           
 boolean isExtendedStorage()
           
 void setAutomatic(boolean newAutomatic)
           
 void setBlockSize(int newBlockSize)
           
 void setCreateType(BufferPoolType newCreateType)
           
 void setDatabase(LUWDatabase newDatabase)
           
 void setExtendedStorage(boolean newExtendedStorage)
           
 void setNumBlockPages(int newNumBlockPages)
           
 void setPageSize(PageSizeType newPageSize)
           
 void setSize(int newSize)
           
 java.lang.String toString()
           
 
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, 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

getCreateType

public BufferPoolType getCreateType()

Specified by:
getCreateType in interface LUWBufferPool
Returns:
the value of the 'Create Type' attribute.
See Also:
BufferPoolType, LUWBufferPool.setCreateType(BufferPoolType), LUWPackage.getLUWBufferPool_CreateType()

setCreateType

public void setCreateType(BufferPoolType newCreateType)

Specified by:
setCreateType in interface LUWBufferPool
Parameters:
newCreateType - the new value of the 'Create Type' attribute.
See Also:
BufferPoolType, LUWBufferPool.getCreateType()

getSize

public int getSize()

Specified by:
getSize in interface LUWBufferPool
Returns:
the value of the 'Size' attribute.
See Also:
LUWBufferPool.setSize(int), LUWPackage.getLUWBufferPool_Size()

setSize

public void setSize(int newSize)

Specified by:
setSize in interface LUWBufferPool
Parameters:
newSize - the new value of the 'Size' attribute.
See Also:
LUWBufferPool.getSize()

getPageSize

public PageSizeType getPageSize()

Specified by:
getPageSize in interface LUWBufferPool
Returns:
the value of the 'Page Size' attribute.
See Also:
PageSizeType, LUWBufferPool.setPageSize(PageSizeType), LUWPackage.getLUWBufferPool_PageSize()

setPageSize

public void setPageSize(PageSizeType newPageSize)

Specified by:
setPageSize in interface LUWBufferPool
Parameters:
newPageSize - the new value of the 'Page Size' attribute.
See Also:
PageSizeType, LUWBufferPool.getPageSize()

getBlockSize

public int getBlockSize()

Specified by:
getBlockSize in interface LUWBufferPool
Returns:
the value of the 'Block Size' attribute.
See Also:
LUWBufferPool.setBlockSize(int), LUWPackage.getLUWBufferPool_BlockSize()

setBlockSize

public void setBlockSize(int newBlockSize)

Specified by:
setBlockSize in interface LUWBufferPool
Parameters:
newBlockSize - the new value of the 'Block Size' attribute.
See Also:
LUWBufferPool.getBlockSize()

getNumBlockPages

public int getNumBlockPages()

Specified by:
getNumBlockPages in interface LUWBufferPool
Returns:
the value of the 'Num Block Pages' attribute.
See Also:
LUWBufferPool.setNumBlockPages(int), LUWPackage.getLUWBufferPool_NumBlockPages()

setNumBlockPages

public void setNumBlockPages(int newNumBlockPages)

Specified by:
setNumBlockPages in interface LUWBufferPool
Parameters:
newNumBlockPages - the new value of the 'Num Block Pages' attribute.
See Also:
LUWBufferPool.getNumBlockPages()

isExtendedStorage

public boolean isExtendedStorage()

Specified by:
isExtendedStorage in interface LUWBufferPool
Returns:
the value of the 'Extended Storage' attribute.
See Also:
LUWBufferPool.setExtendedStorage(boolean), LUWPackage.getLUWBufferPool_ExtendedStorage()

setExtendedStorage

public void setExtendedStorage(boolean newExtendedStorage)

Specified by:
setExtendedStorage in interface LUWBufferPool
Parameters:
newExtendedStorage - the new value of the 'Extended Storage' attribute.
See Also:
LUWBufferPool.isExtendedStorage()

isAutomatic

public boolean isAutomatic()

Specified by:
isAutomatic in interface LUWBufferPool
Returns:
the value of the 'Automatic' attribute.
See Also:
LUWBufferPool.setAutomatic(boolean), LUWPackage.getLUWBufferPool_Automatic()

setAutomatic

public void setAutomatic(boolean newAutomatic)

Specified by:
setAutomatic in interface LUWBufferPool
Parameters:
newAutomatic - the new value of the 'Automatic' attribute.
See Also:
LUWBufferPool.isAutomatic()

getTableSpaces

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

Specified by:
getTableSpaces in interface LUWBufferPool
Returns:
the value of the 'Table Spaces' reference list.
See Also:
LUWPackage.getLUWBufferPool_TableSpaces(), LUWTableSpace.getBufferPool()

getPartitions

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

Specified by:
getPartitions in interface LUWBufferPool
Returns:
the value of the 'Partitions' reference list.
See Also:
LUWPackage.getLUWBufferPool_Partitions(), LUWDatabasePartition.getBufferPool()

getPartitionGroup

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

Specified by:
getPartitionGroup in interface LUWBufferPool
Returns:
the value of the 'Partition Group' reference list.
See Also:
LUWPackage.getLUWBufferPool_PartitionGroup(), LUWPartitionGroup.getBufferPool()

getDatabase

public LUWDatabase getDatabase()

Specified by:
getDatabase in interface LUWBufferPool
Returns:
the value of the 'Database' reference.
See Also:
LUWBufferPool.setDatabase(LUWDatabase), LUWPackage.getLUWBufferPool_Database(), LUWDatabase.getBufferpools()

basicGetDatabase

public LUWDatabase basicGetDatabase()


basicSetDatabase

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


setDatabase

public void setDatabase(LUWDatabase newDatabase)

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

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 org.eclipse.wst.rdb.internal.models.sql.schema.impl.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 org.eclipse.wst.rdb.internal.models.sql.schema.impl.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 org.eclipse.wst.rdb.internal.models.sql.schema.impl.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 org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl