1 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>MsbRegisterVo.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">vfc-nfvo-driver-ems-ems-boco</a> > <a href="index.source.html" class="el_package">org.onap.vfc.nfvo.emsdriver.serviceregister.model</a> > <span class="el_source">MsbRegisterVo.java</span></div><h1>MsbRegisterVo.java</h1><pre class="source lang-java linenums">/**
 
   2  * Copyright 2017 BOCO Corporation.  CMCC Technologies Co., Ltd
 
   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
 
   8  *     http://www.apache.org/licenses/LICENSE-2.0
 
  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.
 
  16 package org.onap.vfc.nfvo.emsdriver.serviceregister.model;
 
  18 import java.util.List;
 
  21 <span class="fc" id="L21">public class MsbRegisterVo {</span>
 
  22 <span class="fc" id="L22">      private String serviceName = "emsdriver";</span>
 
  23 <span class="fc" id="L23">      private String version = "v1";</span>
 
  24 <span class="fc" id="L24">      private String url = "/api/emsdriver/v1";</span>
 
  25 <span class="fc" id="L25">      private String protocol = "REST";</span>
 
  26 <span class="fc" id="L26">      private String visualRange = "1";</span>
 
  27         private List<ServiceNodeVo> nodes;
 
  31          * @return the serviceName
 
  33         public String getServiceName() {
 
  34 <span class="fc" id="L34">              return serviceName;</span>
 
  37          * @param serviceName the serviceName to set
 
  39         public void setServiceName(String serviceName) {
 
  40 <span class="fc" id="L40">              this.serviceName = serviceName;</span>
 
  41 <span class="fc" id="L41">      }</span>
 
  45         public String getVersion() {
 
  46 <span class="fc" id="L46">              return version;</span>
 
  49          * @param version the version to set
 
  51         public void setVersion(String version) {
 
  52 <span class="fc" id="L52">              this.version = version;</span>
 
  53 <span class="fc" id="L53">      }</span>
 
  57         public String getUrl() {
 
  58 <span class="fc" id="L58">              return url;</span>
 
  61          * @param url the url to set
 
  63         public void setUrl(String url) {
 
  64 <span class="fc" id="L64">              this.url = url;</span>
 
  65 <span class="fc" id="L65">      }</span>
 
  67          * @return the protocol
 
  69         public String getProtocol() {
 
  70 <span class="fc" id="L70">              return protocol;</span>
 
  73          * @param protocol the protocol to set
 
  75         public void setProtocol(String protocol) {
 
  76 <span class="fc" id="L76">              this.protocol = protocol;</span>
 
  77 <span class="fc" id="L77">      }</span>
 
  79          * @return the visualRange
 
  81         public String getVisualRange() {
 
  82 <span class="fc" id="L82">              return visualRange;</span>
 
  85          * @param visualRange the visualRange to set
 
  87         public void setVisualRange(String visualRange) {
 
  88 <span class="fc" id="L88">              this.visualRange = visualRange;</span>
 
  89 <span class="fc" id="L89">      }</span>
 
  93         public List<ServiceNodeVo> getNodes() {
 
  94 <span class="fc" id="L94">              return nodes;</span>
 
  97          * @param nodes the nodes to set
 
  99         public void setNodes(List<ServiceNodeVo> nodes) {
 
 100 <span class="fc" id="L100">             this.nodes = nodes;</span>
 
 101 <span class="fc" id="L101">     }</span>
 
 106 </pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html>