blob: 6da4c0a03b3096919d793580f472536b8a9fd776 (
plain) (
tree)
|
|
/**
* Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
* 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:
* Simon McDuff - initial API and implementation
* Eike Stepper - maintenance
*/
package org.eclipse.emf.internal.cdo.analyzer;
import org.eclipse.emf.cdo.common.CDOFetchRule;
import org.eclipse.emf.cdo.common.id.CDOID;
import org.eclipse.emf.cdo.session.CDOCollectionLoadingPolicy;
import org.eclipse.emf.cdo.view.CDOFetchRuleManager;
import java.util.Collection;
import java.util.List;
/**
* @author Simon McDuff
*/
public class NOOPFetchRuleManager implements CDOFetchRuleManager
{
public NOOPFetchRuleManager()
{
}
public CDOID getContext()
{
return CDOID.NULL;
}
public List<CDOFetchRule> getFetchRules(Collection<CDOID> ids)
{
return null;
}
public CDOCollectionLoadingPolicy getCollectionLoadingPolicy()
{
return CDOCollectionLoadingPolicy.DEFAULT;
}
}
|