org.eclipse.wst.rdb.internal.models.sql.routines.impl
Class FunctionImpl

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.routines.impl.RoutineImpl
                                            |
                                            +--org.eclipse.wst.rdb.internal.models.sql.routines.impl.FunctionImpl
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, Function, org.eclipse.emf.ecore.sdo.InternalEDataObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, Routine, java.io.Serializable, SQLObject
Direct Known Subclasses:
BuiltInFunctionImpl, MethodImpl, UserDefinedFunctionImpl

public class FunctionImpl
extends RoutineImpl
implements Function

An implementation of the model object 'Function'.

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
 org.eclipse.emf.common.notify.NotificationChain basicSetReturnCast(Parameter newReturnCast, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 org.eclipse.emf.common.notify.NotificationChain basicSetReturnScaler(Parameter newReturnScaler, org.eclipse.emf.common.notify.NotificationChain msgs)
          
 org.eclipse.emf.common.notify.NotificationChain basicSetReturnTable(RoutineResultTable newReturnTable, 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)
          
 Parameter getReturnCast()
          
 Parameter getReturnScaler()
          
 RoutineResultTable getReturnTable()
          
 java.lang.String getTransformGroup()
          
 boolean isMutator()
          
 boolean isNullCall()
          
 boolean isStatic()
          
 boolean isTypePreserving()
          
 void setMutator(boolean newMutator)
          
 void setNullCall(boolean newNullCall)
          
 void setReturnCast(Parameter newReturnCast)
          
 void setReturnScaler(Parameter newReturnScaler)
          
 void setReturnTable(RoutineResultTable newReturnTable)
          
 void setStatic(boolean newStatic)
          
 void setTransformGroup(java.lang.String newTransformGroup)
          
 void setTypePreserving(boolean newTypePreserving)
          
 java.lang.String toString()
          
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.routines.impl.RoutineImpl
basicGetSchema, basicSetSchema, getAuthorizationID, getCreationTS, getExternalName, getInputParameters, getLanguage, getLastAlteredTS, getOutputParameters, getParameters, getParameterStyle, getSchema, getSecurity, getSource, getSpecificName, getSqlDataAccess, isDeterministic, setAuthorizationID, setCreationTS, setDeterministic, setExternalName, setLanguage, setLastAlteredTS, setParameterStyle, setSchema, setSecurity, setSpecificName, setSqlDataAccess
 
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.routines.Routine
getAuthorizationID, getCreationTS, getExternalName, getInputParameters, getLanguage, getLastAlteredTS, getOutputParameters, getParameters, getParameterStyle, getSchema, getSecurity, getSource, getSpecificName, getSqlDataAccess, isDeterministic, setAuthorizationID, setCreationTS, setDeterministic, setExternalName, setLanguage, setLastAlteredTS, setParameterStyle, setSchema, setSecurity, setSpecificName, setSqlDataAccess
 
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

isNullCall

public boolean isNullCall()
Specified by:
isNullCall in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Returns:
the value of the 'Null Call' attribute.
See Also:
Function.setNullCall(boolean), SQLRoutinesPackage.getFunction_NullCall()

setNullCall

public void setNullCall(boolean newNullCall)
Specified by:
setNullCall in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Parameters:
value - the new value of the 'Null Call' attribute.
See Also:
Function.isNullCall()

isStatic

public boolean isStatic()
Specified by:
isStatic in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Returns:
the value of the 'Static' attribute.
See Also:
Function.setStatic(boolean), SQLRoutinesPackage.getFunction_Static()

setStatic

public void setStatic(boolean newStatic)
Specified by:
setStatic in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Parameters:
value - the new value of the 'Static' attribute.
See Also:
Function.isStatic()

getTransformGroup

public java.lang.String getTransformGroup()
Specified by:
getTransformGroup in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Returns:
the value of the 'Transform Group' attribute.
See Also:
Function.setTransformGroup(String), SQLRoutinesPackage.getFunction_TransformGroup()

setTransformGroup

public void setTransformGroup(java.lang.String newTransformGroup)
Specified by:
setTransformGroup in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Parameters:
value - the new value of the 'Transform Group' attribute.
See Also:
Function.getTransformGroup()

isTypePreserving

public boolean isTypePreserving()
Specified by:
isTypePreserving in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Returns:
the value of the 'Type Preserving' attribute.
See Also:
Function.setTypePreserving(boolean), SQLRoutinesPackage.getFunction_TypePreserving()

setTypePreserving

public void setTypePreserving(boolean newTypePreserving)
Specified by:
setTypePreserving in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Parameters:
value - the new value of the 'Type Preserving' attribute.
See Also:
Function.isTypePreserving()

isMutator

public boolean isMutator()
Specified by:
isMutator in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Returns:
the value of the 'Mutator' attribute.
See Also:
Function.setMutator(boolean), SQLRoutinesPackage.getFunction_Mutator()

setMutator

public void setMutator(boolean newMutator)
Specified by:
setMutator in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Parameters:
value - the new value of the 'Mutator' attribute.
See Also:
Function.isMutator()

getReturnTable

public RoutineResultTable getReturnTable()
Specified by:
getReturnTable in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Returns:
the value of the 'Return Table' containment reference.
See Also:
Function.setReturnTable(RoutineResultTable), SQLRoutinesPackage.getFunction_ReturnTable()

basicSetReturnTable

public org.eclipse.emf.common.notify.NotificationChain basicSetReturnTable(RoutineResultTable newReturnTable,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)

setReturnTable

public void setReturnTable(RoutineResultTable newReturnTable)
Specified by:
setReturnTable in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Parameters:
value - the new value of the 'Return Table' containment reference.
See Also:
Function.getReturnTable()

getReturnScaler

public Parameter getReturnScaler()
Specified by:
getReturnScaler in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Returns:
the value of the 'Return Scaler' containment reference.
See Also:
Function.setReturnScaler(Parameter), SQLRoutinesPackage.getFunction_ReturnScaler()

basicSetReturnScaler

public org.eclipse.emf.common.notify.NotificationChain basicSetReturnScaler(Parameter newReturnScaler,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)

setReturnScaler

public void setReturnScaler(Parameter newReturnScaler)
Specified by:
setReturnScaler in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Parameters:
value - the new value of the 'Return Scaler' containment reference.
See Also:
Function.getReturnScaler()

getReturnCast

public Parameter getReturnCast()
Specified by:
getReturnCast in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Returns:
the value of the 'Return Cast' containment reference.
See Also:
Function.setReturnCast(Parameter), SQLRoutinesPackage.getFunction_ReturnCast()

basicSetReturnCast

public org.eclipse.emf.common.notify.NotificationChain basicSetReturnCast(Parameter newReturnCast,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)

setReturnCast

public void setReturnCast(Parameter newReturnCast)
Specified by:
setReturnCast in interface Function
Following copied from interface: org.eclipse.wst.rdb.internal.models.sql.routines.Function
Parameters:
value - the new value of the 'Return Cast' containment reference.
See Also:
Function.getReturnCast()

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 RoutineImpl

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 RoutineImpl

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 RoutineImpl

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 RoutineImpl

eUnset

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

eIsSet

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

toString

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