From: Martin S. <sch...@us...> - 2006-02-23 22:53:48
|
Update of /cvsroot/magicmap/magicmapserver/src/net/sf/magicmap/server/dto In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4506/src/net/sf/magicmap/server/dto Modified Files: MapDTO.java Log Message: - some comments - possible infinite loop in MapFacade! Index: MapDTO.java =================================================================== RCS file: /cvsroot/magicmap/magicmapserver/src/net/sf/magicmap/server/dto/MapDTO.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MapDTO.java 17 Feb 2006 16:12:34 -0000 1.6 --- MapDTO.java 23 Feb 2006 22:53:37 -0000 1.7 *************** *** 20,25 **** private Integer imageHeight; private Integer imageWidth; ! ! // Geokoordinaten in Millisekunden private Integer geoPoint1X; private Integer geoPoint1Y; --- 20,46 ---- private Integer imageHeight; private Integer imageWidth; ! ! // Geokoordinaten in Millisekunden ! // MSC (ich nehme mir mal raus Anmwerkungen zu machen ;) - wenn jemand was dagegen hat, bescheid sagen! ): ! // - Warum gibt es genau drei geoPoints ! // - Statt der Werte X, Y, Lat, Long und Alt sollte die Klasse GeoPointDTO verwendet werden ! // Vorschlag: ! //public static final int NUMBER_OF_GEOPOINTS = 3; ! // private GeoPointDTO geoPoint[] = new GeoPointDTO[NUMBER_OF_GEOPOINTS]; ! // ! // public GeoPointDTO getGeoPoint(int position) { ! // checkRange(position); ! // return geoPoint[position]; ! // } ! // ! // public void setGeoPoint(int position, GeoPointDTO geoPointDTO) { ! // checkRange(position); ! // this.geoPoint[position] = geoPointDTO; ! // } ! // private void checkRange(int position) { ! // if (position < 0 || position >= NUMBER_OF_GEOPOINTS) { ! // throw new IllegalArgumentException("MapDTO has only " + NUMBER_OF_GEOPOINTS + " geoPonits - " + position); ! // } ! // } private Integer geoPoint1X; private Integer geoPoint1Y; *************** *** 36,40 **** private Integer geoPoint3Lat; private Integer geoPoint3Long; ! private Integer geoPoint3Alt; public MapDTO() {} --- 57,61 ---- private Integer geoPoint3Lat; private Integer geoPoint3Long; ! private Integer geoPoint3Alt; public MapDTO() {} *************** *** 59,123 **** return this.imageWidth; } ! public Integer getGeoPoint1X(){ ! return this.geoPoint1X; } ! public Integer getGeoPoint1Y(){ ! return this.geoPoint1Y; } ! public Integer getGeoPoint1Lat(){ ! return this.geoPoint1Lat; } ! public Integer getGeoPoint1Long(){ ! return this.geoPoint1Long; } ! public Integer getGeoPoint1Alt(){ ! return this.geoPoint1Alt; } public Integer getGeoPoint2X(){ ! return this.geoPoint2X; } ! public Integer getGeoPoint2Y(){ ! return this.geoPoint2Y; } ! public Integer getGeoPoint2Lat(){ ! return this.geoPoint2Lat; } ! public Integer getGeoPoint2Long(){ ! return this.geoPoint2Long; } ! public Integer getGeoPoint2Alt(){ ! return this.geoPoint2Alt; } ! public Integer getGeoPoint3X(){ ! return this.geoPoint3X; } ! public Integer getGeoPoint3Y(){ ! return this.geoPoint3Y; } ! public Integer getGeoPoint3Lat(){ ! return this.geoPoint3Lat; } ! public Integer getGeoPoint3Long(){ ! return this.geoPoint3Long; } ! public Integer getGeoPoint3Alt(){ ! return this.geoPoint3Alt; } - /** * @param id The id to set. --- 80,144 ---- return this.imageWidth; } ! public Integer getGeoPoint1X(){ ! return this.geoPoint1X; } ! public Integer getGeoPoint1Y(){ ! return this.geoPoint1Y; } ! public Integer getGeoPoint1Lat(){ ! return this.geoPoint1Lat; } ! public Integer getGeoPoint1Long(){ ! return this.geoPoint1Long; } ! public Integer getGeoPoint1Alt(){ ! return this.geoPoint1Alt; } + public Integer getGeoPoint2X(){ ! return this.geoPoint2X; } ! public Integer getGeoPoint2Y(){ ! return this.geoPoint2Y; } ! public Integer getGeoPoint2Lat(){ ! return this.geoPoint2Lat; } ! public Integer getGeoPoint2Long(){ ! return this.geoPoint2Long; } ! public Integer getGeoPoint2Alt(){ ! return this.geoPoint2Alt; } ! public Integer getGeoPoint3X(){ ! return this.geoPoint3X; } ! public Integer getGeoPoint3Y(){ ! return this.geoPoint3Y; } ! public Integer getGeoPoint3Lat(){ ! return this.geoPoint3Lat; } ! public Integer getGeoPoint3Long(){ ! return this.geoPoint3Long; } ! public Integer getGeoPoint3Alt(){ ! return this.geoPoint3Alt; } /** * @param id The id to set. *************** *** 154,260 **** this.name = name; } ! /** * @param geoPoint1X The X Coordinate for the first Georeferencepoint on the map */ public void setGeoPoint1X(Integer geoPoint1X){ ! this.geoPoint1X = geoPoint1X; } ! /** * @param geoPoint1Y The Y Coordinate for the first Georeferencepoint on the map */ public void setGeoPoint1Y(Integer geoPoint1Y){ ! this.geoPoint1Y = geoPoint1Y; } ! /** * @param geoPoint1Lat The Latitude for the first Georeferencepoint on the map */ public void setGeoPoint1Lat(Integer geoPoint1Lat){ ! this.geoPoint1Lat = geoPoint1Lat; } ! /** * @param geoPoint1Long The Longitude for the first Georeferencepoint on the map */ public void setGeoPoint1Long(Integer geoPoint1Long){ ! this.geoPoint1Long = geoPoint1Long; } ! /** * @param geoPoint1Alt The Altitude for the first Georeferencepoint on the map */ public void setGeoPoint1Alt(Integer geoPoint1Alt){ ! this.geoPoint1Alt = geoPoint1Alt; } ! /** * @param geoPoint2X The X Coordinate for the second Georeferencepoint on the map */ public void setGeoPoint2X(Integer geoPoint2X){ ! this.geoPoint2X = geoPoint2X; } ! /** * @param geoPoint2Y The Y Coordinate for the second Georeferencepoint on the map */ public void setGeoPoint2Y(Integer geoPoint2Y){ ! this.geoPoint2Y = geoPoint2Y; } ! /** * @param geoPoint2Lat The Latitude for the second Georeferencepoint on the map */ public void setGeoPoint2Lat(Integer geoPoint2Lat){ ! this.geoPoint2Lat = geoPoint2Lat; } ! /** * @param geoPoint2Long The Longitude for the second Georeferencepoint on the map */ public void setGeoPoint2Long(Integer geoPoint2Long){ ! this.geoPoint2Long = geoPoint2Long; } /** * @param geoPoint2Alt The Altitude for the second Georeferencepoint on the map */ public void setGeoPoint2Alt(Integer geoPoint2Alt){ ! this.geoPoint2Alt = geoPoint2Alt; } ! /** * @param geoPoint3X The X Coordinate for the third Georeferencepoint on the map */ public void setGeoPoint3X(Integer geoPoint3X){ ! this.geoPoint3X = geoPoint3X; } ! /** * @param geoPoint3Y The Y Coordinate for the third Georeferencepoint on the map */ public void setGeoPoint3Y(Integer geoPoint3Y){ ! this.geoPoint3Y = geoPoint3Y; } ! /** * @param geoPoint3Lat The Latitude for the third Georeferencepoint on the map */ public void setGeoPoint3Lat(Integer geoPoint3Lat){ ! this.geoPoint3Lat = geoPoint3Lat; } ! /** * @param geoPoint3Long The Longitude for the third Georeferencepoint on the map */ public void setGeoPoint3Long(Integer geoPoint3Long){ ! this.geoPoint3Long = geoPoint3Long; } /** * @param geoPoint3Alt The Altitude for the third Georeferencepoint on the map */ public void setGeoPoint3Alt(Integer geoPoint3Alt){ ! this.geoPoint3Alt = geoPoint3Alt; } ! } \ No newline at end of file --- 175,283 ---- this.name = name; } ! /** * @param geoPoint1X The X Coordinate for the first Georeferencepoint on the map */ public void setGeoPoint1X(Integer geoPoint1X){ ! this.geoPoint1X = geoPoint1X; } ! /** * @param geoPoint1Y The Y Coordinate for the first Georeferencepoint on the map */ public void setGeoPoint1Y(Integer geoPoint1Y){ ! this.geoPoint1Y = geoPoint1Y; } ! /** * @param geoPoint1Lat The Latitude for the first Georeferencepoint on the map */ public void setGeoPoint1Lat(Integer geoPoint1Lat){ ! this.geoPoint1Lat = geoPoint1Lat; } ! /** * @param geoPoint1Long The Longitude for the first Georeferencepoint on the map */ public void setGeoPoint1Long(Integer geoPoint1Long){ ! this.geoPoint1Long = geoPoint1Long; } ! /** * @param geoPoint1Alt The Altitude for the first Georeferencepoint on the map */ public void setGeoPoint1Alt(Integer geoPoint1Alt){ ! this.geoPoint1Alt = geoPoint1Alt; } ! /** * @param geoPoint2X The X Coordinate for the second Georeferencepoint on the map */ public void setGeoPoint2X(Integer geoPoint2X){ ! this.geoPoint2X = geoPoint2X; } ! /** * @param geoPoint2Y The Y Coordinate for the second Georeferencepoint on the map */ public void setGeoPoint2Y(Integer geoPoint2Y){ ! this.geoPoint2Y = geoPoint2Y; } ! /** * @param geoPoint2Lat The Latitude for the second Georeferencepoint on the map */ public void setGeoPoint2Lat(Integer geoPoint2Lat){ ! this.geoPoint2Lat = geoPoint2Lat; } ! /** * @param geoPoint2Long The Longitude for the second Georeferencepoint on the map */ public void setGeoPoint2Long(Integer geoPoint2Long){ ! this.geoPoint2Long = geoPoint2Long; } + /** * @param geoPoint2Alt The Altitude for the second Georeferencepoint on the map */ public void setGeoPoint2Alt(Integer geoPoint2Alt){ ! this.geoPoint2Alt = geoPoint2Alt; } ! /** * @param geoPoint3X The X Coordinate for the third Georeferencepoint on the map */ public void setGeoPoint3X(Integer geoPoint3X){ ! this.geoPoint3X = geoPoint3X; } ! /** * @param geoPoint3Y The Y Coordinate for the third Georeferencepoint on the map */ public void setGeoPoint3Y(Integer geoPoint3Y){ ! this.geoPoint3Y = geoPoint3Y; } ! /** * @param geoPoint3Lat The Latitude for the third Georeferencepoint on the map */ public void setGeoPoint3Lat(Integer geoPoint3Lat){ ! this.geoPoint3Lat = geoPoint3Lat; } ! /** * @param geoPoint3Long The Longitude for the third Georeferencepoint on the map */ public void setGeoPoint3Long(Integer geoPoint3Long){ ! this.geoPoint3Long = geoPoint3Long; } + /** * @param geoPoint3Alt The Altitude for the third Georeferencepoint on the map */ public void setGeoPoint3Alt(Integer geoPoint3Alt){ ! this.geoPoint3Alt = geoPoint3Alt; } ! } \ No newline at end of file |