ActivitySpec - Correcting logger messages
[sdc.git] / common / onap-tosca-datatype / src / main / java / org / onap / sdc / tosca / datatypes / model / Trigger.java
1 package org.onap.sdc.tosca.datatypes.model;
2
3 public class Trigger {
4
5   private String description;
6   private String event_type;
7   private TimeInterval schedule;
8   private EventFilter target_filter;
9   private Constraint condition;
10   private Constraint constraint;
11   private String period;
12   private int evaluations;
13   private String method;
14   //action - String or operation?
15   private Object action;
16
17
18   public String getDescription() {
19     return description;
20   }
21
22   public void setDescription(String description) {
23     this.description = description;
24   }
25
26   public String getEvent_type() {
27     return event_type;
28   }
29
30   public void setEvent_type(String event_type) {
31     this.event_type = event_type;
32   }
33
34   public TimeInterval getSchedule() {
35     return schedule;
36   }
37
38   public void setSchedule(TimeInterval schedule) {
39     this.schedule = schedule;
40   }
41
42   public EventFilter getTarget_filter() {
43     return target_filter;
44   }
45
46   public void setTarget_filter(EventFilter target_filter) {
47     this.target_filter = target_filter;
48   }
49
50   public Constraint getCondition() {
51     return condition;
52   }
53
54   public void setCondition(Constraint condition) {
55     this.condition = condition;
56   }
57
58   public Constraint getConstraint() {
59     return constraint;
60   }
61
62   public void setConstraint(Constraint constraint) {
63     this.constraint = constraint;
64   }
65
66   public String getPeriod() {
67     return period;
68   }
69
70   public void setPeriod(String period) {
71     this.period = period;
72   }
73
74   public int getEvaluations() {
75     return evaluations;
76   }
77
78   public void setEvaluations(int evaluations) {
79     this.evaluations = evaluations;
80   }
81
82   public String getMethod() {
83     return method;
84   }
85
86   public void setMethod(String method) {
87     this.method = method;
88   }
89
90   public Object getAction() {
91     return action;
92   }
93
94   public void setAction(Object action) {
95     this.action = action;
96   }
97 }