Last change
on this file since 419 was
419,
checked in by rboipsl, 12 years ago
|
creation listes dans form
creation class Observatory
|
File size:
1.3 KB
|
Line | |
---|
1 | package com.ether.tapas; |
---|
2 | |
---|
3 | import org.jetbrains.annotations.NotNull; |
---|
4 | |
---|
5 | /** |
---|
6 | * @author rboipsl |
---|
7 | * @date 19 march 2012 |
---|
8 | */ |
---|
9 | public class Observatory |
---|
10 | { |
---|
11 | @NotNull |
---|
12 | public String getId() |
---|
13 | { |
---|
14 | return _id; |
---|
15 | } |
---|
16 | |
---|
17 | public void setId( @NotNull final String id ) |
---|
18 | { |
---|
19 | _id = id; |
---|
20 | } |
---|
21 | |
---|
22 | @NotNull |
---|
23 | public String getName() |
---|
24 | { |
---|
25 | return _name; |
---|
26 | } |
---|
27 | |
---|
28 | public void setName( @NotNull final String name ) |
---|
29 | { |
---|
30 | _name = name; |
---|
31 | } |
---|
32 | |
---|
33 | @NotNull |
---|
34 | public Coordinate getLongitude() |
---|
35 | { |
---|
36 | return _longitude; |
---|
37 | } |
---|
38 | |
---|
39 | public void setLongitude( @NotNull final Coordinate longitude ) |
---|
40 | { |
---|
41 | _longitude = longitude; |
---|
42 | } |
---|
43 | |
---|
44 | @NotNull |
---|
45 | public Coordinate getLatitude() |
---|
46 | { |
---|
47 | return _latitude; |
---|
48 | } |
---|
49 | |
---|
50 | public void setLatitude( @NotNull final Coordinate latitude ) |
---|
51 | { |
---|
52 | _latitude = latitude; |
---|
53 | } |
---|
54 | |
---|
55 | @NotNull |
---|
56 | public Coordinate getAltitude() |
---|
57 | { |
---|
58 | return _altitude; |
---|
59 | } |
---|
60 | |
---|
61 | public void setAltitude( @NotNull final Coordinate altitude ) |
---|
62 | { |
---|
63 | _altitude = altitude; |
---|
64 | } |
---|
65 | |
---|
66 | @NotNull |
---|
67 | private String _id; |
---|
68 | @NotNull |
---|
69 | private String _name; |
---|
70 | @NotNull |
---|
71 | private Coordinate _longitude; |
---|
72 | @NotNull |
---|
73 | private Coordinate _latitude; |
---|
74 | @NotNull |
---|
75 | private Coordinate _altitude; |
---|
76 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.