org.eclipse.wst.rdb.internal.models.sql.tables.impl
Class TriggerImpl

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 org.eclipse.wst.rdb.internal.models.sql.tables.impl.TriggerImpl
All Implemented Interfaces:
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, SQLObject, Trigger

public class TriggerImpl
extends SQLObjectImpl
implements Trigger

An implementation of the model object 'Trigger'.

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
 Schema basicGetSchema()
           
 Table basicGetSubjectTable()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSchema(Schema newSchema, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetSubjectTable(Table newSubjectTable, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetWhen(SearchCondition newWhen, 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)
           
 ActionGranularityType getActionGranularity()
           
 org.eclipse.emf.common.util.EList getActionStatement()
           
 ActionTimeType getActionTime()
           
 java.lang.String getNewRow()
           
 java.lang.String getNewTable()
           
 java.lang.String getOldRow()
           
 java.lang.String getOldTable()
           
 Schema getSchema()
           
 Table getSubjectTable()
           
 java.util.Date getTimeStamp()
           
 org.eclipse.emf.common.util.EList getTriggerColumn()
           
 SearchCondition getWhen()
           
 boolean isDeleteType()
           
 boolean isInsertType()
           
 boolean isUpdateType()
           
 void setActionGranularity(ActionGranularityType newActionGranularity)
           
 void setActionTime(ActionTimeType newActionTime)
           
 void setDeleteType(boolean newDeleteType)
           
 void setInsertType(boolean newInsertType)
           
 void setNewRow(java.lang.String newNewRow)
           
 void setNewTable(java.lang.String newNewTable)
           
 void setOldRow(java.lang.String newOldRow)
           
 void setOldTable(java.lang.String newOldTable)
           
 void setSchema(Schema newSchema)
           
 void setSubjectTable(Table newSubjectTable)
           
 void setUpdateType(boolean newUpdateType)
           
 void setWhen(SearchCondition newWhen)
           
 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

getSchema

public Schema getSchema()

Specified by:
getSchema in interface Trigger
Returns:
the value of the 'Schema' reference.
See Also:
Trigger.setSchema(Schema), SQLTablesPackage.getTrigger_Schema(), Schema.getTriggers()

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 Trigger
Parameters:
newSchema - the new value of the 'Schema' reference.
See Also:
Trigger.getSchema()

getSubjectTable

public Table getSubjectTable()

Specified by:
getSubjectTable in interface Trigger
Returns:
the value of the 'Subject Table' reference.
See Also:
Trigger.setSubjectTable(Table), SQLTablesPackage.getTrigger_SubjectTable(), Table.getTriggers()

basicGetSubjectTable

public Table basicGetSubjectTable()


basicSetSubjectTable

public org.eclipse.emf.common.notify.NotificationChain basicSetSubjectTable(Table newSubjectTable,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)


setSubjectTable

public void setSubjectTable(Table newSubjectTable)

Specified by:
setSubjectTable in interface Trigger
Parameters:
newSubjectTable - the new value of the 'Subject Table' reference.
See Also:
Trigger.getSubjectTable()

getActionStatement

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

Specified by:
getActionStatement in interface Trigger
Returns:
the value of the 'Action Statement' containment reference list.
See Also:
SQLTablesPackage.getTrigger_ActionStatement()

getTriggerColumn

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

Specified by:
getTriggerColumn in interface Trigger
Returns:
the value of the 'Trigger Column' reference list.
See Also:
SQLTablesPackage.getTrigger_TriggerColumn()

getActionGranularity

public ActionGranularityType getActionGranularity()

Specified by:
getActionGranularity in interface Trigger
Returns:
the value of the 'Action Granularity' attribute.
See Also:
ActionGranularityType, Trigger.setActionGranularity(ActionGranularityType), SQLTablesPackage.getTrigger_ActionGranularity()

setActionGranularity

public void setActionGranularity(ActionGranularityType newActionGranularity)

Specified by:
setActionGranularity in interface Trigger
Parameters:
newActionGranularity - the new value of the 'Action Granularity' attribute.
See Also:
ActionGranularityType, Trigger.getActionGranularity()

getWhen

public SearchCondition getWhen()

Specified by:
getWhen in interface Trigger
Returns:
the value of the 'When' containment reference.
See Also:
Trigger.setWhen(SearchCondition), SQLTablesPackage.getTrigger_When()

basicSetWhen

public org.eclipse.emf.common.notify.NotificationChain basicSetWhen(SearchCondition newWhen,
                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)


setWhen

public void setWhen(SearchCondition newWhen)

Specified by:
setWhen in interface Trigger
Parameters:
newWhen - the new value of the 'When' containment reference.
See Also:
Trigger.getWhen()

getTimeStamp

public java.util.Date getTimeStamp()

Specified by:
getTimeStamp in interface Trigger
Returns:
the value of the 'Time Stamp' attribute.
See Also:
SQLTablesPackage.getTrigger_TimeStamp()

getActionTime

public ActionTimeType getActionTime()

Specified by:
getActionTime in interface Trigger
Returns:
the value of the 'Action Time' attribute.
See Also:
ActionTimeType, Trigger.setActionTime(ActionTimeType), SQLTablesPackage.getTrigger_ActionTime()

setActionTime

public void setActionTime(ActionTimeType newActionTime)

Specified by:
setActionTime in interface Trigger
Parameters:
newActionTime - the new value of the 'Action Time' attribute.
See Also:
ActionTimeType, Trigger.getActionTime()

isUpdateType

public boolean isUpdateType()

Specified by:
isUpdateType in interface Trigger
Returns:
the value of the 'Update Type' attribute.
See Also:
Trigger.setUpdateType(boolean), SQLTablesPackage.getTrigger_UpdateType()

setUpdateType

public void setUpdateType(boolean newUpdateType)

Specified by:
setUpdateType in interface Trigger
Parameters:
newUpdateType - the new value of the 'Update Type' attribute.
See Also:
Trigger.isUpdateType()

isInsertType

public boolean isInsertType()

Specified by:
isInsertType in interface Trigger
Returns:
the value of the 'Insert Type' attribute.
See Also:
Trigger.setInsertType(boolean), SQLTablesPackage.getTrigger_InsertType()

setInsertType

public void setInsertType(boolean newInsertType)

Specified by:
setInsertType in interface Trigger
Parameters:
newInsertType - the new value of the 'Insert Type' attribute.
See Also:
Trigger.isInsertType()

isDeleteType

public boolean isDeleteType()

Specified by:
isDeleteType in interface Trigger
Returns:
the value of the 'Delete Type' attribute.
See Also:
Trigger.setDeleteType(boolean), SQLTablesPackage.getTrigger_DeleteType()

setDeleteType

public void setDeleteType(boolean newDeleteType)

Specified by:
setDeleteType in interface Trigger
Parameters:
newDeleteType - the new value of the 'Delete Type' attribute.
See Also:
Trigger.isDeleteType()

getOldRow

public java.lang.String getOldRow()

Specified by:
getOldRow in interface Trigger
Returns:
the value of the 'Old Row' attribute.
See Also:
Trigger.setOldRow(String), SQLTablesPackage.getTrigger_OldRow()

setOldRow

public void setOldRow(java.lang.String newOldRow)

Specified by:
setOldRow in interface Trigger
Parameters:
newOldRow - the new value of the 'Old Row' attribute.
See Also:
Trigger.getOldRow()

getNewRow

public java.lang.String getNewRow()

Specified by:
getNewRow in interface Trigger
Returns:
the value of the 'New Row' attribute.
See Also:
Trigger.setNewRow(String), SQLTablesPackage.getTrigger_NewRow()

setNewRow

public void setNewRow(java.lang.String newNewRow)

Specified by:
setNewRow in interface Trigger
Parameters:
newNewRow - the new value of the 'New Row' attribute.
See Also:
Trigger.getNewRow()

getOldTable

public java.lang.String getOldTable()

Specified by:
getOldTable in interface Trigger
Returns:
the value of the 'Old Table' attribute.
See Also:
Trigger.setOldTable(String), SQLTablesPackage.getTrigger_OldTable()

setOldTable

public void setOldTable(java.lang.String newOldTable)

Specified by:
setOldTable in interface Trigger
Parameters:
newOldTable - the new value of the 'Old Table' attribute.
See Also:
Trigger.getOldTable()

getNewTable

public java.lang.String getNewTable()

Specified by:
getNewTable in interface Trigger
Returns:
the value of the 'New Table' attribute.
See Also:
Trigger.setNewTable(String), SQLTablesPackage.getTrigger_NewTable()

setNewTable

public void setNewTable(java.lang.String newNewTable)

Specified by:
setNewTable in interface Trigger
Parameters:
newNewTable - the new value of the 'New Table' attribute.
See Also:
Trigger.getNewTable()

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 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 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 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 SQLObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class SQLObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class SQLObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class SQLObjectImpl