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