summaryrefslogtreecommitdiffstats
path: root/src/org/uic/ticket/api/spec/IGeoCoordinate.java
blob: 9fa1ba5502df1b4685a5fc4b908947cd0dbfaac9 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/*
 * 
 */
package org.uic.ticket.api.spec;

import org.uic.ticket.api.asn.omv1.GeoCoordinateSystemType;
import org.uic.ticket.api.asn.omv1.GeoUnitType;
import org.uic.ticket.api.asn.omv1.HemisphereLatitudeType;
import org.uic.ticket.api.asn.omv1.HemisphereLongitudeType;

/**
 * The Interface IGeoCoordinate.
 * 
 * IGeoCoordinate provides the data for a geo coordinate.
 * 
 */
public interface IGeoCoordinate {
	
	/**
	 * Gets the unit.
	 * 
	 * Default is milliDegree
	 *
	 * @return the unit
	 */
	public GeoUnitType getUnit();
	
	/**
	 * Sets the unit.
	 *
	 * Default is milliDegree
	 * 	 
	 * @param unit the new unit
	 */
	public void setUnit(GeoUnitType unit);
	
	/**
	 * Gets the accuracy.
	 *
	 * @return the accuracy
	 */
	public GeoUnitType getAccuracy();
	
	/**
	 * Sets the accuracy.
	 *
	 * @param accuracy the new accuracy
	 */
	public void setAccuracy(GeoUnitType accuracy);
	
	/**
	 * Gets the geo coordinate system.
	 * 
	 * Default is wgs84
	 *
	 * @return the geo coordinate 
	 */
	public GeoCoordinateSystemType getSystem();
	
	/**
	 * Sets the geo coordinate 
	 * 
	 * Default is wgs84 
	 *
	 * @param system the new geo coordinate 
	 */
	public void setSystem(GeoCoordinateSystemType system);
	
	/**
	 * Gets the longitude hemisphere.
	 *
	 * @return the longitude hemisphere
	 */
	public HemisphereLongitudeType getHemisphereLongitude() ;
	
	/**
	 * Sets the longitude hemisphere.
	 * 
	 * Default is north
	 *
	 * @param hemispherLongiture the new longitude hemisphere.
	 */
	public void setHemisphereLongitude(HemisphereLongitudeType hemispherLongiture);
	
	/**
	 * Gets the latitude hemisphere.
	 * 
	 * Default is east
	 *
	 * @return the latitude hemisphere.
	 */
	public HemisphereLatitudeType getHemisphereLatitude();
	
	/**
	 * Sets the latitude hemisphere.
	 * 
	 * Default is east
	 * 
	 * @param hemisphereLatitude the new latitude hemisphere.
	 */
	public void setHemisphereLatitude(HemisphereLatitudeType hemisphereLatitude);
	
	/**
	 * Gets the longitude.
	 * 
	 * @return the longitude
	 */
	public Long getLongitude();
	
	/**
	 * Sets the longitude.
	 * 
	 * @param longitude the new longitude
	 */
	public void setLongitude(long longitude) ;
	
	/**
	 * Gets the latitude.
	 *
	 * @return the latitude
	 */
	public Long getLatitude() ;
	
	/**
	 * Sets the latitude.
	 *
	 * @param latitude the new latitude
	 */
	public void setLatitude(long latitude);

	public IGeoCoordinate clone();

	public void addLongitude(Long longValue);

	public void addLatitude(Long longValue);
}