Added oparent to sdc main
[sdc.git] / common / onap-tosca-datatype / src / main / java / org / onap / sdc / tosca / datatypes / model / WorkflowDefinition.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 import java.util.Map;
25
26 public class WorkflowDefinition {
27   private String description;
28   private Map<String, String> metadata;
29   private Map<String, PropertyDefinition> inputs;
30   private List<PreconditionDefinition> preconditions;
31   private Map<String, StepDefinition> steps;
32
33   public String getDescription() {
34     return description;
35   }
36
37   public void setDescription(String description) {
38     this.description = description;
39   }
40
41   public Map<String, String> getMetadata() {
42     return metadata;
43   }
44
45   public void setMetadata(Map<String, String> metadata) {
46     this.metadata = metadata;
47   }
48
49   public Map<String, PropertyDefinition> getInputs() {
50     return inputs;
51   }
52
53   public void setInputs(
54       Map<String, PropertyDefinition> inputs) {
55     this.inputs = inputs;
56   }
57
58   public List<PreconditionDefinition> getPreconditions() {
59     return preconditions;
60   }
61
62   public void setPreconditions(
63       List<PreconditionDefinition> preconditions) {
64     this.preconditions = preconditions;
65   }
66
67   public Map<String, StepDefinition> getSteps() {
68     return steps;
69   }
70
71   public void setSteps(
72       Map<String, StepDefinition> steps) {
73     this.steps = steps;
74   }
75 }