blob: ee0faa2aaeb2a95eebd154bad9ce58294047aa15 [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.generic;
import org.eclipse.jpt.core.internal.IJpaAnnotationProvider;
import org.eclipse.jpt.core.internal.platform.base.BaseJpaPlatform;
import org.eclipse.jpt.core.internal.platform.base.IJpaBaseContextFactory;
public class GenericJpaPlatform extends BaseJpaPlatform
{
public static String ID = "generic";
public GenericJpaPlatform() {
super();
}
// **************** Model construction / updating **************************
@Override
protected IJpaBaseContextFactory buildJpaFactory() {
return new GenericJpaFactory();
}
// **************** java annotation support ********************************
@Override
protected IJpaAnnotationProvider buildAnnotationProvider() {
return new GenericJpaAnnotationProvider();
}
}