2 * Copyright (c) 2013 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
8 package org.opendaylight.protocol.concepts;
11 * General interface for identifyiable objects. Useful when you have an object
12 * which has a sense of identity -- by having a "name".
14 * @param <T> template reference to the object name's Identifier class
16 public interface NamedObject<T extends Identifier> {
18 * Get the object's Identifier (or "name"). A name uniquely identifies
19 * an object among its peers. Two named objects can have the same
20 * identifier, but need not necessarily be equal.
22 * @return The object's identifier