com.ibm.db.models.db2.zSeries.impl
Class ZSeriesTableSpaceImpl

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

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
 org.eclipse.emf.common.notify.NotificationChain basicSetDatabaseInstance(ZSeriesDatabaseInstance newDatabaseInstance, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(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 getAuxTables()
           
 java.lang.String getBufferPoolName()
           
 ZSeriesDatabaseInstance getDatabaseInstance()
           
 int getDsSize()
           
 CCSIDType getEncodingScheme()
           
 int getLockMax()
           
 LockSizeType getLockSize()
           
 int getMaximumRows()
           
 org.eclipse.emf.common.util.EList getMQTs()
           
 org.eclipse.emf.common.util.EList getPartitions()
           
 int getSegSize()
           
 org.eclipse.emf.common.util.EList getTables()
           
 ZSeriesTableSpaceType getTablespaceType()
           
 boolean isClose()
           
 boolean isDefine()
           
 boolean isErase()
           
 boolean isLockPart()
           
 boolean isLog()
           
 boolean isMemberCluster()
           
 void setBufferPoolName(java.lang.String newBufferPoolName)
           
 void setClose(boolean newClose)
           
 void setDatabaseInstance(ZSeriesDatabaseInstance newDatabaseInstance)
           
 void setDefine(boolean newDefine)
           
 void setDsSize(int newDsSize)
           
 void setEncodingScheme(CCSIDType newEncodingScheme)
           
 void setErase(boolean newErase)
           
 void setLockMax(int newLockMax)
           
 void setLockPart(boolean newLockPart)
           
 void setLockSize(LockSizeType newLockSize)
           
 void setLog(boolean newLog)
           
 void setMaximumRows(int newMaximumRows)
           
 void setMemberCluster(boolean newMemberCluster)
           
 void setSegSize(int newSegSize)
           
 void setTablespaceType(ZSeriesTableSpaceType newTablespaceType)
           
 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, 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 ZSeriesTableSpaceType getTablespaceType()

Specified by:
getTablespaceType in interface ZSeriesTableSpace
Returns:
the value of the 'Tablespace Type' attribute.
See Also:
ZSeriesTableSpaceType, ZSeriesTableSpace.setTablespaceType(ZSeriesTableSpaceType), ZSeriesPackage.getZSeriesTableSpace_TablespaceType()

setTablespaceType

public void setTablespaceType(ZSeriesTableSpaceType newTablespaceType)

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

isDefine

public boolean isDefine()

Specified by:
isDefine in interface ZSeriesTableSpace
Returns:
the value of the 'Define' attribute.
See Also:
ZSeriesTableSpace.setDefine(boolean), ZSeriesPackage.getZSeriesTableSpace_Define()

setDefine

public void setDefine(boolean newDefine)

Specified by:
setDefine in interface ZSeriesTableSpace
Parameters:
newDefine - the new value of the 'Define' attribute.
See Also:
ZSeriesTableSpace.isDefine()

isLog

public boolean isLog()

Specified by:
isLog in interface ZSeriesTableSpace
Returns:
the value of the 'Log' attribute.
See Also:
ZSeriesTableSpace.setLog(boolean), ZSeriesPackage.getZSeriesTableSpace_Log()

setLog

public void setLog(boolean newLog)

Specified by:
setLog in interface ZSeriesTableSpace
Parameters:
newLog - the new value of the 'Log' attribute.
See Also:
ZSeriesTableSpace.isLog()

getDsSize

public int getDsSize()

Specified by:
getDsSize in interface ZSeriesTableSpace
Returns:
the value of the 'Ds Size' attribute.
See Also:
ZSeriesTableSpace.setDsSize(int), ZSeriesPackage.getZSeriesTableSpace_DsSize()

setDsSize

public void setDsSize(int newDsSize)

Specified by:
setDsSize in interface ZSeriesTableSpace
Parameters:
newDsSize - the new value of the 'Ds Size' attribute.
See Also:
ZSeriesTableSpace.getDsSize()

getSegSize

public int getSegSize()

Specified by:
getSegSize in interface ZSeriesTableSpace
Returns:
the value of the 'Seg Size' attribute.
See Also:
ZSeriesTableSpace.setSegSize(int), ZSeriesPackage.getZSeriesTableSpace_SegSize()

setSegSize

public void setSegSize(int newSegSize)

Specified by:
setSegSize in interface ZSeriesTableSpace
Parameters:
newSegSize - the new value of the 'Seg Size' attribute.
See Also:
ZSeriesTableSpace.getSegSize()

isMemberCluster

public boolean isMemberCluster()

Specified by:
isMemberCluster in interface ZSeriesTableSpace
Returns:
the value of the 'Member Cluster' attribute.
See Also:
ZSeriesTableSpace.setMemberCluster(boolean), ZSeriesPackage.getZSeriesTableSpace_MemberCluster()

setMemberCluster

public void setMemberCluster(boolean newMemberCluster)

Specified by:
setMemberCluster in interface ZSeriesTableSpace
Parameters:
newMemberCluster - the new value of the 'Member Cluster' attribute.
See Also:
ZSeriesTableSpace.isMemberCluster()

isClose

public boolean isClose()

Specified by:
isClose in interface ZSeriesTableSpace
Returns:
the value of the 'Close' attribute.
See Also:
ZSeriesTableSpace.setClose(boolean), ZSeriesPackage.getZSeriesTableSpace_Close()

setClose

public void setClose(boolean newClose)

Specified by:
setClose in interface ZSeriesTableSpace
Parameters:
newClose - the new value of the 'Close' attribute.
See Also:
ZSeriesTableSpace.isClose()

isErase

public boolean isErase()

Specified by:
isErase in interface ZSeriesTableSpace
Returns:
the value of the 'Erase' attribute.
See Also:
ZSeriesTableSpace.setErase(boolean), ZSeriesPackage.getZSeriesTableSpace_Erase()

setErase

public void setErase(boolean newErase)

Specified by:
setErase in interface ZSeriesTableSpace
Parameters:
newErase - the new value of the 'Erase' attribute.
See Also:
ZSeriesTableSpace.isErase()

getMaximumRows

public int getMaximumRows()

Specified by:
getMaximumRows in interface ZSeriesTableSpace
Returns:
the value of the 'Maximum Rows' attribute.
See Also:
ZSeriesTableSpace.setMaximumRows(int), ZSeriesPackage.getZSeriesTableSpace_MaximumRows()

setMaximumRows

public void setMaximumRows(int newMaximumRows)

Specified by:
setMaximumRows in interface ZSeriesTableSpace
Parameters:
newMaximumRows - the new value of the 'Maximum Rows' attribute.
See Also:
ZSeriesTableSpace.getMaximumRows()

getLockMax

public int getLockMax()

Specified by:
getLockMax in interface ZSeriesTableSpace
Returns:
the value of the 'Lock Max' attribute.
See Also:
ZSeriesTableSpace.setLockMax(int), ZSeriesPackage.getZSeriesTableSpace_LockMax()

setLockMax

public void setLockMax(int newLockMax)

Specified by:
setLockMax in interface ZSeriesTableSpace
Parameters:
newLockMax - the new value of the 'Lock Max' attribute.
See Also:
ZSeriesTableSpace.getLockMax()

getLockSize

public LockSizeType getLockSize()

Specified by:
getLockSize in interface ZSeriesTableSpace
Returns:
the value of the 'Lock Size' attribute.
See Also:
LockSizeType, ZSeriesTableSpace.setLockSize(LockSizeType), ZSeriesPackage.getZSeriesTableSpace_LockSize()

setLockSize

public void setLockSize(LockSizeType newLockSize)

Specified by:
setLockSize in interface ZSeriesTableSpace
Parameters:
newLockSize - the new value of the 'Lock Size' attribute.
See Also:
LockSizeType, ZSeriesTableSpace.getLockSize()

getBufferPoolName

public java.lang.String getBufferPoolName()

Specified by:
getBufferPoolName in interface ZSeriesTableSpace
Returns:
the value of the 'Buffer Pool Name' attribute.
See Also:
ZSeriesTableSpace.setBufferPoolName(String), ZSeriesPackage.getZSeriesTableSpace_BufferPoolName()

setBufferPoolName

public void setBufferPoolName(java.lang.String newBufferPoolName)

Specified by:
setBufferPoolName in interface ZSeriesTableSpace
Parameters:
newBufferPoolName - the new value of the 'Buffer Pool Name' attribute.
See Also:
ZSeriesTableSpace.getBufferPoolName()

getEncodingScheme

public CCSIDType getEncodingScheme()

Specified by:
getEncodingScheme in interface ZSeriesTableSpace
Returns:
the value of the 'Encoding Scheme' attribute.
See Also:
CCSIDType, ZSeriesTableSpace.setEncodingScheme(CCSIDType), ZSeriesPackage.getZSeriesTableSpace_EncodingScheme()

setEncodingScheme

public void setEncodingScheme(CCSIDType newEncodingScheme)

Specified by:
setEncodingScheme in interface ZSeriesTableSpace
Parameters:
newEncodingScheme - the new value of the 'Encoding Scheme' attribute.
See Also:
CCSIDType, ZSeriesTableSpace.getEncodingScheme()

isLockPart

public boolean isLockPart()

Specified by:
isLockPart in interface ZSeriesTableSpace
Returns:
the value of the 'Lock Part' attribute.
See Also:
ZSeriesTableSpace.setLockPart(boolean), ZSeriesPackage.getZSeriesTableSpace_LockPart()

setLockPart

public void setLockPart(boolean newLockPart)

Specified by:
setLockPart in interface ZSeriesTableSpace
Parameters:
newLockPart - the new value of the 'Lock Part' attribute.
See Also:
ZSeriesTableSpace.isLockPart()

getDatabaseInstance

public ZSeriesDatabaseInstance getDatabaseInstance()

Specified by:
getDatabaseInstance in interface ZSeriesTableSpace
Returns:
the value of the 'Database Instance' container reference.
See Also:
ZSeriesTableSpace.setDatabaseInstance(ZSeriesDatabaseInstance), ZSeriesPackage.getZSeriesTableSpace_DatabaseInstance(), ZSeriesDatabaseInstance.getTablespaces()

basicSetDatabaseInstance

public org.eclipse.emf.common.notify.NotificationChain basicSetDatabaseInstance(ZSeriesDatabaseInstance newDatabaseInstance,
                                                                                org.eclipse.emf.common.notify.NotificationChain msgs)


setDatabaseInstance

public void setDatabaseInstance(ZSeriesDatabaseInstance newDatabaseInstance)

Specified by:
setDatabaseInstance in interface ZSeriesTableSpace
Parameters:
newDatabaseInstance - the new value of the 'Database Instance' container reference.
See Also:
ZSeriesTableSpace.getDatabaseInstance()

getPartitions

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

Specified by:
getPartitions in interface ZSeriesTableSpace
Returns:
the value of the 'Partitions' containment reference list.
See Also:
ZSeriesPackage.getZSeriesTableSpace_Partitions(), ZSeriesPartition.getTableSpace()

getTables

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

Specified by:
getTables in interface ZSeriesTableSpace
Returns:
the value of the 'Tables' reference list.
See Also:
ZSeriesPackage.getZSeriesTableSpace_Tables(), ZSeriesTable.getTableSpace()

getMQTs

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

Specified by:
getMQTs in interface ZSeriesTableSpace
Returns:
the value of the 'MQ Ts' reference list.
See Also:
ZSeriesPackage.getZSeriesTableSpace_MQTs(), ZSeriesMaterializedQueryTable.getTableSpace()

getAuxTables

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

Specified by:
getAuxTables in interface ZSeriesTableSpace
Returns:
the value of the 'Aux Tables' reference list.
See Also:
ZSeriesPackage.getZSeriesTableSpace_AuxTables(), ZSeriesAuxiliaryTable.getTableSpace()

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

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

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