public ScopeKey getScope()
{
if (scopeKey == null)
{
ScopeKey key = new ScopeKey();
for (MetaDataRetrieval retrieval : getRetrievals())
{
ScopeKey retrievalKey = retrieval.getScope();
Collection<Scope> scopes = retrievalKey.getScopes();
for (Scope scope : scopes)
key.addScope(scope);
}
scopeKey = key;
}