Revision 272, 0.7 KB
(checked in by anton, 21 months ago)
|
Templates filling changed
|
Line | |
---|
1 | package jp.co.orkney.restlet.util; |
---|
2 | |
---|
3 | import java.util.Vector; |
---|
4 | |
---|
5 | public class Edge |
---|
6 | { |
---|
7 | private int gid; |
---|
8 | private int id; |
---|
9 | //private String edge; |
---|
10 | private Vector<Point> points; |
---|
11 | |
---|
12 | public Edge() |
---|
13 | { |
---|
14 | points = new Vector<Point>(); |
---|
15 | } |
---|
16 | |
---|
17 | public int getGid() |
---|
18 | { |
---|
19 | return gid; |
---|
20 | } |
---|
21 | |
---|
22 | public void setGid(int gid) |
---|
23 | { |
---|
24 | this.gid = gid; |
---|
25 | } |
---|
26 | |
---|
27 | public int getId() |
---|
28 | { |
---|
29 | return id; |
---|
30 | } |
---|
31 | |
---|
32 | public void setIid(int id) |
---|
33 | { |
---|
34 | this.id = id; |
---|
35 | } |
---|
36 | |
---|
37 | |
---|
38 | public void setId(int id) |
---|
39 | { |
---|
40 | this.id = id; |
---|
41 | } |
---|
42 | |
---|
43 | public void addPoint(Point point) { |
---|
44 | this.points.add(point); |
---|
45 | } |
---|
46 | |
---|
47 | public Vector<Point> getPoints() { |
---|
48 | return points; |
---|
49 | } |
---|
50 | |
---|
51 | } |
---|