de.uka.ipd.sdq.markov.impl
Class TransitionImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.markov.impl.EntityImpl
          extended by de.uka.ipd.sdq.markov.impl.TransitionImpl
All Implemented Interfaces:
Entity, Transition

public class TransitionImpl
extends EntityImpl
implements Transition

An implementation of the model object 'Transition'.

The following features are implemented:


Field Summary
protected  State fromState
          The cached value of the 'From State' reference.
protected  double probability
          The cached value of the 'Probability' attribute.
protected static double PROBABILITY_EDEFAULT
          The default value of the 'Probability' attribute.
protected  State toState
          The cached value of the 'To State' reference.
 
Fields inherited from class de.uka.ipd.sdq.markov.impl.EntityImpl
name, NAME_EDEFAULT
 
Constructor Summary
protected TransitionImpl()
           
 
Method Summary
 State basicGetFromState()
           
 State basicGetToState()
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 State getFromState()
           
 double getProbability()
           
 State getToState()
           
 void setFromState(State newFromState)
           
 void setProbability(double newProbability)
           
 void setToState(State newToState)
           
 String toString()
           
 
Methods inherited from class de.uka.ipd.sdq.markov.impl.EntityImpl
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.uka.ipd.sdq.markov.Entity
getName, setName
 

Field Detail

PROBABILITY_EDEFAULT

protected static final double PROBABILITY_EDEFAULT
The default value of the 'Probability' attribute.

See Also:
getProbability(), Constant Field Values

probability

protected double probability
The cached value of the 'Probability' attribute.

See Also:
getProbability()

fromState

protected State fromState
The cached value of the 'From State' reference.

See Also:
getFromState()

toState

protected State toState
The cached value of the 'To State' reference.

See Also:
getToState()
Constructor Detail

TransitionImpl

protected TransitionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EntityImpl

getProbability

public double getProbability()

Specified by:
getProbability in interface Transition
Returns:
the value of the 'Probability' attribute.
See Also:
Transition.setProbability(double), MarkovPackage.getTransition_Probability()

setProbability

public void setProbability(double newProbability)

Specified by:
setProbability in interface Transition
Parameters:
newProbability - the new value of the 'Probability' attribute.
See Also:
Transition.getProbability()

getFromState

public State getFromState()

Specified by:
getFromState in interface Transition
Returns:
the value of the 'From State' reference.
See Also:
Transition.setFromState(State), MarkovPackage.getTransition_FromState()

basicGetFromState

public State basicGetFromState()


setFromState

public void setFromState(State newFromState)

Specified by:
setFromState in interface Transition
Parameters:
newFromState - the new value of the 'From State' reference.
See Also:
Transition.getFromState()

getToState

public State getToState()

Specified by:
getToState in interface Transition
Returns:
the value of the 'To State' reference.
See Also:
Transition.setToState(State), MarkovPackage.getTransition_ToState()

basicGetToState

public State basicGetToState()


setToState

public void setToState(State newToState)

Specified by:
setToState in interface Transition
Parameters:
newToState - the new value of the 'To State' reference.
See Also:
Transition.getToState()

eGet

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

Overrides:
eGet in class EntityImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class EntityImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class EntityImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class EntityImpl

toString

public String toString()

Overrides:
toString in class EntityImpl