2 * Copyright (c) 2016 Cisco Systems, Inc. and others. 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.gbp_ise_adapter.impl;
11 import javax.annotation.Nonnull;
12 import javax.annotation.Nullable;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.sxp.database.rev160308.Sgt;
16 * Purpose: simple holder for {@link Sgt} and name
18 public class SgtInfo {
20 private final Sgt sgt;
21 private final String name;
24 * @param sgt value to hold
25 * @param name value to hold
27 public SgtInfo(@Nonnull final Sgt sgt, @Nullable final String name) {
40 * @return name associated to sgt
42 public String getName() {