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

java.lang.Object
  extended byENamedElementImpl
      extended byorg.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
          extended byorg.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
              extended byorg.eclipse.datatools.modelbase.sql.query.impl.QueryValueExpressionImpl
                  extended byorg.eclipse.datatools.modelbase.sql.query.impl.ValueExpressionAtomicImpl
                      extended byorg.eclipse.datatools.modelbase.sql.query.impl.ValueExpressionFunctionImpl
All Implemented Interfaces:
QueryValueExpression, SQLObject, SQLQueryObject, ValueExpression, ValueExpressionAtomic, ValueExpressionFunction
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:

See Also:
Serialized Form

Method Summary
 Function basicGetFunction()
           
 NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
           
 java.lang.Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void eSet(EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eUnset(EStructuralFeature eFeature)
           
 Function getFunction()
           
 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
basicSetDataType, getBasicLeft, getBasicRight, getBetweenLeft, getBetweenRight1, getBetweenRight2, getDataType, getGroupingExpr, getInValueListLeft, getInValueListRight, getInValueRowSelectLeft, getInValueSelectLeft, getLikeEscape, getLikeMatching, getLikePattern, getNest, getOrderByValueExpr, getPredicateNull, getQuantifiedRowSelectLeft, getQuantifiedValueSelectLeft, getResultColumn, getSQL, getUnaryOperator, getUpdateSourceExprList, getValueExprCaseElse, getValueExprCaseSearchContent, getValueExprCaseSimple, getValueExprCaseSimpleContentResult, getValueExprCaseSimpleContentWhen, getValueExprCast, getValueExprCombinedLeft, getValueExprCombinedRight, getValueExprFunction, getValueExprLabeledDuration, getValuesRow, setBasicLeft, setBasicRight, setBetweenLeft, setBetweenRight1, setBetweenRight2, setDataType, setGroupingExpr, setInValueListLeft, setInValueListRight, setInValueRowSelectLeft, setInValueSelectLeft, setLikeEscape, setLikeMatching, setLikePattern, setNest, setOrderByValueExpr, setPredicateNull, setQuantifiedRowSelectLeft, setQuantifiedValueSelectLeft, setResultColumn, setSQL, setUnaryOperator, setUpdateSourceExprList, setValueExprCaseElse, setValueExprCaseSearchContent, setValueExprCaseSimple, setValueExprCaseSimpleContentResult, setValueExprCaseSimpleContentWhen, setValueExprCast, setValueExprCombinedLeft, setValueExprCombinedRight, setValueExprFunction, setValueExprLabeledDuration, setValuesRow
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.query.impl.SQLQueryObjectImpl
getSourceInfo, setSourceInfo
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getInstanceProperties, getInt, getInt, getLabel, getList, getList, getLong, getLong, getSequence, getSequence, getShort, getShort, getString, getString, getType, isSet, isSet, removeEAnnotationDetail, set, set, setAnnotationDetail, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBoolean, setBoolean, setByte, setByte, setBytes, setBytes, setChar, setChar, setDataObject, setDataObject, setDate, setDate, setDescription, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLabel, setList, setList, setLong, setLong, setShort, setShort, setString, setString, unset, unset, writeReplace
 
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, getDataType, getGroupingExpr, getInValueListLeft, getInValueListRight, getInValueRowSelectLeft, getInValueSelectLeft, getLikeEscape, getLikeMatching, getLikePattern, getNest, getOrderByValueExpr, getPredicateNull, getQuantifiedRowSelectLeft, getQuantifiedValueSelectLeft, getResultColumn, getUnaryOperator, getUpdateSourceExprList, getValueExprCaseElse, getValueExprCaseSearchContent, getValueExprCaseSimple, getValueExprCaseSimpleContentResult, getValueExprCaseSimpleContentWhen, getValueExprCast, getValueExprCombinedLeft, getValueExprCombinedRight, getValueExprFunction, getValueExprLabeledDuration, getValuesRow, setBasicLeft, setBasicRight, setBetweenLeft, setBetweenRight1, setBetweenRight2, setDataType, setGroupingExpr, setInValueListLeft, setInValueListRight, setInValueRowSelectLeft, setInValueSelectLeft, setLikeEscape, setLikeMatching, setLikePattern, setNest, setOrderByValueExpr, setPredicateNull, setQuantifiedRowSelectLeft, setQuantifiedValueSelectLeft, setResultColumn, setUnaryOperator, setUpdateSourceExprList, setValueExprCaseElse, setValueExprCaseSearchContent, setValueExprCaseSimple, setValueExprCaseSimpleContentResult, setValueExprCaseSimpleContentWhen, setValueExprCast, setValueExprCombinedLeft, setValueExprCombinedRight, setValueExprFunction, setValueExprLabeledDuration, 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, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.expressions.ValueExpression
getSQL, setSQL
 

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 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 NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     java.lang.Class baseClass,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class ValueExpressionAtomicImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        java.lang.Class baseClass,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class ValueExpressionAtomicImpl

eBasicRemoveFromContainer

public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainer in class ValueExpressionAtomicImpl

eGet

public java.lang.Object eGet(EStructuralFeature eFeature,
                             boolean resolve)

Overrides:
eGet in class ValueExpressionAtomicImpl

eSet

public void eSet(EStructuralFeature eFeature,
                 java.lang.Object newValue)

Overrides:
eSet in class ValueExpressionAtomicImpl

eUnset

public void eUnset(EStructuralFeature eFeature)

Overrides:
eUnset in class ValueExpressionAtomicImpl

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

Overrides:
eIsSet in class ValueExpressionAtomicImpl

toString

public java.lang.String toString()

Overrides:
toString in class QueryValueExpressionImpl


Copyright © 2006 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.