org.eclipse.wst.rdb.internal.models.sql.constraints.impl
Class IndexImpl

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.BasicNotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.BasicEObjectImpl
              |
              +--org.eclipse.emf.ecore.impl.EObjectImpl
                    |
                    +--org.eclipse.emf.ecore.impl.EModelElementImpl
                          |
                          +--org.eclipse.emf.ecore.impl.ENamedElementImpl
                                |
                                +--org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
                                      |
                                      +--org.eclipse.wst.rdb.internal.models.sql.constraints.impl.IndexImpl
All Implemented Interfaces:
commonj.sdo.DataObject, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, Index, org.eclipse.emf.ecore.sdo.InternalEDataObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, java.io.Serializable, SQLObject

public class IndexImpl
extends SQLObjectImpl
implements Index

An implementation of the model object 'Index'.

The following features are implemented:

See Also:
Serialized Form

Inner classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Inner classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
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
 Schema basicGetSchema()
          
 Table basicGetTable()
          
 org.eclipse.emf.common.notify.NotificationChain basicSetSchema(Schema newSchema, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 org.eclipse.emf.common.notify.NotificationChain basicSetTable(Table newTable, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
          
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
          
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
          
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
          
 int getFillFactor()
          
 org.eclipse.emf.common.util.EList getForeignKey()
          
 org.eclipse.emf.common.util.EList getIncludedMembers()
          
 org.eclipse.emf.common.util.EList getMembers()
          
 Schema getSchema()
          
 Table getTable()
          
 boolean isClustered()
          
 boolean isUnique()
          
 void setClustered(boolean newClustered)
          
 void setFillFactor(int newFillFactor)
          
 void setSchema(Schema newSchema)
          
 void setTable(Table newTable)
          
 void setUnique(boolean newUnique)
          
 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, 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, 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.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eStore
 
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, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
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.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eInternalResource, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 

Method Detail

getSchema

public Schema getSchema()
Specified by:
getSchema in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Returns:
the value of the 'Schema' reference.
See Also:
Index.setSchema(Schema), SQLConstraintsPackage.getIndex_Schema(), Schema.getIndices()

basicGetSchema

public Schema basicGetSchema()

basicSetSchema

public org.eclipse.emf.common.notify.NotificationChain basicSetSchema(Schema newSchema,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

setSchema

public void setSchema(Schema newSchema)
Specified by:
setSchema in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Parameters:
value - the new value of the 'Schema' reference.
See Also:
Index.getSchema()

isClustered

public boolean isClustered()
Specified by:
isClustered in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Returns:
the value of the 'Clustered' attribute.
See Also:
Index.setClustered(boolean), SQLConstraintsPackage.getIndex_Clustered()

setClustered

public void setClustered(boolean newClustered)
Specified by:
setClustered in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Parameters:
value - the new value of the 'Clustered' attribute.
See Also:
Index.isClustered()

getFillFactor

public int getFillFactor()
Specified by:
getFillFactor in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Returns:
the value of the 'Fill Factor' attribute.
See Also:
Index.setFillFactor(int), SQLConstraintsPackage.getIndex_FillFactor()

setFillFactor

public void setFillFactor(int newFillFactor)
Specified by:
setFillFactor in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Parameters:
value - the new value of the 'Fill Factor' attribute.
See Also:
Index.getFillFactor()

isUnique

public boolean isUnique()
Specified by:
isUnique in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Returns:
the value of the 'Unique' attribute.
See Also:
Index.setUnique(boolean), SQLConstraintsPackage.getIndex_Unique()

setUnique

public void setUnique(boolean newUnique)
Specified by:
setUnique in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Parameters:
value - the new value of the 'Unique' attribute.
See Also:
Index.isUnique()

getMembers

public org.eclipse.emf.common.util.EList getMembers()
Specified by:
getMembers in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Returns:
the value of the 'Members' containment reference list.
See Also:
SQLConstraintsPackage.getIndex_Members()

getTable

public Table getTable()
Specified by:
getTable in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Returns:
the value of the 'Table' reference.
See Also:
Index.setTable(Table), SQLConstraintsPackage.getIndex_Table(), Table.getIndex()

basicGetTable

public Table basicGetTable()

basicSetTable

public org.eclipse.emf.common.notify.NotificationChain basicSetTable(Table newTable,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)

setTable

public void setTable(Table newTable)
Specified by:
setTable in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Parameters:
value - the new value of the 'Table' reference.
See Also:
Index.getTable()

getForeignKey

public org.eclipse.emf.common.util.EList getForeignKey()
Specified by:
getForeignKey in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Returns:
the value of the 'Foreign Key' reference list.
See Also:
SQLConstraintsPackage.getIndex_ForeignKey(), ForeignKey.getUniqueIndex()

getIncludedMembers

public org.eclipse.emf.common.util.EList getIncludedMembers()
Specified by:
getIncludedMembers in interface Index
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.constraints.Index
Returns:
the value of the 'Included Members' containment reference list.
See Also:
SQLConstraintsPackage.getIndex_IncludedMembers()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   java.lang.Class baseClass,
                                                                   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,
                                                                      java.lang.Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)
Overrides:
eInverseRemove in class SQLObjectImpl

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)
Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class SQLObjectImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)
Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class SQLObjectImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class SQLObjectImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class SQLObjectImpl

toString

public java.lang.String toString()
Overrides:
toString in class SQLObjectImpl