| /******************************************************************************* |
| * 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.SingleRelationshipMapping; |
| |
| public interface OrmSingleRelationshipMapping extends OrmRelationshipMapping, SingleRelationshipMapping |
| { |
| @SuppressWarnings("unchecked") |
| ListIterator<OrmJoinColumn> joinColumns(); |
| |
| OrmJoinColumn getDefaultJoinColumn(); |
| |
| @SuppressWarnings("unchecked") |
| ListIterator<OrmJoinColumn> specifiedJoinColumns(); |
| |
| OrmJoinColumn addSpecifiedJoinColumn(int index); |
| |
| |
| } |