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/base/IDiscriminatorColumn.java')
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/base/IDiscriminatorColumn.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/base/IDiscriminatorColumn.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/base/IDiscriminatorColumn.java
new file mode 100644
index 0000000000..e6159fc70d
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/base/IDiscriminatorColumn.java
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (c) 2005, 2007 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.base;
+
+
+
+public interface IDiscriminatorColumn extends INamedColumn
+{
+ String DEFAULT_NAME = "DTYPE";
+
+ DiscriminatorType getDiscriminatorType();
+
+ DiscriminatorType getDefaultDiscriminatorType();
+ String DEFAULT_DISCRIMINATOR_TYPE_PROPERTY = "defaultDiscriminatorTypeProperty";
+ DiscriminatorType DEFAULT_DISCRIMINATOR_TYPE = DiscriminatorType.STRING;
+
+ DiscriminatorType getSpecifiedDiscriminatorType();
+ void setSpecifiedDiscriminatorType(DiscriminatorType newSpecifiedDiscriminatorType);
+ String SPECIFIED_DISCRIMINATOR_TYPE_PROPERTY = "specifiedDiscriminatorTypeProperty";
+
+
+ Integer getLength();
+
+ Integer getDefaultLength();
+ Integer DEFAULT_LENGTH = Integer.valueOf(31);
+ String DEFAULT_LENGTH_PROPERTY = "defaultLengthProperty";
+
+ Integer getSpecifiedLength();
+ void setSpecifiedLength(Integer value);
+ String SPECIFIED_LENGTH_PROPERTY = "spcifiedLengthProperty";
+
+}

Back to the top