ujf.verimag.bip.Core.Priorities.impl
Class PriorityRuleImpl

java.lang.Object
  extended by EObjectImpl
      extended by ujf.verimag.bip.Core.Behaviors.impl.NamedElementImpl
          extended by ujf.verimag.bip.Core.Interactions.impl.MultiplicityElementImpl
              extended by ujf.verimag.bip.Core.Priorities.impl.PriorityRuleImpl
All Implemented Interfaces:
NamedElement, MultiplicityElement, PriorityRule

public class PriorityRuleImpl
extends MultiplicityElementImpl
implements PriorityRule

An implementation of the model object 'Priority Rule'.

The following features are implemented:


Field Summary
protected  PriorityElement greater
          The cached value of the 'Greater' containment reference.
protected  Expression guard
          The cached value of the 'Guard' containment reference.
protected  PriorityElement lower
          The cached value of the 'Lower' containment reference.
 
Fields inherited from class ujf.verimag.bip.Core.Interactions.impl.MultiplicityElementImpl
multiplicitySpecification
 
Fields inherited from class ujf.verimag.bip.Core.Behaviors.impl.NamedElementImpl
name, NAME_EDEFAULT, scope, SCOPE_EDEFAULT
 
Constructor Summary
protected PriorityRuleImpl()
           
 
Method Summary
 NotificationChain basicSetCompoundType(ComponentType newCompoundType, NotificationChain msgs)
           
 NotificationChain basicSetGreater(PriorityElement newGreater, NotificationChain msgs)
           
 NotificationChain basicSetGuard(Expression newGuard, NotificationChain msgs)
           
 NotificationChain basicSetLower(PriorityElement newLower, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 ComponentType getCompoundType()
           
 PriorityElement getGreater()
           
 Expression getGuard()
           
 PriorityElement getLower()
           
 void setCompoundType(ComponentType newCompoundType)
           
 void setGreater(PriorityElement newGreater)
           
 void setGuard(Expression newGuard)
           
 void setLower(PriorityElement newLower)
           
 
Methods inherited from class ujf.verimag.bip.Core.Interactions.impl.MultiplicityElementImpl
getMultiplicitySpecification
 
Methods inherited from class ujf.verimag.bip.Core.Behaviors.impl.NamedElementImpl
getName, getScope, setName, setScope, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ujf.verimag.bip.Core.Interactions.MultiplicityElement
getMultiplicitySpecification
 
Methods inherited from interface ujf.verimag.bip.Core.Behaviors.NamedElement
getName, getScope, setName, setScope
 

Field Detail

guard

protected Expression guard
The cached value of the 'Guard' containment reference.

See Also:
getGuard()

lower

protected PriorityElement lower
The cached value of the 'Lower' containment reference.

See Also:
getLower()

greater

protected PriorityElement greater
The cached value of the 'Greater' containment reference.

See Also:
getGreater()
Constructor Detail

PriorityRuleImpl

protected PriorityRuleImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class MultiplicityElementImpl

getCompoundType

public ComponentType getCompoundType()

Specified by:
getCompoundType in interface PriorityRule
Returns:
the value of the 'Compound Type' container reference.
See Also:
PriorityRule.setCompoundType(ComponentType), PrioritiesPackage.getPriorityRule_CompoundType(), ComponentType.getPriorityRule()

basicSetCompoundType

public NotificationChain basicSetCompoundType(ComponentType newCompoundType,
                                              NotificationChain msgs)


setCompoundType

public void setCompoundType(ComponentType newCompoundType)

Specified by:
setCompoundType in interface PriorityRule
Parameters:
newCompoundType - the new value of the 'Compound Type' container reference.
See Also:
PriorityRule.getCompoundType()

getGuard

public Expression getGuard()

Specified by:
getGuard in interface PriorityRule
Returns:
the value of the 'Guard' containment reference.
See Also:
PriorityRule.setGuard(Expression), PrioritiesPackage.getPriorityRule_Guard()

basicSetGuard

public NotificationChain basicSetGuard(Expression newGuard,
                                       NotificationChain msgs)


setGuard

public void setGuard(Expression newGuard)

Specified by:
setGuard in interface PriorityRule
Parameters:
newGuard - the new value of the 'Guard' containment reference.
See Also:
PriorityRule.getGuard()

getLower

public PriorityElement getLower()

Specified by:
getLower in interface PriorityRule
Returns:
the value of the 'Lower' containment reference.
See Also:
PriorityRule.setLower(PriorityElement), PrioritiesPackage.getPriorityRule_Lower()

basicSetLower

public NotificationChain basicSetLower(PriorityElement newLower,
                                       NotificationChain msgs)


setLower

public void setLower(PriorityElement newLower)

Specified by:
setLower in interface PriorityRule
Parameters:
newLower - the new value of the 'Lower' containment reference.
See Also:
PriorityRule.getLower()

getGreater

public PriorityElement getGreater()

Specified by:
getGreater in interface PriorityRule
Returns:
the value of the 'Greater' containment reference.
See Also:
PriorityRule.setGreater(PriorityElement), PrioritiesPackage.getPriorityRule_Greater()

basicSetGreater

public NotificationChain basicSetGreater(PriorityElement newGreater,
                                         NotificationChain msgs)


setGreater

public void setGreater(PriorityElement newGreater)

Specified by:
setGreater in interface PriorityRule
Parameters:
newGreater - the new value of the 'Greater' containment reference.
See Also:
PriorityRule.getGreater()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)


eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class MultiplicityElementImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)


eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class MultiplicityElementImpl

eSet

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

Overrides:
eSet in class MultiplicityElementImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class MultiplicityElementImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class MultiplicityElementImpl