blob: 4d8f0c7a7d177234b3141a3d63c0cfcd08336d40 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 Oracle. 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: Oracle. - initial API and implementation
*******************************************************************************/
package org.eclipse.jpt.core.internal.platform;
import org.eclipse.jdt.core.dom.CompilationUnit;
import org.eclipse.jpt.core.internal.IPersistentType;
public class DefaultsContextWrapper implements DefaultsContext
{
private DefaultsContext wrappedDefaultsContext;
public DefaultsContextWrapper(DefaultsContext wrappedDefaultsContext) {
this.wrappedDefaultsContext = wrappedDefaultsContext;
}
public CompilationUnit astRoot() {
return this.wrappedDefaultsContext.astRoot();
}
public Object getDefault(String key) {
return this.wrappedDefaultsContext.getDefault(key);
}
public IPersistentType persistentType(String fullyQualifiedTypeName) {
return this.wrappedDefaultsContext.persistentType(fullyQualifiedTypeName);
}
protected DefaultsContext getWrappedDefaultsContext() {
return this.wrappedDefaultsContext;
}
}