File: Place.java

package info (click to toggle)
spread-phy 1.0.7%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 99,904 kB
  • sloc: java: 19,427; xml: 200; sh: 58; makefile: 6
file content (27 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (7)
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;
}