org.eclipse.datatools.modelbase.sql.query.impl
Class ValueExpressionFunctionImpl

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.datatools.modelbase.sql.schema.impl.EModelElementImpl
                      extended by org.eclipse.datatools.modelbase.sql.schema.impl.ENamedElementImpl
                          extended by org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
                              extended by org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
                                  extended by org.eclipse.datatools.modelbase.sql.query.impl.QueryValueExpressionImpl
                                      extended by org.eclipse.datatools.modelbase.sql.query.impl.ValueExpressionAtomicImpl
                                          extended by org.eclipse.datatools.modelbase.sql.query.impl.ValueExpressionFunctionImpl
All Implemented Interfaces:
ValueExpression, QueryValueExpression, SQLQueryObject, ValueExpressionAtomic, ValueExpressionFunction, SQLObject, 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
Direct Known Subclasses:
XMLAggregateFunctionImpl, XMLSerializeFunctionImpl, XMLValueFunctionImpl

public class ValueExpressionFunctionImpl
extends ValueExpressionAtomicImpl
implements ValueExpressionFunction

An implementation of the model object 'SQL Value Expression Function'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
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
 Function basicGetFunction()
           
 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)
           
 Function getFunction()
           
 org.eclipse.emf.common.util.EList getParameterList()
           
 boolean isColumnFunction()
           
 boolean isDistinct()
           
 boolean isSpecialRegister()
           
 void setColumnFunction(boolean newColumnFunction)
           
 void setDistinct(boolean newDistinct)
           
 void setFunction(Function newFunction)
           
 void setSpecialRegister(boolean newSpecialRegister)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.QueryValueExpressionImpl
basicSetBasicLeft, basicSetBasicRight, basicSetBetweenLeft, basicSetBetweenRight1, basicSetBetweenRight2, basicSetCallStatement, basicSetDataType, basicSetGroupingExpr, basicSetInValueListLeft, basicSetInValueListRight, basicSetInValueRowSelectLeft, basicSetInValueSelectLeft, basicSetLikeEscape, basicSetLikeMatching, basicSetLikePattern, basicSetNest, basicSetOrderByValueExpr, basicSetPredicateNull, basicSetQuantifiedRowSelectLeft, basicSetQuantifiedValueSelectLeft, basicSetResultColumn, basicSetTableFunction, basicSetUpdateSourceExprList, basicSetValueExprCaseElse, basicSetValueExprCaseSearchContent, basicSetValueExprCaseSimple, basicSetValueExprCaseSimpleContentResult, basicSetValueExprCaseSimpleContentWhen, basicSetValueExprCast, basicSetValueExprCombinedLeft, basicSetValueExprCombinedRight, basicSetValueExprFunction, basicSetValueExprLabeledDuration, basicSetValueExprRow, basicSetValuesRow, eBasicRemoveFromContainerFeature, getBasicLeft, getBasicRight, getBetweenLeft, getBetweenRight1, getBetweenRight2, getCallStatement, getDataType, getGroupingExpr, getInValueListLeft, getInValueListRight, getInValueRowSelectLeft, getInValueSelectLeft, getLikeEscape, getLikeMatching, getLikePattern, getNest, getOrderByValueExpr, getPredicateNull, getQuantifiedRowSelectLeft, getQuantifiedValueSelectLeft, getResultColumn, getSQL, getTableFunction, getUnaryOperator, getUpdateSourceExprList, getValueExprCaseElse, getValueExprCaseSearchContent, getValueExprCaseSimple, getValueExprCaseSimpleContentResult, getValueExprCaseSimpleContentWhen, getValueExprCast, getValueExprCombinedLeft, getValueExprCombinedRight, getValueExprFunction, getValueExprLabeledDuration, getValueExprRow, getValuesRow, setBasicLeft, setBasicRight, setBetweenLeft, setBetweenRight1, setBetweenRight2, setCallStatement, setDataType, setGroupingExpr, setInValueListLeft, setInValueListRight, setInValueRowSelectLeft, setInValueSelectLeft, setLikeEscape, setLikeMatching, setLikePattern, setNest, setOrderByValueExpr, setPredicateNull, setQuantifiedRowSelectLeft, setQuantifiedValueSelectLeft, setResultColumn, setTableFunction, setUnaryOperator, setUpdateSourceExprList, setValueExprCaseElse, setValueExprCaseSearchContent, setValueExprCaseSimple, setValueExprCaseSimpleContentResult, setValueExprCaseSimpleContentWhen, setValueExprCast, setValueExprCombinedLeft, setValueExprCombinedRight, setValueExprFunction, setValueExprLabeledDuration, setValueExprRow, setValuesRow
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
getSourceInfo, setSourceInfo, setSQL
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
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, 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.datatools.modelbase.sql.query.QueryValueExpression
getBasicLeft, getBasicRight, getBetweenLeft, getBetweenRight1, getBetweenRight2, getCallStatement, getDataType, getGroupingExpr, getInValueListLeft, getInValueListRight, getInValueRowSelectLeft, getInValueSelectLeft, getLikeEscape, getLikeMatching, getLikePattern, getNest, getOrderByValueExpr, getPredicateNull, getQuantifiedRowSelectLeft, getQuantifiedValueSelectLeft, getResultColumn, getTableFunction, getUnaryOperator, getUpdateSourceExprList, getValueExprCaseElse, getValueExprCaseSearchContent, getValueExprCaseSimple, getValueExprCaseSimpleContentResult, getValueExprCaseSimpleContentWhen, getValueExprCast, getValueExprCombinedLeft, getValueExprCombinedRight, getValueExprFunction, getValueExprLabeledDuration, getValueExprRow, getValuesRow, setBasicLeft, setBasicRight, setBetweenLeft, setBetweenRight1, setBetweenRight2, setCallStatement, setDataType, setGroupingExpr, setInValueListLeft, setInValueListRight, setInValueRowSelectLeft, setInValueSelectLeft, setLikeEscape, setLikeMatching, setLikePattern, setNest, setOrderByValueExpr, setPredicateNull, setQuantifiedRowSelectLeft, setQuantifiedValueSelectLeft, setResultColumn, setTableFunction, setUnaryOperator, setUpdateSourceExprList, setValueExprCaseElse, setValueExprCaseSearchContent, setValueExprCaseSimple, setValueExprCaseSimpleContentResult, setValueExprCaseSimpleContentWhen, setValueExprCast, setValueExprCombinedLeft, setValueExprCombinedRight, setValueExprFunction, setValueExprLabeledDuration, setValueExprRow, setValuesRow
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.query.SQLQueryObject
getSourceInfo, getSQL, setSourceInfo, setSQL
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, 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, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.expressions.ValueExpression
getSQL, setSQL
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

