blob: 877ae2b5ef4164786dad32769e02525239d77a30 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 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.context.orm;
import java.util.ListIterator;
import org.eclipse.jpt.core.context.SecondaryTable;
import org.eclipse.jpt.core.resource.orm.XmlSecondaryTable;
public interface OrmSecondaryTable extends SecondaryTable, OrmJpaContextNode
{
@SuppressWarnings("unchecked")
ListIterator<OrmPrimaryKeyJoinColumn> primaryKeyJoinColumns();
OrmPrimaryKeyJoinColumn getDefaultPrimaryKeyJoinColumn();
@SuppressWarnings("unchecked")
ListIterator<OrmPrimaryKeyJoinColumn> specifiedPrimaryKeyJoinColumns();
OrmPrimaryKeyJoinColumn addSpecifiedPrimaryKeyJoinColumn(int index);
void initialize(XmlSecondaryTable secondaryTable);
void update(XmlSecondaryTable secondaryTable);
}