1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
package structure;
/**
* @author Andrew Rambaut
* @version $Id$
*/
public class Place extends GeoItem {
public Place(final String name, final String description,
final Coordinates coordinates, final double startTime,
final double duration) {
super(name, startTime, duration);
this.description = description;
this.coordinates = coordinates;
}
public String getDescription() {
return description;
}
public Coordinates getCoordinates() {
return coordinates;
}
private final String description;
private final Coordinates coordinates;
}
|