Sonar: Code smells Sfc
[vfc/nfvo/driver/sfc.git] / zte / sfc-driver / sfc-driver / src / main / java / org / onap / sfc / entity / MsbRegisterEntity.java
1 /**
2  * Copyright 2016 ZTE Corporation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.onap.sfc.entity;
17
18 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
19
20 import java.util.ArrayList;
21 import java.util.List;
22
23 @JsonIgnoreProperties(ignoreUnknown = true)
24 public class MsbRegisterEntity {
25     private String serviceName;
26     private String version;
27     private String url;
28     private String protocol;
29     private String visualRange;
30     private List<NodeEntity> nodes;
31
32     public String getServiceName() {
33         return serviceName;
34     }
35
36     public void setServiceName(String serviceName) {
37         this.serviceName = serviceName;
38     }
39
40     public String getVersion() {
41         return version;
42     }
43
44     public void setVersion(String version) {
45         this.version = version;
46     }
47
48     public String getUrl() {
49         return url;
50     }
51
52     public void setUrl(String url) {
53         this.url = url;
54     }
55
56     public String getProtocol() {
57         return protocol;
58     }
59
60     public void setProtocol(String protocol) {
61         this.protocol = protocol;
62     }
63
64     public String getVisualRange() {
65         return visualRange;
66     }
67
68     public void setVisualRange(String visualRange) {
69         this.visualRange = visualRange;
70     }
71
72     public List<NodeEntity> getNodes() {
73         return nodes;
74     }
75
76     public void setNodes(List<NodeEntity> nodes) {
77         this.nodes = nodes;
78     }
79 }