Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java')
-rwxr-xr-xtests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java
index d9184422c..1a23e69f8 100755
--- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/samples/emf/hibernate/usertype/impl/UsertypeFactoryImpl.java
@@ -68,6 +68,7 @@ public class UsertypeFactoryImpl extends EFactoryImpl implements UsertypeFactory
case UsertypePackage.PERSON: return createPerson();
case UsertypePackage.ADDRESS: return createAddress();
case UsertypePackage.CITY: return createCity();
+ case UsertypePackage.CERTIFICATE: return createCertificate();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -152,6 +153,16 @@ public class UsertypeFactoryImpl extends EFactoryImpl implements UsertypeFactory
* <!-- end-user-doc -->
* @generated
*/
+ public Certificate createCertificate() {
+ CertificateImpl certificate = new CertificateImpl();
+ return certificate;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public CitySize createCitySizeFromString(EDataType eDataType, String initialValue) {
CitySize result = CitySize.get(initialValue);
if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");

Back to the top