Changeset 421
- Timestamp:
- 03/19/12 18:31:07 (12 years ago)
- Location:
- tapas
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tapas/domain/interface/com/ether/tapas/Observatory.java
r419 r421 10 10 { 11 11 @NotNull 12 public StringgetId()12 public Integer getId() 13 13 { 14 14 return _id; 15 15 } 16 16 17 public void setId( @NotNull final Stringid )17 public void setId( @NotNull final Integer id ) 18 18 { 19 19 _id = id; … … 32 32 33 33 @NotNull 34 public Coordinate getLongitude()34 public Double getLongitude() 35 35 { 36 36 return _longitude; 37 37 } 38 38 39 public void setLongitude( @NotNull final Coordinate longitude )39 public void setLongitude( @NotNull final Double longitude ) 40 40 { 41 41 _longitude = longitude; … … 43 43 44 44 @NotNull 45 public Coordinate getLatitude()45 public Double getLatitude() 46 46 { 47 47 return _latitude; 48 48 } 49 49 50 public void setLatitude( @NotNull final Coordinate latitude )50 public void setLatitude( @NotNull final Double latitude ) 51 51 { 52 52 _latitude = latitude; … … 54 54 55 55 @NotNull 56 public Coordinate getAltitude()56 public Double getAltitude() 57 57 { 58 58 return _altitude; 59 59 } 60 60 61 public void setAltitude( @NotNull final Coordinate altitude )61 public void setAltitude( @NotNull final Double altitude ) 62 62 { 63 63 _altitude = altitude; … … 65 65 66 66 @NotNull 67 private String_id;67 private Integer _id; 68 68 @NotNull 69 69 private String _name; 70 70 @NotNull 71 private Coordinate _longitude;71 private Double _longitude; 72 72 @NotNull 73 private Coordinate _latitude;73 private Double _latitude; 74 74 @NotNull 75 private Coordinate _altitude;75 private Double _altitude; 76 76 } -
tapas/persistence/Persistence.iml
r385 r421 4 4 <facet type="hibernate" name="Hibernate"> 5 5 <configuration> 6 <datasource-map /> 6 <datasource-map> 7 <unit-entry name="hibernate-domain.cfg.xml" /> 8 </datasource-map> 7 9 <deploymentDescriptor name="hibernate.cfg.xml" url="file://$MODULE_DIR$/implementation/hibernate-domain.cfg.xml" /> 8 10 </configuration> -
tapas/web/src/json/json-context.xml
r403 r421 37 37 </map> 38 38 </entry> 39 < entry key="com.ether.tapas.Observatory">40 < map>41 < entry key="longitude" value="com.ether.tapas.Coordinate"/>42 < entry key="latitude" value="com.ether.tapas.Coordinate"/>43 < entry key="altitude" value="com.ether.tapas.Coordinate"/>44 < /map>45 < /entry>39 <!--<entry key="com.ether.tapas.Observatory">--> 40 <!--<map>--> 41 <!--<entry key="longitude" value=/>--> 42 <!--<entry key="latitude" value="e"/>--> 43 <!--<entry key="altitude" value="com.ether.tapas.Coordinate"/>--> 44 <!--</map>--> 45 <!--</entry>--> 46 46 <entry key="com.ether.tapas.Los"> 47 47 <map>
Note: See TracChangeset
for help on using the changeset viewer.