Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b3cdcb07d0dae9989792718a8eb47fcba47803e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/***************************************************************************
 * Copyright (c) 2004 - 2008 Eike Stepper, Germany.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *    Eike Stepper - initial API and implementation
 **************************************************************************/
package org.eclipse.emf.cdo.util;

import org.eclipse.emf.cdo.CDOSession;
import org.eclipse.emf.cdo.protocol.model.CDOPackage;

import org.eclipse.emf.ecore.EPackage;

/**
 * @author Eike Stepper
 */
public interface CDOPackageRegistry extends EPackage.Registry
{
  /**
   * Registers a top level {@link EPackage} and its sub packages with this package registry.
   * 
   * @param ePackage
   *          a top level EPackage (i.e. a package with <code>eSuperPackage == null</code>).
   * @return the package that is registered under the <code>nsURI</code> of the top level package or <code>null</code>.
   */
  public EPackage putEPackage(EPackage ePackage);

  public void putPackageDescriptor(CDOPackage proxy);

  public void setSession(CDOSession session);
}

Back to the top