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.mdsal.singleton.common.api;
11 import org.opendaylight.yangtools.util.AbstractStringIdentifier;
14 * Identifier represents a service group competence. It's based on String.
16 public class ServiceGroupIdentifier extends AbstractStringIdentifier<ServiceGroupIdentifier> {
19 * Method to create immutable instances of {@link ServiceGroupIdentifier}.
21 * @param serviceGroupIdentifier the String identifier for the ServiceGroupIdentifier instance
22 * @return {@link ServiceGroupIdentifier} new instance
24 public static ServiceGroupIdentifier create(final String serviceGroupIdentifier) {
25 return new ServiceGroupIdentifier(serviceGroupIdentifier);
28 protected ServiceGroupIdentifier(final String string) {
32 private static final long serialVersionUID = 6853612584804702662L;