de.uka.ipd.sdq.probfunction.impl
Class ComplexImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.probfunction.impl.ComplexImpl
All Implemented Interfaces:
Complex

public class ComplexImpl
extends EObjectImpl
implements Complex

An implementation of the model object 'Complex'.

The following features are implemented:


Field Summary
static String copyright
           
protected  double imaginary
          The cached value of the 'Imaginary' attribute.
protected static double IMAGINARY_EDEFAULT
          The default value of the 'Imaginary' attribute.
protected  double real
          The cached value of the 'Real' attribute.
protected static double REAL_EDEFAULT
          The default value of the 'Real' attribute.
 
Constructor Summary
protected ComplexImpl()
           
 
Method Summary
 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)
           
 double getImaginary()
           
 double getReal()
           
 void setImaginary(double newImaginary)
           
 void setReal(double newReal)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

REAL_EDEFAULT

protected static final double REAL_EDEFAULT
The default value of the 'Real' attribute.

See Also:
getReal(), Constant Field Values

real

protected double real
The cached value of the 'Real' attribute.

See Also:
getReal()

IMAGINARY_EDEFAULT

protected static final double IMAGINARY_EDEFAULT
The default value of the 'Imaginary' attribute.

See Also:
getImaginary(), Constant Field Values

imaginary

protected double imaginary
The cached value of the 'Imaginary' attribute.

See Also:
getImaginary()
Constructor Detail

ComplexImpl

protected ComplexImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getReal

public double getReal()

Specified by:
getReal in interface Complex
Returns:
the value of the 'Real' attribute.
See Also:
Complex.setReal(double), ProbfunctionPackage.getComplex_Real()

setReal

public void setReal(double newReal)

Specified by:
setReal in interface Complex
Parameters:
newReal - the new value of the 'Real' attribute.
See Also:
Complex.getReal()

getImaginary

public double getImaginary()

Specified by:
getImaginary in interface Complex
Returns:
the value of the 'Imaginary' attribute.
See Also:
Complex.setImaginary(double), ProbfunctionPackage.getComplex_Imaginary()

setImaginary

public void setImaginary(double newImaginary)

Specified by:
setImaginary in interface Complex
Parameters:
newImaginary - the new value of the 'Imaginary' attribute.
See Also:
Complex.getImaginary()

eGet

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


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()