diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/RelationshipReference.java')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/RelationshipReference.java | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/RelationshipReference.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/RelationshipReference.java deleted file mode 100644 index 87163ab098..0000000000 --- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/context/RelationshipReference.java +++ /dev/null @@ -1,77 +0,0 @@ -/******************************************************************************* - * Copyright (c) 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.context; - -/** - * A <code>RelationshipReference</code> represents the meta-information required - * to populate the entities involved in a <code>RelationshipMapping</code>. This - * might includes join table information, join column information, and/or - * "mappedBy" information, to name a few. - * <p> - * Provisional API: This interface is part of an interim API that is still - * under development and expected to change significantly before reaching - * stability. It is available at this early stage to solicit feedback from - * pioneering adopters on the understanding that any code that uses this API - * will almost certainly be broken (repeatedly) as the API evolves. - * - * @see RelationshipMapping - */ -public interface RelationshipReference extends JpaContextNode -{ - RelationshipMapping getRelationshipMapping(); - - /** - * Return the TypeMapping that owns this relationship reference - */ - TypeMapping getTypeMapping(); - - /** - * Return the entity that owns the relationship mapping. This is - * just a convenience method that calls getTypeMapping() and returns - * null if it is not an Entity - */ - Entity getEntity(); - - /** - * Return whether this is the owning side of the relationship. - * @see {@link RelationshipMapping#isRelationshipOwner()} - */ - boolean isRelationshipOwner(); - - /** - * Returns whether the given mapping is the owning side of a relationship - * with this relationship reference - */ - boolean isOwnedBy(RelationshipMapping mapping); - - /** - * String associated with changes to the predominant strategy property - */ - final static String PREDOMINANT_JOINING_STRATEGY_PROPERTY = - "predominantStrategy"; //$NON-NLS-1$ - - /** - * Return the predominant joining strategy, this should not be null - */ - JoiningStrategy getPredominantJoiningStrategy(); - - /** - * Return whether the mapping can be overridden with an association override - */ - boolean isOverridableAssociation(); - - /** - * Return whether the parent of this relationship reference is virtual - * @return - */ - boolean isParentVirtual(); - -} |