aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-06-26 12:29:08 +0500
committerAbyss777 <abyss@fox5.ru>2018-06-26 12:29:08 +0500
commit253f11afa0e31d97d332ca3269111eff36ee347b (patch)
tree98866ec1ffed872995b4a71c0c1deb99a4f9c656 /src/org/traccar/model
parent825ee0d178a24620f075cb4ffb8d49c75b046484 (diff)
downloadtrackermap-server-253f11afa0e31d97d332ca3269111eff36ee347b.tar.gz
trackermap-server-253f11afa0e31d97d332ca3269111eff36ee347b.tar.bz2
trackermap-server-253f11afa0e31d97d332ca3269111eff36ee347b.zip
Rename transports to notificators
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/Notification.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/org/traccar/model/Notification.java b/src/org/traccar/model/Notification.java
index 4923798c2..f1983a03a 100644
--- a/src/org/traccar/model/Notification.java
+++ b/src/org/traccar/model/Notification.java
@@ -45,23 +45,23 @@ public class Notification extends ScheduledModel {
}
- private String transports;
+ private String notificators;
- public String getTransports() {
- return transports;
+ public String getNotificators() {
+ return notificators;
}
- public void setTransports(String transports) {
- this.transports = transports;
+ public void setNotificators(String transports) {
+ this.notificators = transports;
}
@JsonIgnore
@QueryIgnore
- public Set<String> getTransportMethods() {
+ public Set<String> getNotificatorsTypes() {
final Set<String> result = new HashSet<>();
- if (transports != null) {
- final String[] transportsList = transports.split(",");
+ if (notificators != null) {
+ final String[] transportsList = notificators.split(",");
for (String transport : transportsList) {
result.add(transport.trim());
}