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