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