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

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.LUWTableSpaceImpl
All Implemented Interfaces:
LUWTableSpace, 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 LUWTableSpaceImpl
extends org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
implements LUWTableSpace

An implementation of the model object 'Table Space'.

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
 LUWBufferPool basicGetBufferPool()
           
 LUWDatabase basicGetDatabase()
           
 LUWPartitionGroup basicGetGroup()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetBufferPool(LUWBufferPool newBufferPool, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetDatabase(LUWDatabase newDatabase, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetGroup(LUWPartitionGroup newGroup, 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)
           
 LUWBufferPool getBufferPool()
           
 org.eclipse.emf.common.util.EList getContainers()
           
 LUWDatabase getDatabase()
           
 int getExtentSize()
           
 LUWPartitionGroup getGroup()
           
 org.eclipse.emf.common.util.EList getIndexDataTables()
           
 org.eclipse.emf.common.util.EList getLOBDataPartition()
           
 org.eclipse.emf.common.util.EList getLOBDataTables()
           
 ManagementType getManagementType()
           
 double getOverhead()
           
 PageSizeType getPageSize()
           
 int getPreFetchSize()
           
 org.eclipse.emf.common.util.EList getRegularDataPartition()
           
 org.eclipse.emf.common.util.EList getRegularDataTables()
           
 long getSize()
           
 java.util.List getTables()
           
 TableSpaceType getTablespaceType()
           
 double getTransferRate()
           
 boolean isAutoResize()
           
 boolean isRecoverDroppedTableOn()
           
 void setAutoResize(boolean newAutoResize)
           
 void setBufferPool(LUWBufferPool newBufferPool)
           
 void setDatabase(LUWDatabase newDatabase)
           
 void setExtentSize(int newExtentSize)
           
 void setGroup(LUWPartitionGroup newGroup)
           
 void setManagementType(ManagementType newManagementType)
           
 void setOverhead(double newOverhead)
           
 void setPageSize(PageSizeType newPageSize)
           
 void setPreFetchSize(int newPreFetchSize)
           
 void setRecoverDroppedTableOn(boolean newRecoverDroppedTableOn)
           
 void setSize(long newSize)
           
 void setTablespaceType(TableSpaceType newTablespaceType)
           
 void setTransferRate(double newTransferRate)
           
 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

getTablespaceType

public TableSpaceType getTablespaceType()

Specified by:
getTablespaceType in interface LUWTableSpace
Returns:
the value of the 'Tablespace Type' attribute.
See Also:
TableSpaceType, LUWTableSpace.setTablespaceType(TableSpaceType), LUWPackage.getLUWTableSpace_TablespaceType()

setTablespaceType

public void setTablespaceType(TableSpaceType newTablespaceType)

Specified by:
setTablespaceType in interface LUWTableSpace
Parameters:
newTablespaceType - the new value of the 'Tablespace Type' attribute.
See Also:
TableSpaceType, LUWTableSpace.getTablespaceType()

getManagementType

public ManagementType getManagementType()

Specified by:
getManagementType in interface LUWTableSpace
Returns:
the value of the 'Management Type' attribute.
See Also:
ManagementType, LUWTableSpace.setManagementType(ManagementType), LUWPackage.getLUWTableSpace_ManagementType()

setManagementType

public void setManagementType(ManagementType newManagementType)

Specified by:
setManagementType in interface LUWTableSpace
Parameters:
newManagementType - the new value of the 'Management Type' attribute.
See Also:
ManagementType, LUWTableSpace.getManagementType()

getExtentSize

public int getExtentSize()

Specified by:
getExtentSize in interface LUWTableSpace
Returns:
the value of the 'Extent Size' attribute.
See Also:
LUWTableSpace.setExtentSize(int), LUWPackage.getLUWTableSpace_ExtentSize()

setExtentSize

public void setExtentSize(int newExtentSize)

Specified by:
setExtentSize in interface LUWTableSpace
Parameters:
newExtentSize - the new value of the 'Extent Size' attribute.
See Also:
LUWTableSpace.getExtentSize()

getPreFetchSize

public int getPreFetchSize()

Specified by:
getPreFetchSize in interface LUWTableSpace
Returns:
the value of the 'Pre Fetch Size' attribute.
See Also:
LUWTableSpace.setPreFetchSize(int), LUWPackage.getLUWTableSpace_PreFetchSize()

setPreFetchSize

public void setPreFetchSize(int newPreFetchSize)

Specified by:
setPreFetchSize in interface LUWTableSpace
Parameters:
newPreFetchSize - the new value of the 'Pre Fetch Size' attribute.
See Also:
LUWTableSpace.getPreFetchSize()

getOverhead

public double getOverhead()

Specified by:
getOverhead in interface LUWTableSpace
Returns:
the value of the 'Overhead' attribute.
See Also:
LUWTableSpace.setOverhead(double), LUWPackage.getLUWTableSpace_Overhead()

setOverhead

public void setOverhead(double newOverhead)

Specified by:
setOverhead in interface LUWTableSpace
Parameters:
newOverhead - the new value of the 'Overhead' attribute.
See Also:
LUWTableSpace.getOverhead()

getTransferRate

public double getTransferRate()

Specified by:
getTransferRate in interface LUWTableSpace
Returns:
the value of the 'Transfer Rate' attribute.
See Also:
LUWTableSpace.setTransferRate(double), LUWPackage.getLUWTableSpace_TransferRate()

setTransferRate

public void setTransferRate(double newTransferRate)

Specified by:
setTransferRate in interface LUWTableSpace
Parameters:
newTransferRate - the new value of the 'Transfer Rate' attribute.
See Also:
LUWTableSpace.getTransferRate()

isRecoverDroppedTableOn

public boolean isRecoverDroppedTableOn()

Specified by:
isRecoverDroppedTableOn in interface LUWTableSpace
Returns:
the value of the 'Recover Dropped Table On' attribute.
See Also:
LUWTableSpace.setRecoverDroppedTableOn(boolean), LUWPackage.getLUWTableSpace_RecoverDroppedTableOn()

setRecoverDroppedTableOn

public void setRecoverDroppedTableOn(boolean newRecoverDroppedTableOn)

Specified by:
setRecoverDroppedTableOn in interface LUWTableSpace
Parameters:
newRecoverDroppedTableOn - the new value of the 'Recover Dropped Table On' attribute.
See Also:
LUWTableSpace.isRecoverDroppedTableOn()

getPageSize

public PageSizeType getPageSize()

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

setPageSize

public void setPageSize(PageSizeType newPageSize)

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

getSize

public long getSize()

Specified by:
getSize in interface LUWTableSpace
Returns:
the value of the 'Size' attribute.
See Also:
LUWTableSpace.setSize(long), LUWPackage.getLUWTableSpace_Size()

setSize

public void setSize(long newSize)

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

isAutoResize

public boolean isAutoResize()

Specified by:
isAutoResize in interface LUWTableSpace
Returns:
the value of the 'Auto Resize' attribute.
See Also:
LUWTableSpace.setAutoResize(boolean), LUWPackage.getLUWTableSpace_AutoResize()

setAutoResize

public void setAutoResize(boolean newAutoResize)

Specified by:
setAutoResize in interface LUWTableSpace
Parameters:
newAutoResize - the new value of the 'Auto Resize' attribute.
See Also:
LUWTableSpace.isAutoResize()

getGroup

public LUWPartitionGroup getGroup()

Specified by:
getGroup in interface LUWTableSpace
Returns:
the value of the 'Group' reference.
See Also:
LUWTableSpace.setGroup(LUWPartitionGroup), LUWPackage.getLUWTableSpace_Group(), LUWPartitionGroup.getTableSpaces()

basicGetGroup

public LUWPartitionGroup basicGetGroup()


basicSetGroup

public org.eclipse.emf.common.notify.NotificationChain basicSetGroup(LUWPartitionGroup newGroup,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setGroup

public void setGroup(LUWPartitionGroup newGroup)

Specified by:
setGroup in interface LUWTableSpace
Parameters:
newGroup - the new value of the 'Group' reference.
See Also:
LUWTableSpace.getGroup()

getContainers

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

Specified by:
getContainers in interface LUWTableSpace
Returns:
the value of the 'Containers' containment reference list.
See Also:
LUWPackage.getLUWTableSpace_Containers(), LUWDatabaseContainer.getTableSpace()

getBufferPool

public LUWBufferPool getBufferPool()

Specified by:
getBufferPool in interface LUWTableSpace
Returns:
the value of the 'Buffer Pool' reference.
See Also:
LUWTableSpace.setBufferPool(LUWBufferPool), LUWPackage.getLUWTableSpace_BufferPool(), LUWBufferPool.getTableSpaces()

basicGetBufferPool

public LUWBufferPool basicGetBufferPool()


basicSetBufferPool

public org.eclipse.emf.common.notify.NotificationChain basicSetBufferPool(LUWBufferPool newBufferPool,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


setBufferPool

public void setBufferPool(LUWBufferPool newBufferPool)

Specified by:
setBufferPool in interface LUWTableSpace
Parameters:
newBufferPool - the new value of the 'Buffer Pool' reference.
See Also:
LUWTableSpace.getBufferPool()

getRegularDataTables

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

Specified by:
getRegularDataTables in interface LUWTableSpace
Returns:
the value of the 'Regular Data Tables' reference list.
See Also:
LUWPackage.getLUWTableSpace_RegularDataTables(), LUWStorageTable.getRegularDataTableSpace()

getDatabase

public LUWDatabase getDatabase()

Specified by:
getDatabase in interface LUWTableSpace
Returns:
the value of the 'Database' reference.
See Also:
LUWTableSpace.setDatabase(LUWDatabase), LUWPackage.getLUWTableSpace_Database(), LUWDatabase.getTablespaces()

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 LUWTableSpace
Parameters:
newDatabase - the new value of the 'Database' reference.
See Also:
LUWTableSpace.getDatabase()

getLOBDataPartition

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

Specified by:
getLOBDataPartition in interface LUWTableSpace
Returns:
the value of the 'LOB Data Partition' reference list.
See Also:
LUWPackage.getLUWTableSpace_LOBDataPartition(), LUWDataPartition.getLOBDataTableSpace()

getRegularDataPartition

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

Specified by:
getRegularDataPartition in interface LUWTableSpace
Returns:
the value of the 'Regular Data Partition' reference list.
See Also:
LUWPackage.getLUWTableSpace_RegularDataPartition(), LUWDataPartition.getRegularDataTableSpace()

getIndexDataTables

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

Specified by:
getIndexDataTables in interface LUWTableSpace
Returns:
the value of the 'Index Data Tables' reference list.
See Also:
LUWPackage.getLUWTableSpace_IndexDataTables(), LUWStorageTable.getIndexDataTableSpace()

getLOBDataTables

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

Specified by:
getLOBDataTables in interface LUWTableSpace
Returns:
the value of the 'LOB Data Tables' reference list.
See Also:
LUWPackage.getLUWTableSpace_LOBDataTables(), LUWStorageTable.getLOBDataTableSpace()

getTables

public java.util.List getTables()

Specified by:
getTables in interface LUWTableSpace

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