org.eclipse.graphiti.mm.algorithms.styles.impl
Class PrecisionPointImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.graphiti.mm.algorithms.styles.impl.PrecisionPointImpl
All Implemented Interfaces:
PrecisionPoint

public class PrecisionPointImpl
extends EObjectImpl
implements PrecisionPoint

An implementation of the model object 'Precision Point'.

The following features are implemented:


Field Summary
protected  double x
          The cached value of the 'X' attribute.
protected static double X_EDEFAULT
          The default value of the 'X' attribute.
protected  double y
          The cached value of the 'Y' attribute.
protected static double Y_EDEFAULT
          The default value of the 'Y' attribute.
 
Constructor Summary
protected PrecisionPointImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 double getX()
           
 double getY()
           
 void setX(double newX)
           
 void setY(double newY)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

X_EDEFAULT

protected static final double X_EDEFAULT
The default value of the 'X' attribute.

See Also:
getX(), Constant Field Values

x

protected double x
The cached value of the 'X' attribute.

See Also:
getX()

Y_EDEFAULT

protected static final double Y_EDEFAULT
The default value of the 'Y' attribute.

See Also:
getY(), Constant Field Values

y

protected double y
The cached value of the 'Y' attribute.

See Also:
getY()
Constructor Detail

PrecisionPointImpl

protected PrecisionPointImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getX

public double getX()

Specified by:
getX in interface PrecisionPoint
Returns:
the value of the 'X' attribute.
See Also:
PrecisionPoint.setX(double), StylesPackage.getPrecisionPoint_X()

setX

public void setX(double newX)

Specified by:
setX in interface PrecisionPoint
Parameters:
newX - the new value of the 'X' attribute.
See Also:
PrecisionPoint.getX()

getY

public double getY()

Specified by:
getY in interface PrecisionPoint
Returns:
the value of the 'Y' attribute.
See Also:
PrecisionPoint.setY(double), StylesPackage.getPrecisionPoint_Y()

setY

public void setY(double newY)

Specified by:
setY in interface PrecisionPoint
Parameters:
newY - the new value of the 'Y' attribute.
See Also:
PrecisionPoint.getY()

eGet

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


eSet

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


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public java.lang.String toString()



Copyright (c) SAP AG 2005, 2012.