Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2009-11-18 12:58:42 -0500
committerkmoore2009-11-18 12:58:42 -0500
commit42f57cb084b2e2c6efd08cbd0e5df343ec81a50b (patch)
tree2e08a2130abbd3c408fdfc1f0e6eef1ac35d2ca1
parent84cbd538d6aca4a5bcdb7e64b1dcf37c08b738af (diff)
downloadwebtools.dali-42f57cb084b2e2c6efd08cbd0e5df343ec81a50b.tar.gz
webtools.dali-42f57cb084b2e2c6efd08cbd0e5df343ec81a50b.tar.xz
webtools.dali-42f57cb084b2e2c6efd08cbd0e5df343ec81a50b.zip
updated eclipselink orm 2.0 schema. changes were to order-column correction-type and to unique-constraint
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/XmlUniqueConstraint.java3
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/v2_0/JPA2_0.java1
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel10
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore8
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_0.xsd16
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java4
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOrderColumn.java71
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLink2_0.java3
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java14
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java60
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/OrderColumnCorrectionType_2_0.java (renamed from jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/OrderColumnValidationModeType_2_0.java)74
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java28
12 files changed, 147 insertions, 145 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/XmlUniqueConstraint.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/XmlUniqueConstraint.java
index b6c6672fe8..9662e2ea78 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/XmlUniqueConstraint.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/XmlUniqueConstraint.java
@@ -17,7 +17,6 @@ import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EDataTypeEList;
import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
-import org.eclipse.jpt.core.resource.orm.v2_0.JPA2_0;
import org.eclipse.jpt.core.resource.orm.v2_0.OrmV2_0Package;
import org.eclipse.jpt.core.resource.orm.v2_0.XmlUniqueConstraint_2_0;
import org.eclipse.jpt.core.resource.xml.AbstractJpaEObject;
@@ -266,7 +265,7 @@ public class XmlUniqueConstraint extends AbstractJpaEObject implements XmlUnique
}
protected static Translator buildNameTranslator() {
- return new Translator(JPA2_0.NAME, OrmV2_0Package.eINSTANCE.getXmlUniqueConstraint_2_0_Name());
+ return new Translator(JPA.NAME, OrmV2_0Package.eINSTANCE.getXmlUniqueConstraint_2_0_Name(), Translator.DOM_ATTRIBUTE);
}
protected static Translator buildColumnNameTranslator() {
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/v2_0/JPA2_0.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/v2_0/JPA2_0.java
index bb4167f778..8a6387e8fd 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/v2_0/JPA2_0.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/resource/orm/v2_0/JPA2_0.java
@@ -47,5 +47,4 @@ public interface JPA2_0
String ORPHAN_REMOVAL = "orphan-removal";
String TARGET_CLASS = "target-class";
String MAP_KEY_TEMPORAL = "map-key-temporal";
- String VALIDATION_MODE = "validation-mode";
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel b/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel
index 15aa9ae026..5f6227fe96 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel
@@ -256,10 +256,10 @@
</nestedGenPackages>
<nestedGenPackages prefix="EclipseLinkOrmV2_0" basePackage="org.eclipse.jpt.eclipselink.core.resource.orm"
disposableProviderFactory="true" adapterFactory="false" ecorePackage="eclipselink_orm.ecore#//v2_0">
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="eclipselink_orm.ecore#//v2_0/OrderColumnValidationModeType_2_0">
- <genEnumLiterals ecoreEnumLiteral="eclipselink_orm.ecore#//v2_0/OrderColumnValidationModeType_2_0/NONE"/>
- <genEnumLiterals ecoreEnumLiteral="eclipselink_orm.ecore#//v2_0/OrderColumnValidationModeType_2_0/CORRECTION"/>
- <genEnumLiterals ecoreEnumLiteral="eclipselink_orm.ecore#//v2_0/OrderColumnValidationModeType_2_0/EXCEPTION"/>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="eclipselink_orm.ecore#//v2_0/OrderColumnCorrectionType_2_0">
+ <genEnumLiterals ecoreEnumLiteral="eclipselink_orm.ecore#//v2_0/OrderColumnCorrectionType_2_0/READ"/>
+ <genEnumLiterals ecoreEnumLiteral="eclipselink_orm.ecore#//v2_0/OrderColumnCorrectionType_2_0/READ_WRITE"/>
+ <genEnumLiterals ecoreEnumLiteral="eclipselink_orm.ecore#//v2_0/OrderColumnCorrectionType_2_0/EXCEPTION"/>
</genEnums>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_0/XmlCollectionMapping_2_0">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_0/XmlCollectionMapping_2_0/mapKeyConvert"/>
@@ -270,7 +270,7 @@
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_0/XmlMappedSuperclass_2_0"/>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_0/XmlOneToMany_2_0"/>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_0/XmlOrderColumn_2_0">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_0/XmlOrderColumn_2_0/validationMode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_0/XmlOrderColumn_2_0/correctionType"/>
</genClasses>
</nestedGenPackages>
</genPackages>
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore b/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore
index d168186f27..5373ca4d3d 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore
@@ -322,11 +322,11 @@
interface="true" eSuperTypes="#//XmlConverterHolder #//v2_0/XmlCollectionMapping_2_0"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlOrderColumn_2_0" abstract="true"
interface="true">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="validationMode" eType="#//v2_0/OrderColumnValidationModeType_2_0"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="correctionType" eType="#//v2_0/OrderColumnCorrectionType_2_0"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="OrderColumnValidationModeType_2_0">
- <eLiterals name="NONE"/>
- <eLiterals name="CORRECTION" value="1"/>
+ <eClassifiers xsi:type="ecore:EEnum" name="OrderColumnCorrectionType_2_0">
+ <eLiterals name="READ"/>
+ <eLiterals name="READ_WRITE" value="1"/>
<eLiterals name="EXCEPTION" value="2"/>
</eClassifiers>
</eSubpackages>
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_0.xsd b/jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_0.xsd
index 666bf098e3..077a0683c2 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_0.xsd
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_0.xsd
@@ -2587,26 +2587,26 @@
<xsd:attribute name="insertable" type="xsd:boolean"/>
<xsd:attribute name="updatable" type="xsd:boolean"/>
<xsd:attribute name="column-definition" type="xsd:string"/>
- <xsd:attribute name="validation-mode" type="orm:order-column-validation-mode"/>
+ <xsd:attribute name="correction-type" type="orm:order-column-correction-type"/>
</xsd:complexType>
<!-- **************************************************** -->
- <xsd:simpleType name="order-column-validation-mode">
+ <xsd:simpleType name="order-column-correction-type">
<xsd:annotation>
<xsd:documentation>
- public enum OrderColumnValidationMode {
- NONE,
- CORRECTION,
+ public enum OrderCorrectionType {
+ READ,
+ READ_WRITE,
EXCEPTION
}
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:token">
- <xsd:enumeration value="NONE"/>
- <xsd:enumeration value="CORRECTION"/>
+ <xsd:enumeration value="READ"/>
+ <xsd:enumeration value="READ_WRITE"/>
<xsd:enumeration value="EXCEPTION"/>
</xsd:restriction>
</xsd:simpleType>
@@ -3324,9 +3324,9 @@
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
- <xsd:element name="name" type="xsd:string" minOccurs="0"/>
<xsd:element name="column-name" type="xsd:string" maxOccurs="unbounded"/>
</xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
<!-- **************************************************** -->
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java
index 38481bd19d..527a905f2f 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java
@@ -3605,13 +3605,13 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_ORDER_COLUMN__UPDATABLE = OrmPackage.XML_ORDER_COLUMN__UPDATABLE;
/**
- * The feature id for the '<em><b>Validation Mode</b></em>' attribute.
+ * The feature id for the '<em><b>Correction Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ORDER_COLUMN__VALIDATION_MODE = OrmPackage.XML_ORDER_COLUMN_FEATURE_COUNT + 0;
+ public static final int XML_ORDER_COLUMN__CORRECTION_TYPE = OrmPackage.XML_ORDER_COLUMN_FEATURE_COUNT + 0;
/**
* The number of structural features of the '<em>Xml Order Column</em>' class.
* <!-- begin-user-doc -->
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOrderColumn.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOrderColumn.java
index cf2039341d..5e2768f32e 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOrderColumn.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOrderColumn.java
@@ -18,7 +18,7 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLink2_0;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package;
-import org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0;
import org.eclipse.wst.common.internal.emf.resource.Translator;
@@ -34,21 +34,22 @@ import org.eclipse.wst.common.internal.emf.resource.Translator;
*/
public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderColumn implements XmlOrderColumn_2_0
{
+
/**
* changed this to null and removed the generated flag so emf won't generate over it
* we don't want a default for enums, just null if the tag does not exist
*/
- protected static final OrderColumnValidationModeType_2_0 VALIDATION_MODE_EDEFAULT = null;
+ protected static final OrderColumnCorrectionType_2_0 CORRECTION_TYPE_EDEFAULT = null;
/**
- * The cached value of the '{@link #getValidationMode() <em>Validation Mode</em>}' attribute.
+ * The cached value of the '{@link #getCorrectionType() <em>Correction Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getValidationMode()
+ * @see #getCorrectionType()
* @generated
* @ordered
*/
- protected OrderColumnValidationModeType_2_0 validationMode = VALIDATION_MODE_EDEFAULT;
+ protected OrderColumnCorrectionType_2_0 correctionType = CORRECTION_TYPE_EDEFAULT;
/**
* <!-- begin-user-doc -->
@@ -72,41 +73,41 @@ public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderCo
}
/**
- * Returns the value of the '<em><b>Validation Mode</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0}.
+ * Returns the value of the '<em><b>Correction Type</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Validation Mode</em>' attribute isn't clear,
+ * If the meaning of the '<em>Correction Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Validation Mode</em>' attribute.
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0
- * @see #setValidationMode(OrderColumnValidationModeType_2_0)
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn_2_0_ValidationMode()
+ * @return the value of the '<em>Correction Type</em>' attribute.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0
+ * @see #setCorrectionType(OrderColumnCorrectionType_2_0)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn_2_0_CorrectionType()
* @model
* @generated
*/
- public OrderColumnValidationModeType_2_0 getValidationMode()
+ public OrderColumnCorrectionType_2_0 getCorrectionType()
{
- return validationMode;
+ return correctionType;
}
/**
- * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOrderColumn#getValidationMode <em>Validation Mode</em>}' attribute.
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOrderColumn#getCorrectionType <em>Correction Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Validation Mode</em>' attribute.
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0
- * @see #getValidationMode()
+ * @param value the new value of the '<em>Correction Type</em>' attribute.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0
+ * @see #getCorrectionType()
* @generated
*/
- public void setValidationMode(OrderColumnValidationModeType_2_0 newValidationMode)
+ public void setCorrectionType(OrderColumnCorrectionType_2_0 newCorrectionType)
{
- OrderColumnValidationModeType_2_0 oldValidationMode = validationMode;
- validationMode = newValidationMode == null ? VALIDATION_MODE_EDEFAULT : newValidationMode;
+ OrderColumnCorrectionType_2_0 oldCorrectionType = correctionType;
+ correctionType = newCorrectionType == null ? CORRECTION_TYPE_EDEFAULT : newCorrectionType;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ORDER_COLUMN__VALIDATION_MODE, oldValidationMode, validationMode));
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE, oldCorrectionType, correctionType));
}
/**
@@ -119,8 +120,8 @@ public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderCo
{
switch (featureID)
{
- case EclipseLinkOrmPackage.XML_ORDER_COLUMN__VALIDATION_MODE:
- return getValidationMode();
+ case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE:
+ return getCorrectionType();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -135,8 +136,8 @@ public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderCo
{
switch (featureID)
{
- case EclipseLinkOrmPackage.XML_ORDER_COLUMN__VALIDATION_MODE:
- setValidationMode((OrderColumnValidationModeType_2_0)newValue);
+ case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE:
+ setCorrectionType((OrderColumnCorrectionType_2_0)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -152,8 +153,8 @@ public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderCo
{
switch (featureID)
{
- case EclipseLinkOrmPackage.XML_ORDER_COLUMN__VALIDATION_MODE:
- setValidationMode(VALIDATION_MODE_EDEFAULT);
+ case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE:
+ setCorrectionType(CORRECTION_TYPE_EDEFAULT);
return;
}
super.eUnset(featureID);
@@ -169,8 +170,8 @@ public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderCo
{
switch (featureID)
{
- case EclipseLinkOrmPackage.XML_ORDER_COLUMN__VALIDATION_MODE:
- return validationMode != VALIDATION_MODE_EDEFAULT;
+ case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE:
+ return correctionType != CORRECTION_TYPE_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -187,7 +188,7 @@ public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderCo
{
switch (derivedFeatureID)
{
- case EclipseLinkOrmPackage.XML_ORDER_COLUMN__VALIDATION_MODE: return EclipseLinkOrmV2_0Package.XML_ORDER_COLUMN_20__VALIDATION_MODE;
+ case EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE: return EclipseLinkOrmV2_0Package.XML_ORDER_COLUMN_20__CORRECTION_TYPE;
default: return -1;
}
}
@@ -206,7 +207,7 @@ public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderCo
{
switch (baseFeatureID)
{
- case EclipseLinkOrmV2_0Package.XML_ORDER_COLUMN_20__VALIDATION_MODE: return EclipseLinkOrmPackage.XML_ORDER_COLUMN__VALIDATION_MODE;
+ case EclipseLinkOrmV2_0Package.XML_ORDER_COLUMN_20__CORRECTION_TYPE: return EclipseLinkOrmPackage.XML_ORDER_COLUMN__CORRECTION_TYPE;
default: return -1;
}
}
@@ -224,8 +225,8 @@ public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderCo
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
- result.append(" (validationMode: ");
- result.append(validationMode);
+ result.append(" (correctionType: ");
+ result.append(correctionType);
result.append(')');
return result.toString();
}
@@ -254,6 +255,6 @@ public class XmlOrderColumn extends org.eclipse.jpt.core.resource.orm.XmlOrderCo
}
protected static Translator buildValidationModeTranslator() {
- return new Translator(EclipseLink2_0.VALIDATION_MODE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlOrderColumn_2_0_ValidationMode(), Translator.DOM_ATTRIBUTE);
+ return new Translator(EclipseLink2_0.CORRECTION_TYPE, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlOrderColumn_2_0_CorrectionType(), Translator.DOM_ATTRIBUTE);
}
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLink2_0.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLink2_0.java
index 4476e99a9c..f1ee902692 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLink2_0.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLink2_0.java
@@ -22,6 +22,7 @@ public interface EclipseLink2_0
String SCHEMA_VERSION = "2.0";
// EclipseLink 2.0 specific nodes
-
+
+ String CORRECTION_TYPE = "correction-type";
String MAP_KEY_ASSOCIATION_OVERRIDE = "map-key-association-override";
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java
index b23739e189..c0065bce9e 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java
@@ -95,8 +95,8 @@ public class EclipseLinkOrmV2_0Factory extends EFactoryImpl
{
switch (eDataType.getClassifierID())
{
- case EclipseLinkOrmV2_0Package.ORDER_COLUMN_VALIDATION_MODE_TYPE_20:
- return createOrderColumnValidationModeType_2_0FromString(eDataType, initialValue);
+ case EclipseLinkOrmV2_0Package.ORDER_COLUMN_CORRECTION_TYPE_20:
+ return createOrderColumnCorrectionType_2_0FromString(eDataType, initialValue);
default:
throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
@@ -112,8 +112,8 @@ public class EclipseLinkOrmV2_0Factory extends EFactoryImpl
{
switch (eDataType.getClassifierID())
{
- case EclipseLinkOrmV2_0Package.ORDER_COLUMN_VALIDATION_MODE_TYPE_20:
- return convertOrderColumnValidationModeType_2_0ToString(eDataType, instanceValue);
+ case EclipseLinkOrmV2_0Package.ORDER_COLUMN_CORRECTION_TYPE_20:
+ return convertOrderColumnCorrectionType_2_0ToString(eDataType, instanceValue);
default:
throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
@@ -124,9 +124,9 @@ public class EclipseLinkOrmV2_0Factory extends EFactoryImpl
* <!-- end-user-doc -->
* @generated
*/
- public OrderColumnValidationModeType_2_0 createOrderColumnValidationModeType_2_0FromString(EDataType eDataType, String initialValue)
+ public OrderColumnCorrectionType_2_0 createOrderColumnCorrectionType_2_0FromString(EDataType eDataType, String initialValue)
{
- OrderColumnValidationModeType_2_0 result = OrderColumnValidationModeType_2_0.get(initialValue);
+ OrderColumnCorrectionType_2_0 result = OrderColumnCorrectionType_2_0.get(initialValue);
if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
return result;
}
@@ -136,7 +136,7 @@ public class EclipseLinkOrmV2_0Factory extends EFactoryImpl
* <!-- end-user-doc -->
* @generated
*/
- public String convertOrderColumnValidationModeType_2_0ToString(EDataType eDataType, Object instanceValue)
+ public String convertOrderColumnCorrectionType_2_0ToString(EDataType eDataType, Object instanceValue)
{
return instanceValue == null ? null : instanceValue.toString();
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java
index a98a1fe7ed..e73bcbb1c8 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java
@@ -476,13 +476,13 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl
public static final int XML_ORDER_COLUMN_20 = 5;
/**
- * The feature id for the '<em><b>Validation Mode</b></em>' attribute.
+ * The feature id for the '<em><b>Correction Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ORDER_COLUMN_20__VALIDATION_MODE = 0;
+ public static final int XML_ORDER_COLUMN_20__CORRECTION_TYPE = 0;
/**
* The number of structural features of the '<em>Xml Order Column 20</em>' class.
@@ -494,14 +494,14 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl
public static final int XML_ORDER_COLUMN_20_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0 <em>Order Column Validation Mode Type 20</em>}' enum.
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0 <em>Order Column Correction Type 20</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderColumnValidationModeType_2_0()
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderColumnCorrectionType_2_0()
* @generated
*/
- public static final int ORDER_COLUMN_VALIDATION_MODE_TYPE_20 = 6;
+ public static final int ORDER_COLUMN_CORRECTION_TYPE_20 = 6;
/**
* <!-- begin-user-doc -->
@@ -550,7 +550,7 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl
* <!-- end-user-doc -->
* @generated
*/
- private EEnum orderColumnValidationModeType_2_0EEnum = null;
+ private EEnum orderColumnCorrectionType_2_0EEnum = null;
/**
* Creates an instance of the model <b>Package</b>, registered with
@@ -736,32 +736,34 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl
}
/**
- * Returns the meta object for the attribute '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getValidationMode <em>Validation Mode</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType <em>Correction Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Validation Mode</em>'.
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getValidationMode()
+ * @return the meta object for the attribute '<em>Correction Type</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType()
* @see #getXmlOrderColumn_2_0()
* @generated
*/
- public EAttribute getXmlOrderColumn_2_0_ValidationMode()
+ public EAttribute getXmlOrderColumn_2_0_CorrectionType()
{
return (EAttribute)xmlOrderColumn_2_0EClass.getEStructuralFeatures().get(0);
}
+
/**
- * Returns the meta object for enum '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0 <em>Order Column Validation Mode Type 20</em>}'.
+ * Returns the meta object for enum '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0 <em>Order Column Correction Type 20</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for enum '<em>Order Column Validation Mode Type 20</em>'.
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0
+ * @return the meta object for enum '<em>Order Column Correction Type 20</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0
* @generated
*/
- public EEnum getOrderColumnValidationModeType_2_0()
+ public EEnum getOrderColumnCorrectionType_2_0()
{
- return orderColumnValidationModeType_2_0EEnum;
+ return orderColumnCorrectionType_2_0EEnum;
}
+
/**
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
@@ -807,10 +809,10 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl
xmlOneToMany_2_0EClass = createEClass(XML_ONE_TO_MANY_20);
xmlOrderColumn_2_0EClass = createEClass(XML_ORDER_COLUMN_20);
- createEAttribute(xmlOrderColumn_2_0EClass, XML_ORDER_COLUMN_20__VALIDATION_MODE);
+ createEAttribute(xmlOrderColumn_2_0EClass, XML_ORDER_COLUMN_20__CORRECTION_TYPE);
// Create enums
- orderColumnValidationModeType_2_0EEnum = createEEnum(ORDER_COLUMN_VALIDATION_MODE_TYPE_20);
+ orderColumnCorrectionType_2_0EEnum = createEEnum(ORDER_COLUMN_CORRECTION_TYPE_20);
}
/**
@@ -871,13 +873,13 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl
initEClass(xmlOneToMany_2_0EClass, XmlOneToMany_2_0.class, "XmlOneToMany_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(xmlOrderColumn_2_0EClass, XmlOrderColumn_2_0.class, "XmlOrderColumn_2_0", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getXmlOrderColumn_2_0_ValidationMode(), this.getOrderColumnValidationModeType_2_0(), "validationMode", null, 0, 1, XmlOrderColumn_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getXmlOrderColumn_2_0_CorrectionType(), this.getOrderColumnCorrectionType_2_0(), "correctionType", null, 0, 1, XmlOrderColumn_2_0.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Initialize enums and add enum literals
- initEEnum(orderColumnValidationModeType_2_0EEnum, OrderColumnValidationModeType_2_0.class, "OrderColumnValidationModeType_2_0");
- addEEnumLiteral(orderColumnValidationModeType_2_0EEnum, OrderColumnValidationModeType_2_0.NONE);
- addEEnumLiteral(orderColumnValidationModeType_2_0EEnum, OrderColumnValidationModeType_2_0.CORRECTION);
- addEEnumLiteral(orderColumnValidationModeType_2_0EEnum, OrderColumnValidationModeType_2_0.EXCEPTION);
+ initEEnum(orderColumnCorrectionType_2_0EEnum, OrderColumnCorrectionType_2_0.class, "OrderColumnCorrectionType_2_0");
+ addEEnumLiteral(orderColumnCorrectionType_2_0EEnum, OrderColumnCorrectionType_2_0.READ);
+ addEEnumLiteral(orderColumnCorrectionType_2_0EEnum, OrderColumnCorrectionType_2_0.READ_WRITE);
+ addEEnumLiteral(orderColumnCorrectionType_2_0EEnum, OrderColumnCorrectionType_2_0.EXCEPTION);
}
/**
@@ -971,22 +973,22 @@ public class EclipseLinkOrmV2_0Package extends EPackageImpl
public static final EClass XML_ORDER_COLUMN_20 = eINSTANCE.getXmlOrderColumn_2_0();
/**
- * The meta object literal for the '<em><b>Validation Mode</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Correction Type</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- public static final EAttribute XML_ORDER_COLUMN_20__VALIDATION_MODE = eINSTANCE.getXmlOrderColumn_2_0_ValidationMode();
+ public static final EAttribute XML_ORDER_COLUMN_20__CORRECTION_TYPE = eINSTANCE.getXmlOrderColumn_2_0_CorrectionType();
/**
- * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0 <em>Order Column Validation Mode Type 20</em>}' enum.
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0 <em>Order Column Correction Type 20</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderColumnValidationModeType_2_0()
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderColumnCorrectionType_2_0()
* @generated
*/
- public static final EEnum ORDER_COLUMN_VALIDATION_MODE_TYPE_20 = eINSTANCE.getOrderColumnValidationModeType_2_0();
+ public static final EEnum ORDER_COLUMN_CORRECTION_TYPE_20 = eINSTANCE.getOrderColumnCorrectionType_2_0();
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/OrderColumnValidationModeType_2_0.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/OrderColumnCorrectionType_2_0.java
index b3b88bfcee..1b85051a55 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/OrderColumnValidationModeType_2_0.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/OrderColumnCorrectionType_2_0.java
@@ -8,44 +8,44 @@
* Contributors:
* Oracle - initial API and implementation
*******************************************************************************/
-
package org.eclipse.jpt.eclipselink.core.resource.orm.v2_0;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
+
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Order Column Validation Mode Type 20</b></em>',
+ * A representation of the literals of the enumeration '<em><b>Order Column Correction Type 20</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderColumnValidationModeType_2_0()
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getOrderColumnCorrectionType_2_0()
* @model
* @generated
*/
-public enum OrderColumnValidationModeType_2_0 implements Enumerator
+public enum OrderColumnCorrectionType_2_0 implements Enumerator
{
/**
- * The '<em><b>NONE</b></em>' literal object.
+ * The '<em><b>READ</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #NONE_VALUE
+ * @see #READ_VALUE
* @generated
* @ordered
*/
- NONE(0, "NONE", "NONE"),
+ READ(0, "READ", "READ"),
/**
- * The '<em><b>CORRECTION</b></em>' literal object.
+ * The '<em><b>READ WRITE</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #CORRECTION_VALUE
+ * @see #READ_WRITE_VALUE
* @generated
* @ordered
*/
- CORRECTION(1, "CORRECTION", "CORRECTION"),
+ READ_WRITE(1, "READ_WRITE", "READ_WRITE"),
/**
* The '<em><b>EXCEPTION</b></em>' literal object.
@@ -58,34 +58,34 @@ public enum OrderColumnValidationModeType_2_0 implements Enumerator
EXCEPTION(2, "EXCEPTION", "EXCEPTION");
/**
- * The '<em><b>NONE</b></em>' literal value.
+ * The '<em><b>READ</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>NONE</b></em>' literal object isn't clear,
+ * If the meaning of '<em><b>READ</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @see #NONE
+ * @see #READ
* @model
* @generated
* @ordered
*/
- public static final int NONE_VALUE = 0;
+ public static final int READ_VALUE = 0;
/**
- * The '<em><b>CORRECTION</b></em>' literal value.
+ * The '<em><b>READ WRITE</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>CORRECTION</b></em>' literal object isn't clear,
+ * If the meaning of '<em><b>READ WRITE</b></em>' literal object isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @see #CORRECTION
+ * @see #READ_WRITE
* @model
* @generated
* @ordered
*/
- public static final int CORRECTION_VALUE = 1;
+ public static final int READ_WRITE_VALUE = 1;
/**
* The '<em><b>EXCEPTION</b></em>' literal value.
@@ -103,38 +103,38 @@ public enum OrderColumnValidationModeType_2_0 implements Enumerator
public static final int EXCEPTION_VALUE = 2;
/**
- * An array of all the '<em><b>Order Column Validation Mode Type 20</b></em>' enumerators.
+ * An array of all the '<em><b>Order Column Correction Type 20</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private static final OrderColumnValidationModeType_2_0[] VALUES_ARRAY =
- new OrderColumnValidationModeType_2_0[]
+ private static final OrderColumnCorrectionType_2_0[] VALUES_ARRAY =
+ new OrderColumnCorrectionType_2_0[]
{
- NONE,
- CORRECTION,
+ READ,
+ READ_WRITE,
EXCEPTION,
};
/**
- * A public read-only list of all the '<em><b>Order Column Validation Mode Type 20</b></em>' enumerators.
+ * A public read-only list of all the '<em><b>Order Column Correction Type 20</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- public static final List<OrderColumnValidationModeType_2_0> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+ public static final List<OrderColumnCorrectionType_2_0> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
- * Returns the '<em><b>Order Column Validation Mode Type 20</b></em>' literal with the specified literal value.
+ * Returns the '<em><b>Order Column Correction Type 20</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- public static OrderColumnValidationModeType_2_0 get(String literal)
+ public static OrderColumnCorrectionType_2_0 get(String literal)
{
for (int i = 0; i < VALUES_ARRAY.length; ++i)
{
- OrderColumnValidationModeType_2_0 result = VALUES_ARRAY[i];
+ OrderColumnCorrectionType_2_0 result = VALUES_ARRAY[i];
if (result.toString().equals(literal))
{
return result;
@@ -144,16 +144,16 @@ public enum OrderColumnValidationModeType_2_0 implements Enumerator
}
/**
- * Returns the '<em><b>Order Column Validation Mode Type 20</b></em>' literal with the specified name.
+ * Returns the '<em><b>Order Column Correction Type 20</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- public static OrderColumnValidationModeType_2_0 getByName(String name)
+ public static OrderColumnCorrectionType_2_0 getByName(String name)
{
for (int i = 0; i < VALUES_ARRAY.length; ++i)
{
- OrderColumnValidationModeType_2_0 result = VALUES_ARRAY[i];
+ OrderColumnCorrectionType_2_0 result = VALUES_ARRAY[i];
if (result.getName().equals(name))
{
return result;
@@ -163,17 +163,17 @@ public enum OrderColumnValidationModeType_2_0 implements Enumerator
}
/**
- * Returns the '<em><b>Order Column Validation Mode Type 20</b></em>' literal with the specified integer value.
+ * Returns the '<em><b>Order Column Correction Type 20</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- public static OrderColumnValidationModeType_2_0 get(int value)
+ public static OrderColumnCorrectionType_2_0 get(int value)
{
switch (value)
{
- case NONE_VALUE: return NONE;
- case CORRECTION_VALUE: return CORRECTION;
+ case READ_VALUE: return READ;
+ case READ_WRITE_VALUE: return READ_WRITE;
case EXCEPTION_VALUE: return EXCEPTION;
}
return null;
@@ -206,7 +206,7 @@ public enum OrderColumnValidationModeType_2_0 implements Enumerator
* <!-- end-user-doc -->
* @generated
*/
- private OrderColumnValidationModeType_2_0(int value, String name, String literal)
+ private OrderColumnCorrectionType_2_0(int value, String name, String literal)
{
this.value = value;
this.name = name;
@@ -255,4 +255,4 @@ public enum OrderColumnValidationModeType_2_0 implements Enumerator
return literal;
}
-} //OrderColumnValidationModeType_2_0
+} //OrderColumnCorrectionType_2_0
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java
index e9a8fd5157..6ec5348d1a 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java
@@ -21,7 +21,7 @@ import org.eclipse.jpt.core.resource.xml.JpaEObject;
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getValidationMode <em>Validation Mode</em>}</li>
+ * <li>{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType <em>Correction Type</em>}</li>
* </ul>
* </p>
*
@@ -33,32 +33,32 @@ import org.eclipse.jpt.core.resource.xml.JpaEObject;
public interface XmlOrderColumn_2_0 extends JpaEObject
{
/**
- * Returns the value of the '<em><b>Validation Mode</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0}.
+ * Returns the value of the '<em><b>Correction Type</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Validation Mode</em>' attribute isn't clear,
+ * If the meaning of the '<em>Correction Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Validation Mode</em>' attribute.
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0
- * @see #setValidationMode(OrderColumnValidationModeType_2_0)
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0_ValidationMode()
+ * @return the value of the '<em>Correction Type</em>' attribute.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0
+ * @see #setCorrectionType(OrderColumnCorrectionType_2_0)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package#getXmlOrderColumn_2_0_CorrectionType()
* @model
* @generated
*/
- OrderColumnValidationModeType_2_0 getValidationMode();
+ OrderColumnCorrectionType_2_0 getCorrectionType();
/**
- * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getValidationMode <em>Validation Mode</em>}' attribute.
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.XmlOrderColumn_2_0#getCorrectionType <em>Correction Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>Validation Mode</em>' attribute.
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnValidationModeType_2_0
- * @see #getValidationMode()
+ * @param value the new value of the '<em>Correction Type</em>' attribute.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.OrderColumnCorrectionType_2_0
+ * @see #getCorrectionType()
* @generated
*/
- void setValidationMode(OrderColumnValidationModeType_2_0 value);
+ void setCorrectionType(OrderColumnCorrectionType_2_0 value);
} // XmlOrderColumn_2_0

Back to the top