Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/NullOrmJoinTableJoiningStrategy.java')
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/NullOrmJoinTableJoiningStrategy.java79
1 files changed, 0 insertions, 79 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/NullOrmJoinTableJoiningStrategy.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/NullOrmJoinTableJoiningStrategy.java
deleted file mode 100644
index 1c65fa9dd5..0000000000
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/NullOrmJoinTableJoiningStrategy.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 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.core.internal.context.orm;
-
-import org.eclipse.jpt.core.context.orm.OrmJoinTableEnabledRelationshipReference;
-import org.eclipse.jpt.core.context.orm.OrmRelationshipMapping;
-import org.eclipse.jpt.core.resource.orm.XmlJoinTable;
-import org.eclipse.jpt.core.utility.TextRange;
-
-public class NullOrmJoinTableJoiningStrategy
- extends AbstractOrmJoinTableJoiningStrategy
-{
-
-
- public NullOrmJoinTableJoiningStrategy(OrmJoinTableEnabledRelationshipReference parent) {
- super(parent);
- this.initialize();
- }
-
-
- @Override
- public OrmJoinTableEnabledRelationshipReference getParent() {
- return (OrmJoinTableEnabledRelationshipReference) super.getParent();
- }
-
- @Override
- public OrmJoinTableEnabledRelationshipReference getRelationshipReference() {
- return this.getParent();
- }
-
- @Override
- public OrmRelationshipMapping getRelationshipMapping() {
- return this.getRelationshipReference().getRelationshipMapping();
- }
-
- @Override
- protected void setResourceJoinTable(XmlJoinTable resourceJoinTable) {
- throw new UnsupportedOperationException();
- }
-
- public boolean isOverridableAssociation() {
- return false;
- }
-
- public boolean shouldValidateAgainstDatabase() {
- return false;
- }
-
- // **************** join table *********************************************
-
-
- public void removeResourceJoinTable() {
- throw new UnsupportedOperationException();
- }
-
- @Override
- protected boolean mayHaveJoinTable() {
- return false;
- }
-
- public XmlJoinTable getResourceJoinTable() {
- return null;
- }
-
-
- // **************** validation *********************************************
-
- public TextRange getValidationTextRange() {
- return null;
- }
-}

Back to the top