-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGAgent.java
More file actions
80 lines (54 loc) · 1.09 KB
/
GAgent.java
File metadata and controls
80 lines (54 loc) · 1.09 KB
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
/**
*
*/
package com.masim.core;
import java.util.Date;
import com.masim.utils.Location;
import jade.core.Agent;
/**
* The super agent's class.
* @author sabri ghazi
*/
public class GAgent extends Agent {
Location geoLocation;
long ID;
Date LifeTime;
long timeOutDelai;
boolean isMobile;
/**
*
*/
public GAgent() {
// TODO Auto-generated constructor stub
}
public Location getGeoLocation() {
return geoLocation;
}
public void setGeoLocation(Location geoLocation) {
this.geoLocation = geoLocation;
}
public long getID() {
return ID;
}
public void setID(long iD) {
ID = iD;
}
public Date getLifeTime() {
return LifeTime;
}
public void setLifeTime(Date lifeTime) {
LifeTime = lifeTime;
}
public long getTimeOutDelai() {
return timeOutDelai;
}
public void setTimeOutDelai(long timeOutDelai) {
this.timeOutDelai = timeOutDelai;
}
public boolean isMobile() {
return isMobile;
}
public void setMobile(boolean isMobile) {
this.isMobile = isMobile;
}
}