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

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

An implementation of the model object 'Partition'.

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
 ZSeriesStorageGroup basicGetStorageGroup()
           
 ZSeriesVCAT basicGetVcat()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetIndex(ZSeriesIndex newIndex, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetTableSpace(ZSeriesTableSpace newTableSpace, 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)
           
 int getFreePage()
           
 GBPCacheType getGPBCache()
           
 ZSeriesIndex getIndex()
           
 java.lang.String getLimitKey()
           
 int getNumber()
           
 int getPctFree()
           
 int getPrimaryQuantity()
           
 int getSecondaryQuantity()
           
 ZSeriesStorageGroup getStorageGroup()
           
 ZSeriesTableSpace getTableSpace()
           
 ZSeriesVCAT getVcat()
           
 boolean isCompress()
           
 boolean isTrackMod()
           
 boolean isUseStorageGroup()
           
 void setCompress(boolean newCompress)
           
 void setFreePage(int newFreePage)
           
 void setGPBCache(GBPCacheType newGPBCache)
           
 void setIndex(ZSeriesIndex newIndex)
           
 void setLimitKey(java.lang.String newLimitKey)
           
 void setNumber(int newNumber)
           
 void setPctFree(int newPctFree)
           
 void setPrimaryQuantity(int newPrimaryQuantity)
           
 void setSecondaryQuantity(int newSecondaryQuantity)
           
 void setStorageGroup(ZSeriesStorageGroup newStorageGroup)
           
 void setTableSpace(ZSeriesTableSpace newTableSpace)
           
 void setTrackMod(boolean newTrackMod)
           
 void setUseStorageGroup(boolean newUseStorageGroup)
           
 void setVcat(ZSeriesVCAT newVcat)
           
 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

getNumber

public int getNumber()

Specified by:
getNumber in interface ZSeriesPartition
Returns:
the value of the 'Number' attribute.
See Also:
ZSeriesPartition.setNumber(int), ZSeriesPackage.getZSeriesPartition_Number()

setNumber

public void setNumber(int newNumber)

Specified by:
setNumber in interface ZSeriesPartition
Parameters:
newNumber - the new value of the 'Number' attribute.
See Also:
ZSeriesPartition.getNumber()

isUseStorageGroup

public boolean isUseStorageGroup()

Specified by:
isUseStorageGroup in interface ZSeriesPartition
Returns:
the value of the 'Use Storage Group' attribute.
See Also:
ZSeriesPartition.setUseStorageGroup(boolean), ZSeriesPackage.getZSeriesPartition_UseStorageGroup()

setUseStorageGroup

public void setUseStorageGroup(boolean newUseStorageGroup)

Specified by:
setUseStorageGroup in interface ZSeriesPartition
Parameters:
newUseStorageGroup - the new value of the 'Use Storage Group' attribute.
See Also:
ZSeriesPartition.isUseStorageGroup()

isCompress

public boolean isCompress()

Specified by:
isCompress in interface ZSeriesPartition
Returns:
the value of the 'Compress' attribute.
See Also:
ZSeriesPartition.setCompress(boolean), ZSeriesPackage.getZSeriesPartition_Compress()

setCompress

public void setCompress(boolean newCompress)

Specified by:
setCompress in interface ZSeriesPartition
Parameters:
newCompress - the new value of the 'Compress' attribute.
See Also:
ZSeriesPartition.isCompress()

getGPBCache

public GBPCacheType getGPBCache()

Specified by:
getGPBCache in interface ZSeriesPartition
Returns:
the value of the 'GPB Cache' attribute.
See Also:
GBPCacheType, ZSeriesPartition.setGPBCache(GBPCacheType), ZSeriesPackage.getZSeriesPartition_GPBCache()

setGPBCache

public void setGPBCache(GBPCacheType newGPBCache)

Specified by:
setGPBCache in interface ZSeriesPartition
Parameters:
newGPBCache - the new value of the 'GPB Cache' attribute.
See Also:
GBPCacheType, ZSeriesPartition.getGPBCache()

getPrimaryQuantity

public int getPrimaryQuantity()

Specified by:
getPrimaryQuantity in interface ZSeriesPartition
Returns:
the value of the 'Primary Quantity' attribute.
See Also:
ZSeriesPartition.setPrimaryQuantity(int), ZSeriesPackage.getZSeriesPartition_PrimaryQuantity()

setPrimaryQuantity

public void setPrimaryQuantity(int newPrimaryQuantity)

Specified by:
setPrimaryQuantity in interface ZSeriesPartition
Parameters:
newPrimaryQuantity - the new value of the 'Primary Quantity' attribute.
See Also:
ZSeriesPartition.getPrimaryQuantity()

getSecondaryQuantity

public int getSecondaryQuantity()

Specified by:
getSecondaryQuantity in interface ZSeriesPartition
Returns:
the value of the 'Secondary Quantity' attribute.
See Also:
ZSeriesPartition.setSecondaryQuantity(int), ZSeriesPackage.getZSeriesPartition_SecondaryQuantity()

setSecondaryQuantity

public void setSecondaryQuantity(int newSecondaryQuantity)

Specified by:
setSecondaryQuantity in interface ZSeriesPartition
Parameters:
newSecondaryQuantity - the new value of the 'Secondary Quantity' attribute.
See Also:
ZSeriesPartition.getSecondaryQuantity()

isTrackMod

public boolean isTrackMod()

Specified by:
isTrackMod in interface ZSeriesPartition
Returns:
the value of the 'Track Mod' attribute.
See Also:
ZSeriesPartition.setTrackMod(boolean), ZSeriesPackage.getZSeriesPartition_TrackMod()

setTrackMod

public void setTrackMod(boolean newTrackMod)

Specified by:
setTrackMod in interface ZSeriesPartition
Parameters:
newTrackMod - the new value of the 'Track Mod' attribute.
See Also:
ZSeriesPartition.isTrackMod()

getFreePage

public int getFreePage()

Specified by:
getFreePage in interface ZSeriesPartition
Returns:
the value of the 'Free Page' attribute.
See Also:
ZSeriesPartition.setFreePage(int), ZSeriesPackage.getZSeriesPartition_FreePage()

setFreePage

public void setFreePage(int newFreePage)

Specified by:
setFreePage in interface ZSeriesPartition
Parameters:
newFreePage - the new value of the 'Free Page' attribute.
See Also:
ZSeriesPartition.getFreePage()

getPctFree

public int getPctFree()

Specified by:
getPctFree in interface ZSeriesPartition
Returns:
the value of the 'Pct Free' attribute.
See Also:
ZSeriesPartition.setPctFree(int), ZSeriesPackage.getZSeriesPartition_PctFree()

setPctFree

public void setPctFree(int newPctFree)

Specified by:
setPctFree in interface ZSeriesPartition
Parameters:
newPctFree - the new value of the 'Pct Free' attribute.
See Also:
ZSeriesPartition.getPctFree()

getLimitKey

public java.lang.String getLimitKey()

Specified by:
getLimitKey in interface ZSeriesPartition
Returns:
the value of the 'Limit Key' attribute.
See Also:
ZSeriesPartition.setLimitKey(String), ZSeriesPackage.getZSeriesPartition_LimitKey()

setLimitKey

public void setLimitKey(java.lang.String newLimitKey)

Specified by:
setLimitKey in interface ZSeriesPartition
Parameters:
newLimitKey - the new value of the 'Limit Key' attribute.
See Also:
ZSeriesPartition.getLimitKey()

getTableSpace

public ZSeriesTableSpace getTableSpace()

Specified by:
getTableSpace in interface ZSeriesPartition
Returns:
the value of the 'Table Space' container reference.
See Also:
ZSeriesPartition.setTableSpace(ZSeriesTableSpace), ZSeriesPackage.getZSeriesPartition_TableSpace(), ZSeriesTableSpace.getPartitions()

basicSetTableSpace

public org.eclipse.emf.common.notify.NotificationChain basicSetTableSpace(ZSeriesTableSpace newTableSpace,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


setTableSpace

public void setTableSpace(ZSeriesTableSpace newTableSpace)

Specified by:
setTableSpace in interface ZSeriesPartition
Parameters:
newTableSpace - the new value of the 'Table Space' container reference.
See Also:
ZSeriesPartition.getTableSpace()

getVcat

public ZSeriesVCAT getVcat()

Specified by:
getVcat in interface ZSeriesPartition
Returns:
the value of the 'Vcat' reference.
See Also:
ZSeriesPartition.setVcat(ZSeriesVCAT), ZSeriesPackage.getZSeriesPartition_Vcat()

basicGetVcat

public ZSeriesVCAT basicGetVcat()


setVcat

public void setVcat(ZSeriesVCAT newVcat)

Specified by:
setVcat in interface ZSeriesPartition
Parameters:
newVcat - the new value of the 'Vcat' reference.
See Also:
ZSeriesPartition.getVcat()

getStorageGroup

public ZSeriesStorageGroup getStorageGroup()

Specified by:
getStorageGroup in interface ZSeriesPartition
Returns:
the value of the 'Storage Group' reference.
See Also:
ZSeriesPartition.setStorageGroup(ZSeriesStorageGroup), ZSeriesPackage.getZSeriesPartition_StorageGroup()

basicGetStorageGroup

public ZSeriesStorageGroup basicGetStorageGroup()


setStorageGroup

public void setStorageGroup(ZSeriesStorageGroup newStorageGroup)

Specified by:
setStorageGroup in interface ZSeriesPartition
Parameters:
newStorageGroup - the new value of the 'Storage Group' reference.
See Also:
ZSeriesPartition.getStorageGroup()

getIndex

public ZSeriesIndex getIndex()

Specified by:
getIndex in interface ZSeriesPartition
Returns:
the value of the 'Index' container reference.
See Also:
ZSeriesPartition.setIndex(ZSeriesIndex), ZSeriesPackage.getZSeriesPartition_Index(), ZSeriesIndex.getPartitions()

basicSetIndex

public org.eclipse.emf.common.notify.NotificationChain basicSetIndex(ZSeriesIndex newIndex,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setIndex

public void setIndex(ZSeriesIndex newIndex)

Specified by:
setIndex in interface ZSeriesPartition
Parameters:
newIndex - the new value of the 'Index' container reference.
See Also:
ZSeriesPartition.getIndex()

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