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

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

public class PointImpl
extends EObjectImpl
implements Point

An implementation of the model object 'Point'.

The following features are implemented:


Field Summary
protected  int after
          The cached value of the 'After' attribute.
protected static int AFTER_EDEFAULT
          The default value of the 'After' attribute.
protected  int before
          The cached value of the 'Before' attribute.
protected static int BEFORE_EDEFAULT
          The default value of the 'Before' attribute.
protected  int x
          The cached value of the 'X' attribute.
protected static int X_EDEFAULT
          The default value of the 'X' attribute.
protected  int y
          The cached value of the 'Y' attribute.
protected static int Y_EDEFAULT
          The default value of the 'Y' attribute.
 
Constructor Summary
protected PointImpl()
           
 
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)
           
 int getAfter()
           
 int getBefore()
           
 int getX()
           
 int getY()
           
 void setAfter(int newAfter)
           
 void setBefore(int newBefore)
           
 void setX(int newX)
           
 void setY(int 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 int X_EDEFAULT
The default value of the 'X' attribute.

See Also:
getX(), Constant Field Values

x

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

See Also:
getX()

Y_EDEFAULT

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

See Also:
getY(), Constant Field Values

y

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

See Also:
getY()

BEFORE_EDEFAULT

protected static final int BEFORE_EDEFAULT
The default value of the 'Before' attribute.

See Also:
getBefore(), Constant Field Values

before

protected int before
The cached value of the 'Before' attribute.

See Also:
getBefore()

AFTER_EDEFAULT

protected static final int AFTER_EDEFAULT
The default value of the 'After' attribute.

See Also:
getAfter(), Constant Field Values

after

protected int after
The cached value of the 'After' attribute.

See Also:
getAfter()
Constructor Detail

PointImpl

protected PointImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getX

public int getX()

Specified by:
getX in interface Point
Returns:
the value of the 'X' attribute.
See Also:
Point.setX(int), StylesPackage.getPoint_X()

setX

public void setX(int newX)

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

getY

public int getY()

Specified by:
getY in interface Point
Returns:
the value of the 'Y' attribute.
See Also:
Point.setY(int), StylesPackage.getPoint_Y()

setY

public void setY(int newY)

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

getBefore

public int getBefore()

Specified by:
getBefore in interface Point
Returns:
the value of the 'Before' attribute.
See Also:
Point.setBefore(int), StylesPackage.getPoint_Before()

setBefore

public void setBefore(int newBefore)

Specified by:
setBefore in interface Point
Parameters:
newBefore - the new value of the 'Before' attribute.
See Also:
Point.getBefore()

getAfter

public int getAfter()

Specified by:
getAfter in interface Point
Returns:
the value of the 'After' attribute.
See Also:
Point.setAfter(int), StylesPackage.getPoint_After()

setAfter

public void setAfter(int newAfter)

Specified by:
setAfter in interface Point
Parameters:
newAfter - the new value of the 'After' attribute.
See Also:
Point.getAfter()

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, 2010.