blob: 963887add8163d76e55ee44c958817d3c115d843 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2009 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.jpa1.context.java;
import org.eclipse.jpt.core.context.AccessType;
import org.eclipse.jpt.core.context.PersistentType;
import org.eclipse.jpt.core.internal.context.java.AbstractJavaPersistentType;
import org.eclipse.jpt.core.resource.java.JavaResourcePersistentType;
public class GenericJavaPersistentType
extends AbstractJavaPersistentType
{
public GenericJavaPersistentType(PersistentType.Owner parent, JavaResourcePersistentType jrpt) {
super(parent, jrpt);
}
// **************** access type *******************************************
/**
* GenericJavaPersistentType does not support specified access (no Access annotation in 1.0),
* so we return null
*/
@Override
protected AccessType buildSpecifiedAccess() {
return null;
}
/**
* GenericJavaPersistentType does not support specified access (no Access annotation in 1.0)
*/
public void setSpecifiedAccess(AccessType specifiedAccess) {
throw new UnsupportedOperationException();
}
}