| /******************************************************************************* |
| * Copyright (c) 2008, 2010 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.jpa.core.tests.extension.resource; |
| |
| import org.eclipse.jpt.jpa.core.context.java.JavaPersistentType; |
| import org.eclipse.jpt.jpa.core.internal.context.java.AbstractJavaEntity; |
| import org.eclipse.jpt.jpa.core.jpa2.context.java.JavaCacheable2_0; |
| import org.eclipse.jpt.jpa.core.resource.java.EntityAnnotation; |
| |
| public class TestJavaEntity |
| extends AbstractJavaEntity |
| { |
| protected TestJavaEntity(JavaPersistentType parent, EntityAnnotation mappingAnnotation) { |
| super(parent, mappingAnnotation); |
| } |
| |
| public JavaCacheable2_0 getCacheable() { |
| return null; |
| } |
| |
| public boolean calculateDefaultCacheable() { |
| return false; |
| } |
| } |