Update of /cvsroot/magicmap/magicmapserver/dblayer/src/net/sf/magicmap/db
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17428/dblayer/src/net/sf/magicmap/db
Modified Files:
GeoPosition.java
Log Message:
update icon on fixstate change of a node
Index: GeoPosition.java
===================================================================
RCS file: /cvsroot/magicmap/magicmapserver/dblayer/src/net/sf/magicmap/db/GeoPosition.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** GeoPosition.java 17 Feb 2006 16:15:28 -0000 1.2
--- GeoPosition.java 19 Feb 2006 16:33:26 -0000 1.3
***************
*** 20,23 ****
--- 20,26 ----
* value="org.jpox.poid.SequenceTablePoidGenerator"
*/
+ /**
+ * @author Florian
+ */
public class GeoPosition {
***************
*** 67,72 ****
--- 70,99 ----
int posY;
+
+ /**
+ * Latitude der GeoPosition
+ *
+ * @jdo.field
+ * persistence-modifier="persistent"
+ * null-value="exception"
+ */
int latitude;
+
+ /**
+ * Longgitude der GeoPosition
+ *
+ * @jdo.field
+ * persistence-modifier="persistent"
+ * null-value="exception"
+ */
int longitude;
+
+ /**
+ * Altitude der GeoPosition
+ *
+ * @jdo.field
+ * persistence-modifier="persistent"
+ * null-value="exception"
+ */
int altitude;
***************
*** 77,81 ****
* @param posY
*/
! public GeoPosition(Map map, int posX, int posY) {
super();
--- 104,108 ----
* @param posY
*/
! public GeoPosition(Map map, int posX, int posY, int latitude, int longitude, int altitude) {
super();
***************
*** 83,87 ****
this.posX = posX;
this.posY = posY;
!
}
--- 110,116 ----
this.posX = posX;
this.posY = posY;
! this.latitude = latitude;
! this.longitude = longitude;
! this.altitude = altitude;
}
***************
*** 113,129 ****
return this.posY;
}
!
/**
! * @param posX The posX to set.
*/
! public void setPosX(int posX){
! this.posX = posX;
}
/**
! * @param posY The posY to set.
*/
! public void setPosY(int posY){
! this.posY = posY;
}
}
--- 142,208 ----
return this.posY;
}
!
/**
! * @return Returns the latitude.
*/
! public int getLatitude() {
! return latitude;
! }
!
! /**
! * @return Returns the longitude.
! */
! public int getLongitude() {
! return longitude;
}
/**
! * @return Returns the altitude.
*/
! public int getAltitude() {
! return altitude;
}
+
+ /**
+ * @param altitude The altitude to set.
+ */
+ public void setAltitude(int altitude) {
+ this.altitude = altitude;
+ }
+
+ /**
+ * @param latitude The latitude to set.
+ */
+ public void setLatitude(int latitude) {
+ this.latitude = latitude;
+ }
+
+ /**
+ * @param longitude The longitude to set.
+ */
+ public void setLongitude(int longitude) {
+ this.longitude = longitude;
+ }
+
+ /**
+ * @param map The map to set.
+ */
+ public void setMap(Map map) {
+ this.map = map;
+ }
+
+ /**
+ * @param posX The posX to set.
+ */
+ public void setPosX(int posX) {
+ this.posX = posX;
+ }
+
+ /**
+ * @param posY The posY to set.
+ */
+ public void setPosY(int posY) {
+ this.posY = posY;
+ }
+
}
|