Replaced all tabs with spaces in java and pom.xml
[so.git] / common / src / main / java / org / onap / so / client / policy / entities / DictionaryData.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 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.so.client.policy.entities;
22
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
26
27 @JsonInclude(JsonInclude.Include.NON_NULL)
28 @JsonPropertyOrder({"id", "bbid", "workstep", "treatments"})
29 public class DictionaryData {
30
31     @JsonProperty("id")
32     private Id id;
33     @JsonProperty("bbid")
34     private Bbid bbid;
35     @JsonProperty("workstep")
36     private Workstep workstep;
37     @JsonProperty("treatments")
38     private Treatments treatments;
39
40     @JsonProperty("id")
41     public Id getId() {
42         return id;
43     }
44
45     @JsonProperty("id")
46     public void setId(Id id) {
47         this.id = id;
48     }
49
50     public DictionaryData withId(Id id) {
51         this.id = id;
52         return this;
53     }
54
55     @JsonProperty("bbid")
56     public Bbid getBbid() {
57         return bbid;
58     }
59
60     @JsonProperty("bbid")
61     public void setBbid(Bbid bbid) {
62         this.bbid = bbid;
63     }
64
65     public DictionaryData withBbid(Bbid bbid) {
66         this.bbid = bbid;
67         return this;
68     }
69
70     @JsonProperty("workstep")
71     public Workstep getWorkstep() {
72         return workstep;
73     }
74
75     @JsonProperty("workstep")
76     public void setWorkstep(Workstep workstep) {
77         this.workstep = workstep;
78     }
79
80     public DictionaryData withWorkstep(Workstep workstep) {
81         this.workstep = workstep;
82         return this;
83     }
84
85     @JsonProperty("treatments")
86     public Treatments getTreatments() {
87         return treatments;
88     }
89
90     @JsonProperty("treatments")
91     public void setTreatments(Treatments treatments) {
92         this.treatments = treatments;
93     }
94
95     public DictionaryData withTreatments(Treatments treatments) {
96         this.treatments = treatments;
97         return this;
98     }
99
100 }