public class PositionImpl extends LocationImpl implements Position
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected double |
altitude
The cached value of the '
Altitude' attribute. |
protected static double |
ALTITUDE_EDEFAULT
The default value of the '
Altitude' attribute. |
protected int |
bearing
The cached value of the '
Bearing' attribute. |
protected static int |
BEARING_EDEFAULT
The default value of the '
Bearing' attribute. |
protected double |
latitude
The cached value of the '
Latitude' attribute. |
protected static double |
LATITUDE_EDEFAULT
The default value of the '
Latitude' attribute. |
protected double |
longitude
The cached value of the '
Longitude' attribute. |
protected static double |
LONGITUDE_EDEFAULT
The default value of the '
Longitude' attribute. |
protected DirectionType |
orientation
The cached value of the '
Orientation' attribute. |
protected static DirectionType |
ORIENTATION_EDEFAULT
The default value of the '
Orientation' attribute. |
id, ID_EDEFAULT| Modifier | Constructor and Description |
|---|---|
protected |
PositionImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getAltitude() |
int |
getBearing() |
double |
getLatitude() |
double |
getLongitude() |
DirectionType |
getOrientation() |
void |
setAltitude(double newAltitude) |
void |
setBearing(int newBearing) |
void |
setLatitude(double newLatitude) |
void |
setLongitude(double newLongitude) |
void |
setOrientation(DirectionType newOrientation) |
java.lang.String |
toString() |
getId, setIdprotected static final double LATITUDE_EDEFAULT
Latitude' attribute.
getLatitude(),
Constant Field Valuesprotected double latitude
Latitude' attribute.
getLatitude()protected static final double LONGITUDE_EDEFAULT
Longitude' attribute.
getLongitude(),
Constant Field Valuesprotected double longitude
Longitude' attribute.
getLongitude()protected static final double ALTITUDE_EDEFAULT
Altitude' attribute.
getAltitude(),
Constant Field Valuesprotected double altitude
Altitude' attribute.
getAltitude()protected static final DirectionType ORIENTATION_EDEFAULT
Orientation' attribute.
getOrientation()protected DirectionType orientation
Orientation' attribute.
getOrientation()protected static final int BEARING_EDEFAULT
Bearing' attribute.
getBearing(),
Constant Field Valuesprotected int bearing
Bearing' attribute.
getBearing()protected EClass eStaticClass()
eStaticClass in class LocationImplpublic double getLatitude()
getLatitude in interface PositionPosition.setLatitude(double),
TOSDevicePackage.getPosition_Latitude()public void setLatitude(double newLatitude)
setLatitude in interface PositionnewLatitude - the new value of the 'Latitude' attribute.Position.getLatitude()public double getLongitude()
getLongitude in interface PositionPosition.setLongitude(double),
TOSDevicePackage.getPosition_Longitude()public void setLongitude(double newLongitude)
setLongitude in interface PositionnewLongitude - the new value of the 'Longitude' attribute.Position.getLongitude()public double getAltitude()
getAltitude in interface PositionPosition.setAltitude(double),
TOSDevicePackage.getPosition_Altitude()public void setAltitude(double newAltitude)
setAltitude in interface PositionnewAltitude - the new value of the 'Altitude' attribute.Position.getAltitude()public DirectionType getOrientation()
getOrientation in interface PositionDirectionType,
Position.setOrientation(DirectionType),
TOSDevicePackage.getPosition_Orientation()public void setOrientation(DirectionType newOrientation)
setOrientation in interface PositionnewOrientation - the new value of the 'Orientation' attribute.DirectionType,
Position.getOrientation()public int getBearing()
getBearing in interface PositionPosition.setBearing(int),
TOSDevicePackage.getPosition_Bearing()public void setBearing(int newBearing)
setBearing in interface PositionnewBearing - the new value of the 'Bearing' attribute.Position.getBearing()public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class LocationImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in class LocationImplpublic void eUnset(int featureID)
eUnset in class LocationImplpublic boolean eIsSet(int featureID)
eIsSet in class LocationImplpublic java.lang.String toString()
toString in class LocationImplData In Motion Consuling GmbH - All rights reserved