isSpecialRegister

public boolean isSpecialRegister()

Specified by:
isSpecialRegister in interface ValueExpressionFunction
Returns:
the value of the 'Special Register' attribute.
See Also:
ValueExpressionFunction.setSpecialRegister(boolean), SQLQueryModelPackage.getValueExpressionFunction_SpecialRegister()

setSpecialRegister

public void setSpecialRegister(boolean newSpecialRegister)

Specified by:
setSpecialRegister in interface ValueExpressionFunction
Parameters:
newSpecialRegister - the new value of the 'Special Register' attribute.
See Also:
ValueExpressionFunction.isSpecialRegister()

isDistinct

public boolean isDistinct()

Specified by:
isDistinct in interface ValueExpressionFunction
Returns:
the value of the 'Distinct' attribute.
See Also:
ValueExpressionFunction.setDistinct(boolean), SQLQueryModelPackage.getValueExpressionFunction_Distinct()

setDistinct

public void setDistinct(boolean newDistinct)

Specified by:
setDistinct in interface ValueExpressionFunction
Parameters:
newDistinct - the new value of the 'Distinct' attribute.
See Also:
ValueExpressionFunction.isDistinct()

isColumnFunction

public boolean isColumnFunction()

Specified by:
isColumnFunction in interface ValueExpressionFunction
Returns:
the value of the 'Column Function' attribute.
See Also:
ValueExpressionFunction.setColumnFunction(boolean), SQLQueryModelPackage.getValueExpressionFunction_ColumnFunction()

setColumnFunction

public void setColumnFunction(boolean newColumnFunction)

Specified by:
setColumnFunction in interface ValueExpressionFunction
Parameters:
newColumnFunction - the new value of the 'Column Function' attribute.
See Also:
ValueExpressionFunction.isColumnFunction()

getParameterList

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

Specified by:
getParameterList in interface ValueExpressionFunction
Returns:
the value of the 'Parameter List' containment reference list.
See Also:
SQLQueryModelPackage.getValueExpressionFunction_ParameterList(), QueryValueExpression.getValueExprFunction()

getFunction

public Function getFunction()

Specified by:
getFunction in interface ValueExpressionFunction
Returns:
the value of the 'Function' reference.
See Also:
ValueExpressionFunction.setFunction(Function), SQLQueryModelPackage.getValueExpressionFunction_Function()

basicGetFunction

public Function basicGetFunction()


setFunction

public void setFunction(Function newFunction)

Specified by:
setFunction in interface ValueExpressionFunction
Parameters:
newFunction - the new value of the 'Function' reference.
See Also:
ValueExpressionFunction.getFunction()

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 QueryValueExpressionImpl

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 QueryValueExpressionImpl

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 QueryValueExpressionImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class QueryValueExpressionImpl