org.openxma.dsl.dom.model.impl
Class AggregateFunctionImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.openxma.dsl.dom.model.impl.ExpressionImpl
                      extended by org.openxma.dsl.dom.model.impl.AggregateFunctionImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, AggregateFunction, Expression

public class AggregateFunctionImpl
extends ExpressionImpl
implements AggregateFunction

An implementation of the model object 'Aggregate Function'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends 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
protected  Expression aggregateExpression
          The cached value of the 'Aggregate Expression' containment reference.
protected  boolean all
          The cached value of the 'All' attribute.
protected static boolean ALL_EDEFAULT
          The default value of the 'All' attribute.
protected  CollectionFunction collection
          The cached value of the 'Collection' containment reference.
protected  boolean distinct
          The cached value of the 'Distinct' attribute.
protected static boolean DISTINCT_EDEFAULT
          The default value of the 'Distinct' attribute.
protected  String from
          The cached value of the 'From' attribute.
protected static String FROM_EDEFAULT
          The default value of the 'From' attribute.
protected  String function
          The cached value of the 'Function' attribute.
protected static String FUNCTION_EDEFAULT
          The default value of the 'Function' attribute.
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected AggregateFunctionImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetAggregateExpression(Expression newAggregateExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetCollection(CollectionFunction newCollection, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Expression getAggregateExpression()
           
 CollectionFunction getCollection()
           
 String getFrom()
           
 String getFunction()
           
 boolean isAll()
           
 boolean isDistinct()
           
 void setAggregateExpression(Expression newAggregateExpression)
           
 void setAll(boolean newAll)
           
 void setCollection(CollectionFunction newCollection)
           
 void setDistinct(boolean newDistinct)
           
 void setFrom(String newFrom)
           
 void setFunction(String newFunction)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

FUNCTION_EDEFAULT

protected static final String FUNCTION_EDEFAULT
The default value of the 'Function' attribute.

See Also:
getFunction()

function

protected String function
The cached value of the 'Function' attribute.

See Also:
getFunction()

aggregateExpression

protected Expression aggregateExpression
The cached value of the 'Aggregate Expression' containment reference.

See Also:
getAggregateExpression()

ALL_EDEFAULT

protected static final boolean ALL_EDEFAULT
The default value of the 'All' attribute.

See Also:
isAll(), Constant Field Values

all

protected boolean all
The cached value of the 'All' attribute.

See Also:
isAll()

DISTINCT_EDEFAULT

protected static final boolean DISTINCT_EDEFAULT
The default value of the 'Distinct' attribute.

See Also:
isDistinct(), Constant Field Values

distinct

protected boolean distinct
The cached value of the 'Distinct' attribute.

See Also:
isDistinct()

FROM_EDEFAULT

protected static final String FROM_EDEFAULT
The default value of the 'From' attribute.

See Also:
getFrom()

from

protected String from
The cached value of the 'From' attribute.

See Also:
getFrom()

collection

protected CollectionFunction collection
The cached value of the 'Collection' containment reference.

See Also:
getCollection()
Constructor Detail

AggregateFunctionImpl

protected AggregateFunctionImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class ExpressionImpl

getFunction

public String getFunction()

Specified by:
getFunction in interface AggregateFunction
Returns:
the value of the 'Function' attribute.
See Also:
AggregateFunction.setFunction(String), DomPackage.getAggregateFunction_Function()

setFunction

public void setFunction(String newFunction)

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

getAggregateExpression

public Expression getAggregateExpression()

Specified by:
getAggregateExpression in interface AggregateFunction
Returns:
the value of the 'Aggregate Expression' containment reference.
See Also:
AggregateFunction.setAggregateExpression(Expression), DomPackage.getAggregateFunction_AggregateExpression()

basicSetAggregateExpression

public org.eclipse.emf.common.notify.NotificationChain basicSetAggregateExpression(Expression newAggregateExpression,
                                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)


setAggregateExpression

public void setAggregateExpression(Expression newAggregateExpression)

Specified by:
setAggregateExpression in interface AggregateFunction
Parameters:
newAggregateExpression - the new value of the 'Aggregate Expression' containment reference.
See Also:
AggregateFunction.getAggregateExpression()

isAll

public boolean isAll()

Specified by:
isAll in interface AggregateFunction
Returns:
the value of the 'All' attribute.
See Also:
AggregateFunction.setAll(boolean), DomPackage.getAggregateFunction_All()

setAll

public void setAll(boolean newAll)

Specified by:
setAll in interface AggregateFunction
Parameters:
newAll - the new value of the 'All' attribute.
See Also:
AggregateFunction.isAll()

isDistinct

public boolean isDistinct()

Specified by:
isDistinct in interface AggregateFunction
Returns:
the value of the 'Distinct' attribute.
See Also:
AggregateFunction.setDistinct(boolean), DomPackage.getAggregateFunction_Distinct()

setDistinct

public void setDistinct(boolean newDistinct)

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

getFrom

public String getFrom()

Specified by:
getFrom in interface AggregateFunction
Returns:
the value of the 'From' attribute.
See Also:
AggregateFunction.setFrom(String), DomPackage.getAggregateFunction_From()

setFrom

public void setFrom(String newFrom)

Specified by:
setFrom in interface AggregateFunction
Parameters:
newFrom - the new value of the 'From' attribute.
See Also:
AggregateFunction.getFrom()

getCollection

public CollectionFunction getCollection()

Specified by:
getCollection in interface AggregateFunction
Returns:
the value of the 'Collection' containment reference.
See Also:
AggregateFunction.setCollection(CollectionFunction), DomPackage.getAggregateFunction_Collection()

basicSetCollection

public org.eclipse.emf.common.notify.NotificationChain basicSetCollection(CollectionFunction newCollection,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


setCollection

public void setCollection(CollectionFunction newCollection)

Specified by:
setCollection in interface AggregateFunction
Parameters:
newCollection - the new value of the 'Collection' containment reference.
See Also:
AggregateFunction.getCollection()

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl


Copyright © 2013. All Rights Reserved.