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

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.routines.impl.RoutineImpl
                                  extended by org.eclipse.wst.rdb.internal.models.sql.routines.impl.FunctionImpl
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, Function, Routine, 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

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
 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(int featureID, boolean resolve, boolean coreType)
           
 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)
           
 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, basicSetSource, eInverseAdd, getAuthorizationID, getCreationTS, getExternalName, getInputParameters, getLanguage, getLastAlteredTS, getOutputParameters, getParameters, getParameterStyle, getSchema, getSecurity, getSource, getSpecificName, getSqlDataAccess, isDeterministic, setAuthorizationID, setCreationTS, setDeterministic, setExternalName, setLanguage, setLastAlteredTS, setParameterStyle, setSchema, setSecurity, setSource, 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, 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.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, setSource, setSpecificName, setSqlDataAccess
 
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

isNullCall

public boolean isNullCall()

Specified by:
isNullCall in interface 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
Parameters:
newNullCall - the new value of the 'Null Call' attribute.
See Also:
Function.isNullCall()

isStatic

public boolean isStatic()

Specified by:
isStatic in interface 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
Parameters:
newStatic - the new value of the 'Static' attribute.
See Also:
Function.isStatic()

getTransformGroup

public java.lang.String getTransformGroup()

Specified by:
getTransformGroup in interface 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
Parameters:
newTransformGroup - the new value of the 'Transform Group' attribute.
See Also:
Function.getTransformGroup()

isTypePreserving

public boolean isTypePreserving()

Specified by:
isTypePreserving in interface 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
Parameters:
newTypePreserving - the new value of the 'Type Preserving' attribute.
See Also:
Function.isTypePreserving()

isMutator

public boolean isMutator()

Specified by:
isMutator in interface 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
Parameters:
newMutator - the new value of the 'Mutator' attribute.
See Also:
Function.isMutator()

getReturnTable

public RoutineResultTable getReturnTable()

Specified by:
getReturnTable in interface 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
Parameters:
newReturnTable - the new value of the 'Return Table' containment reference.
See Also:
Function.getReturnTable()

getReturnScaler

public Parameter getReturnScaler()

Specified by:
getReturnScaler in interface 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
Parameters:
newReturnScaler - the new value of the 'Return Scaler' containment reference.
See Also:
Function.getReturnScaler()

getReturnCast

public Parameter getReturnCast()

Specified by:
getReturnCast in interface 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
Parameters:
newReturnCast - the new value of the 'Return Cast' containment reference.
See Also:
Function.getReturnCast()

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 RoutineImpl

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 RoutineImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class RoutineImpl

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class RoutineImpl