/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.id;
/**
* Provides uniform access to objects that can supply a unique identifier.
* <p>
* This interface makes no guarantees about the thread-safety of implementations.
* However, wherever possible calls to this method should be thread-safe.
*/
public interface UniqueIdentifiable {
/**
* Gets the unique identifier for this item.
*
* @return the unique identifier, may be null
*/
UniqueId getUniqueId();
}