2 * Copyright (c) 2017 Cisco Systems. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.groupbasedpolicy.renderer.vpp.commands.lisp.dom;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev170803.map.register.grouping.MapRegister;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev170803.map.register.grouping.MapRegisterBuilder;
15 * Created by Shakib Ahmed on 3/20/17.
17 public class MapRegisterDom implements CommandModel {
19 private boolean enabled;
21 public boolean isEnabled() {
25 public void setEnabled(boolean enabled) {
26 this.enabled = enabled;
30 public MapRegister getSALObject() {
31 return new MapRegisterBuilder().setEnabled(enabled).build();