Revision 11247 trunk/libraries/libGPE/src-test/org/gvsig/gpe/containers/Geometry.java
Geometry.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.1 2007-04-14 16:06:35 jorpiell |
|
46 |
* Revision 1.2 2007-04-19 07:23:20 jorpiell |
|
47 |
* Add the add methods to teh contenhandler and change the register mode |
|
48 |
* |
|
49 |
* Revision 1.1 2007/04/14 16:06:35 jorpiell |
|
47 | 50 |
* Add the container classes |
48 | 51 |
* |
49 | 52 |
* |
... | ... | |
53 | 56 |
*/ |
54 | 57 |
public class Geometry { |
55 | 58 |
private String id = null; |
59 |
private Bbox bbox = null; |
|
56 | 60 |
|
57 | 61 |
/** |
62 |
* @return the bbox |
|
63 |
*/ |
|
64 |
public Bbox getBbox() { |
|
65 |
return bbox; |
|
66 |
} |
|
67 |
|
|
68 |
/** |
|
69 |
* @param bbox the bbox to set |
|
70 |
*/ |
|
71 |
public void setBbox(Bbox bbox) { |
|
72 |
this.bbox = bbox; |
|
73 |
} |
|
74 |
|
|
75 |
/** |
|
76 |
* @param bbox the bbox to set |
|
77 |
*/ |
|
78 |
public void setBbox(Object bbox) { |
|
79 |
if (bbox instanceof Bbox){ |
|
80 |
this.bbox = (Bbox)bbox; |
|
81 |
} |
|
82 |
} |
|
83 |
|
|
84 |
/** |
|
58 | 85 |
* @return the id |
59 | 86 |
*/ |
60 | 87 |
public String getId() { |
Also available in: Unified diff