Added oparent to sdc main
[sdc.git] / common / onap-tosca-datatype / src / main / java / org / onap / sdc / tosca / datatypes / model / StepDefinition.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.sdc.tosca.datatypes.model;
22
23 import java.util.List;
24
25 public class StepDefinition {
26
27   private String target;
28   private String target_relationship;
29   private String operation_host;
30   private List<Constraint> filter;
31   private List<ActivityDefinition> activities;
32   private String on_success;
33   private String on_failure;
34
35
36   public String getTarget() {
37     return target;
38   }
39
40   public void setTarget(String target) {
41     this.target = target;
42   }
43
44   public String getTarget_relationship() {
45     return target_relationship;
46   }
47
48   public void setTarget_relationship(String target_relationship) {
49     this.target_relationship = target_relationship;
50   }
51
52   public String getOperation_host() {
53     return operation_host;
54   }
55
56   public void setOperation_host(String operation_host) {
57     this.operation_host = operation_host;
58   }
59
60   public List<Constraint> getFilter() {
61     return filter;
62   }
63
64   public void setFilter(List<Constraint> filter) {
65     this.filter = filter;
66   }
67
68   public List<ActivityDefinition> getActivities() {
69     return activities;
70   }
71
72   public void setActivities(List<ActivityDefinition> activities) {
73     this.activities = activities;
74   }
75
76   public String getOn_success() {
77     return on_success;
78   }
79
80   public void setOn_success(String on_success) {
81     this.on_success = on_success;
82   }
83
84   public String getOn_failure() {
85     return on_failure;
86   }
87
88   public void setOn_failure(String on_failure) {
89     this.on_failure = on_failure;
90   }
91 }