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

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.tables.impl.TriggerImpl
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, org.eclipse.emf.ecore.sdo.InternalEDataObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, java.io.Serializable, 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

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 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(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)
          
 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, 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 Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'Schema' reference.
See Also:
Trigger.getSchema()

getSubjectTable

public Table getSubjectTable()
Specified by:
getSubjectTable in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - 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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Returns:
the value of the 'Action Statement' reference list.
See Also:
SQLTablesPackage.getTrigger_ActionStatement()

getTriggerColumn

public org.eclipse.emf.common.util.EList getTriggerColumn()
Specified by:
getTriggerColumn in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'Action Granularity' attribute.
See Also:
ActionGranularityType, Trigger.getActionGranularity()

getWhen

public SearchCondition getWhen()
Specified by:
getWhen in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'When' containment reference.
See Also:
Trigger.getWhen()

getTimeStamp

public java.util.Date getTimeStamp()
Specified by:
getTimeStamp in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Returns:
the value of the 'Time Stamp' attribute.
See Also:
SQLTablesPackage.getTrigger_TimeStamp()

getActionTime

public ActionTimeType getActionTime()
Specified by:
getActionTime in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'Action Time' attribute.
See Also:
ActionTimeType, Trigger.getActionTime()

isUpdateType

public boolean isUpdateType()
Specified by:
isUpdateType in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'Update Type' attribute.
See Also:
Trigger.isUpdateType()

isInsertType

public boolean isInsertType()
Specified by:
isInsertType in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'Insert Type' attribute.
See Also:
Trigger.isInsertType()

isDeleteType

public boolean isDeleteType()
Specified by:
isDeleteType in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'Delete Type' attribute.
See Also:
Trigger.isDeleteType()

getOldRow

public java.lang.String getOldRow()
Specified by:
getOldRow in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'Old Row' attribute.
See Also:
Trigger.getOldRow()

getNewRow

public java.lang.String getNewRow()
Specified by:
getNewRow in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'New Row' attribute.
See Also:
Trigger.getNewRow()

getOldTable

public java.lang.String getOldTable()
Specified by:
getOldTable in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - the new value of the 'Old Table' attribute.
See Also:
Trigger.getOldTable()

getNewTable

public java.lang.String getNewTable()
Specified by:
getNewTable in interface Trigger
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.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
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.tables.Trigger
Parameters:
value - 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,
                                                                   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