private final String name;
private final long created;
private final long lastSeen;
+ private final boolean thisDevice;
- public Device(long id, String name, long created, long lastSeen) {
+ public Device(long id, String name, long created, long lastSeen, final boolean thisDevice) {
this.id = id;
this.name = name;
this.created = created;
this.lastSeen = lastSeen;
+ this.thisDevice = thisDevice;
}
public long getId() {
public long getLastSeen() {
return lastSeen;
}
+
+ public boolean isThisDevice() {
+ return thisDevice;
+ }
}