diff options
author | mtaal | 2006-11-12 00:19:28 +0000 |
---|---|---|
committer | mtaal | 2006-11-12 00:19:28 +0000 |
commit | 99c7be7614541490177a62913ae9d13cb48d9549 (patch) | |
tree | a5df1fc8fb138d7786edd5c7d6ace2f46ad32c1b | |
parent | e4edd170d20b02e7c6bde82cd388088ff738985b (diff) | |
download | org.eclipse.emf.teneo-99c7be7614541490177a62913ae9d13cb48d9549.tar.gz org.eclipse.emf.teneo-99c7be7614541490177a62913ae9d13cb48d9549.tar.xz org.eclipse.emf.teneo-99c7be7614541490177a62913ae9d13cb48d9549.zip |
Removed custom test case
80 files changed, 58 insertions, 4505 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/META-INF/MANIFEST.MF b/examples/org.eclipse.emf.teneo.samples/META-INF/MANIFEST.MF index 7c3d0a23c..e1555d3db 100644 --- a/examples/org.eclipse.emf.teneo.samples/META-INF/MANIFEST.MF +++ b/examples/org.eclipse.emf.teneo.samples/META-INF/MANIFEST.MF @@ -12,13 +12,7 @@ Require-Bundle: org.eclipse.emf.ecore.xmi, Eclipse-LazyStart: true Eclipse-BuddyPolicy: dependent Bundle-Vendor: %Plugin.providerName -Export-Package: com.pareis.trading, - com.pareis.trading.impl, - com.pareis.trading.util, - com.pareis.trading.yahoo, - com.pareis.trading.yahoo.impl, - com.pareis.trading.yahoo.util, - extlibrary, +Export-Package: extlibrary, extlibrary.impl, extlibrary.util, main, diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/Client.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/Client.java deleted file mode 100644 index bf8954693..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/Client.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: Client.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading; - -import com.pareis.trading.yahoo.Yahoo; - -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Client</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * A Mandant or a Client - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link com.pareis.trading.Client#getSystem <em>System</em>}</li> - * <li>{@link com.pareis.trading.Client#getVendors <em>Vendors</em>}</li> - * </ul> - * </p> - * - * @see com.pareis.trading.TradingPackage#getClient() - * @model - * @generated - */ -public interface Client extends Identifiable { - /** - * Returns the value of the '<em><b>System</b></em>' container reference. - * It is bidirectional and its opposite is '{@link com.pareis.trading.System#getClients <em>Clients</em>}'. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>System</em>' container reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>System</em>' container reference. - * @see #setSystem(com.pareis.trading.System) - * @see com.pareis.trading.TradingPackage#getClient_System() - * @see com.pareis.trading.System#getClients - * @model opposite="clients" - * @generated - */ - com.pareis.trading.System getSystem(); - - /** - * Sets the value of the '{@link com.pareis.trading.Client#getSystem <em>System</em>}' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>System</em>' container reference. - * @see #getSystem() - * @generated - */ - void setSystem(com.pareis.trading.System value); - - /** - * Returns the value of the '<em><b>Vendors</b></em>' containment reference list. - * The list contents are of type {@link com.pareis.trading.yahoo.Yahoo}. - * It is bidirectional and its opposite is '{@link com.pareis.trading.yahoo.Yahoo#getClient <em>Client</em>}'. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Vendors</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Vendors</em>' containment reference list. - * @see com.pareis.trading.TradingPackage#getClient_Vendors() - * @see com.pareis.trading.yahoo.Yahoo#getClient - * @model type="com.pareis.trading.yahoo.Yahoo" opposite="Client" containment="true" - * @generated - */ - EList getVendors(); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model - * @generated - */ - Yahoo createDefaultStructure(); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model - * @generated - */ - void createYahooStructureAndSeed(); - -} // Client
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/Identifiable.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/Identifiable.java deleted file mode 100644 index 4a257746b..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/Identifiable.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: Identifiable.java,v 1.1 2006/11/07 10:22:26 mtaal Exp $ - */ -package com.pareis.trading; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Identifiable</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link com.pareis.trading.Identifiable#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see com.pareis.trading.TradingPackage#getIdentifiable() - * @model interface="true" abstract="true" - * @generated - */ -public interface Identifiable extends EObject { - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see com.pareis.trading.TradingPackage#getIdentifiable_Id() - * @model - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link com.pareis.trading.Identifiable#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // Identifiable
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/System.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/System.java deleted file mode 100644 index dc06a0f6b..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/System.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: System.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading; - -import org.eclipse.emf.common.util.EList; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>System</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * global singleton, representing the system or the application - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link com.pareis.trading.System#getClients <em>Clients</em>}</li> - * </ul> - * </p> - * - * @see com.pareis.trading.TradingPackage#getSystem() - * @model - * @generated - */ -public interface System extends Identifiable { - /** - * Returns the value of the '<em><b>Clients</b></em>' containment reference list. - * The list contents are of type {@link com.pareis.trading.Client}. - * It is bidirectional and its opposite is '{@link com.pareis.trading.Client#getSystem <em>System</em>}'. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Clients</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Clients</em>' containment reference list. - * @see com.pareis.trading.TradingPackage#getSystem_Clients() - * @see com.pareis.trading.Client#getSystem - * @model type="com.pareis.trading.Client" opposite="System" containment="true" - * @generated - */ - EList getClients(); - -} // System
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/TradingFactory.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/TradingFactory.java deleted file mode 100644 index 735dd1e70..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/TradingFactory.java +++ /dev/null @@ -1,55 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: TradingFactory.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see com.pareis.trading.TradingPackage - * @generated - */ -public interface TradingFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - TradingFactory eINSTANCE = com.pareis.trading.impl.TradingFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Client</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Client</em>'. - * @generated - */ - Client createClient(); - - /** - * Returns a new object of class '<em>System</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>System</em>'. - * @generated - */ - com.pareis.trading.System createSystem(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - TradingPackage getTradingPackage(); - -} //TradingFactory diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/TradingPackage.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/TradingPackage.java deleted file mode 100644 index 18a8e469e..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/TradingPackage.java +++ /dev/null @@ -1,334 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: TradingPackage.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see com.pareis.trading.TradingFactory - * @model kind="package" - * @generated - */ -public interface TradingPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "trading"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///com/pareis/trading.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "com.pareis.trading"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - TradingPackage eINSTANCE = com.pareis.trading.impl.TradingPackageImpl.init(); - - /** - * The meta object id for the '{@link com.pareis.trading.Identifiable <em>Identifiable</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.Identifiable - * @see com.pareis.trading.impl.TradingPackageImpl#getIdentifiable() - * @generated - */ - int IDENTIFIABLE = 1; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IDENTIFIABLE__ID = 0; - - /** - * The number of structural features of the '<em>Identifiable</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IDENTIFIABLE_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link com.pareis.trading.impl.ClientImpl <em>Client</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.impl.ClientImpl - * @see com.pareis.trading.impl.TradingPackageImpl#getClient() - * @generated - */ - int CLIENT = 0; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CLIENT__ID = IDENTIFIABLE__ID; - - /** - * The feature id for the '<em><b>System</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CLIENT__SYSTEM = IDENTIFIABLE_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Vendors</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CLIENT__VENDORS = IDENTIFIABLE_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Client</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CLIENT_FEATURE_COUNT = IDENTIFIABLE_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link com.pareis.trading.impl.SystemImpl <em>System</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.impl.SystemImpl - * @see com.pareis.trading.impl.TradingPackageImpl#getSystem() - * @generated - */ - int SYSTEM = 2; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SYSTEM__ID = IDENTIFIABLE__ID; - - /** - * The feature id for the '<em><b>Clients</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SYSTEM__CLIENTS = IDENTIFIABLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>System</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SYSTEM_FEATURE_COUNT = IDENTIFIABLE_FEATURE_COUNT + 1; - - - /** - * Returns the meta object for class '{@link com.pareis.trading.Client <em>Client</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Client</em>'. - * @see com.pareis.trading.Client - * @generated - */ - EClass getClient(); - - /** - * Returns the meta object for the container reference '{@link com.pareis.trading.Client#getSystem <em>System</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the container reference '<em>System</em>'. - * @see com.pareis.trading.Client#getSystem() - * @see #getClient() - * @generated - */ - EReference getClient_System(); - - /** - * Returns the meta object for the containment reference list '{@link com.pareis.trading.Client#getVendors <em>Vendors</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Vendors</em>'. - * @see com.pareis.trading.Client#getVendors() - * @see #getClient() - * @generated - */ - EReference getClient_Vendors(); - - /** - * Returns the meta object for class '{@link com.pareis.trading.Identifiable <em>Identifiable</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Identifiable</em>'. - * @see com.pareis.trading.Identifiable - * @generated - */ - EClass getIdentifiable(); - - /** - * Returns the meta object for the attribute '{@link com.pareis.trading.Identifiable#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see com.pareis.trading.Identifiable#getId() - * @see #getIdentifiable() - * @generated - */ - EAttribute getIdentifiable_Id(); - - /** - * Returns the meta object for class '{@link com.pareis.trading.System <em>System</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>System</em>'. - * @see com.pareis.trading.System - * @generated - */ - EClass getSystem(); - - /** - * Returns the meta object for the containment reference list '{@link com.pareis.trading.System#getClients <em>Clients</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Clients</em>'. - * @see com.pareis.trading.System#getClients() - * @see #getSystem() - * @generated - */ - EReference getSystem_Clients(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - TradingFactory getTradingFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link com.pareis.trading.impl.ClientImpl <em>Client</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.impl.ClientImpl - * @see com.pareis.trading.impl.TradingPackageImpl#getClient() - * @generated - */ - EClass CLIENT = eINSTANCE.getClient(); - - /** - * The meta object literal for the '<em><b>System</b></em>' container reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CLIENT__SYSTEM = eINSTANCE.getClient_System(); - - /** - * The meta object literal for the '<em><b>Vendors</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CLIENT__VENDORS = eINSTANCE.getClient_Vendors(); - - /** - * The meta object literal for the '{@link com.pareis.trading.Identifiable <em>Identifiable</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.Identifiable - * @see com.pareis.trading.impl.TradingPackageImpl#getIdentifiable() - * @generated - */ - EClass IDENTIFIABLE = eINSTANCE.getIdentifiable(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IDENTIFIABLE__ID = eINSTANCE.getIdentifiable_Id(); - - /** - * The meta object literal for the '{@link com.pareis.trading.impl.SystemImpl <em>System</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.impl.SystemImpl - * @see com.pareis.trading.impl.TradingPackageImpl#getSystem() - * @generated - */ - EClass SYSTEM = eINSTANCE.getSystem(); - - /** - * The meta object literal for the '<em><b>Clients</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference SYSTEM__CLIENTS = eINSTANCE.getSystem_Clients(); - - } - -} //TradingPackage diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/ClientImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/ClientImpl.java deleted file mode 100644 index ba816473e..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/ClientImpl.java +++ /dev/null @@ -1,327 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: ClientImpl.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading.impl; - -import com.pareis.trading.Client; -import com.pareis.trading.TradingPackage; - -import com.pareis.trading.yahoo.Yahoo; -import com.pareis.trading.yahoo.YahooPackage; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Client</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link com.pareis.trading.impl.ClientImpl#getId <em>Id</em>}</li> - * <li>{@link com.pareis.trading.impl.ClientImpl#getSystem <em>System</em>}</li> - * <li>{@link com.pareis.trading.impl.ClientImpl#getVendors <em>Vendors</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ClientImpl extends EObjectImpl implements Client { - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The cached value of the '{@link #getVendors() <em>Vendors</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVendors() - * @generated - * @ordered - */ - protected EList vendors = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ClientImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TradingPackage.Literals.CLIENT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TradingPackage.CLIENT__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public com.pareis.trading.System getSystem() { - if (eContainerFeatureID != TradingPackage.CLIENT__SYSTEM) return null; - return (com.pareis.trading.System)eContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSystem(com.pareis.trading.System newSystem, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newSystem, TradingPackage.CLIENT__SYSTEM, msgs); - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSystem(com.pareis.trading.System newSystem) { - if (newSystem != eInternalContainer() || (eContainerFeatureID != TradingPackage.CLIENT__SYSTEM && newSystem != null)) { - if (EcoreUtil.isAncestor(this, newSystem)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newSystem != null) - msgs = ((InternalEObject)newSystem).eInverseAdd(this, TradingPackage.SYSTEM__CLIENTS, com.pareis.trading.System.class, msgs); - msgs = basicSetSystem(newSystem, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TradingPackage.CLIENT__SYSTEM, newSystem, newSystem)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getVendors() { - if (vendors == null) { - vendors = new EObjectContainmentWithInverseEList(Yahoo.class, this, TradingPackage.CLIENT__VENDORS, YahooPackage.YAHOO__CLIENT); - } - return vendors; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Yahoo createDefaultStructure() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createYahooStructureAndSeed() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TradingPackage.CLIENT__SYSTEM: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetSystem((com.pareis.trading.System)otherEnd, msgs); - case TradingPackage.CLIENT__VENDORS: - return ((InternalEList)getVendors()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TradingPackage.CLIENT__SYSTEM: - return basicSetSystem(null, msgs); - case TradingPackage.CLIENT__VENDORS: - return ((InternalEList)getVendors()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID) { - case TradingPackage.CLIENT__SYSTEM: - return eInternalContainer().eInverseRemove(this, TradingPackage.SYSTEM__CLIENTS, com.pareis.trading.System.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TradingPackage.CLIENT__ID: - return getId(); - case TradingPackage.CLIENT__SYSTEM: - return getSystem(); - case TradingPackage.CLIENT__VENDORS: - return getVendors(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TradingPackage.CLIENT__ID: - setId((String)newValue); - return; - case TradingPackage.CLIENT__SYSTEM: - setSystem((com.pareis.trading.System)newValue); - return; - case TradingPackage.CLIENT__VENDORS: - getVendors().clear(); - getVendors().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TradingPackage.CLIENT__ID: - setId(ID_EDEFAULT); - return; - case TradingPackage.CLIENT__SYSTEM: - setSystem((com.pareis.trading.System)null); - return; - case TradingPackage.CLIENT__VENDORS: - getVendors().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TradingPackage.CLIENT__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case TradingPackage.CLIENT__SYSTEM: - return getSystem() != null; - case TradingPackage.CLIENT__VENDORS: - return vendors != null && !vendors.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ClientImpl
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/SystemImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/SystemImpl.java deleted file mode 100644 index c96d08fe3..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/SystemImpl.java +++ /dev/null @@ -1,230 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: SystemImpl.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading.impl; - -import com.pareis.trading.Client; -import com.pareis.trading.TradingPackage; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; -import org.eclipse.emf.ecore.util.InternalEList; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>System</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link com.pareis.trading.impl.SystemImpl#getId <em>Id</em>}</li> - * <li>{@link com.pareis.trading.impl.SystemImpl#getClients <em>Clients</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class SystemImpl extends EObjectImpl implements com.pareis.trading.System { - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The cached value of the '{@link #getClients() <em>Clients</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClients() - * @generated - * @ordered - */ - protected EList clients = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected SystemImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TradingPackage.Literals.SYSTEM; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TradingPackage.SYSTEM__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getClients() { - if (clients == null) { - clients = new EObjectContainmentWithInverseEList(Client.class, this, TradingPackage.SYSTEM__CLIENTS, TradingPackage.CLIENT__SYSTEM); - } - return clients; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TradingPackage.SYSTEM__CLIENTS: - return ((InternalEList)getClients()).basicAdd(otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TradingPackage.SYSTEM__CLIENTS: - return ((InternalEList)getClients()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TradingPackage.SYSTEM__ID: - return getId(); - case TradingPackage.SYSTEM__CLIENTS: - return getClients(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TradingPackage.SYSTEM__ID: - setId((String)newValue); - return; - case TradingPackage.SYSTEM__CLIENTS: - getClients().clear(); - getClients().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TradingPackage.SYSTEM__ID: - setId(ID_EDEFAULT); - return; - case TradingPackage.SYSTEM__CLIENTS: - getClients().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TradingPackage.SYSTEM__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case TradingPackage.SYSTEM__CLIENTS: - return clients != null && !clients.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(')'); - return result.toString(); - } - -} //SystemImpl
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/TradingFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/TradingFactoryImpl.java deleted file mode 100644 index b91c0ece6..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/TradingFactoryImpl.java +++ /dev/null @@ -1,110 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: TradingFactoryImpl.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading.impl; - -import com.pareis.trading.Client; -import com.pareis.trading.TradingFactory; -import com.pareis.trading.TradingPackage; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class TradingFactoryImpl extends EFactoryImpl implements TradingFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static TradingFactory init() { - try { - TradingFactory theTradingFactory = (TradingFactory)EPackage.Registry.INSTANCE.getEFactory("http:///com/pareis/trading.ecore"); - if (theTradingFactory != null) { - return theTradingFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new TradingFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TradingFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case TradingPackage.CLIENT: return createClient(); - case TradingPackage.SYSTEM: return createSystem(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Client createClient() { - ClientImpl client = new ClientImpl(); - return client; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public com.pareis.trading.System createSystem() { - SystemImpl system = new SystemImpl(); - return system; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TradingPackage getTradingPackage() { - return (TradingPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - public static TradingPackage getPackage() { - return TradingPackage.eINSTANCE; - } - -} //TradingFactoryImpl diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/TradingPackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/TradingPackageImpl.java deleted file mode 100644 index 3e82da9d4..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/impl/TradingPackageImpl.java +++ /dev/null @@ -1,280 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: TradingPackageImpl.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading.impl; - -import com.pareis.trading.Client; -import com.pareis.trading.Identifiable; -import com.pareis.trading.TradingFactory; -import com.pareis.trading.TradingPackage; - -import com.pareis.trading.yahoo.YahooPackage; - -import com.pareis.trading.yahoo.impl.YahooPackageImpl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class TradingPackageImpl extends EPackageImpl implements TradingPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass clientEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass identifiableEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass systemEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see com.pareis.trading.TradingPackage#eNS_URI - * @see #init() - * @generated - */ - private TradingPackageImpl() { - super(eNS_URI, TradingFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this - * model, and for any others upon which it depends. Simple - * dependencies are satisfied by calling this method on all - * dependent packages before doing anything else. This method drives - * initialization for interdependent packages directly, in parallel - * with this package, itself. - * <p>Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - * <p>Invocation of this method will not affect any packages that have - * already been initialized. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static TradingPackage init() { - if (isInited) return (TradingPackage)EPackage.Registry.INSTANCE.getEPackage(TradingPackage.eNS_URI); - - // Obtain or create and register package - TradingPackageImpl theTradingPackage = (TradingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof TradingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new TradingPackageImpl()); - - isInited = true; - - // Obtain or create and register interdependencies - YahooPackageImpl theYahooPackage = (YahooPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(YahooPackage.eNS_URI) instanceof YahooPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(YahooPackage.eNS_URI) : YahooPackage.eINSTANCE); - - // Create package meta-data objects - theTradingPackage.createPackageContents(); - theYahooPackage.createPackageContents(); - - // Initialize created meta-data - theTradingPackage.initializePackageContents(); - theYahooPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theTradingPackage.freeze(); - - return theTradingPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getClient() { - return clientEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getClient_System() { - return (EReference)clientEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getClient_Vendors() { - return (EReference)clientEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getIdentifiable() { - return identifiableEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getIdentifiable_Id() { - return (EAttribute)identifiableEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSystem() { - return systemEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getSystem_Clients() { - return (EReference)systemEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TradingFactory getTradingFactory() { - return (TradingFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - clientEClass = createEClass(CLIENT); - createEReference(clientEClass, CLIENT__SYSTEM); - createEReference(clientEClass, CLIENT__VENDORS); - - identifiableEClass = createEClass(IDENTIFIABLE); - createEAttribute(identifiableEClass, IDENTIFIABLE__ID); - - systemEClass = createEClass(SYSTEM); - createEReference(systemEClass, SYSTEM__CLIENTS); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - YahooPackage theYahooPackage = (YahooPackage)EPackage.Registry.INSTANCE.getEPackage(YahooPackage.eNS_URI); - - // Add subpackages - getESubpackages().add(theYahooPackage); - - // Add supertypes to classes - clientEClass.getESuperTypes().add(this.getIdentifiable()); - systemEClass.getESuperTypes().add(this.getIdentifiable()); - - // Initialize classes and features; add operations and parameters - initEClass(clientEClass, Client.class, "Client", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getClient_System(), this.getSystem(), this.getSystem_Clients(), "System", null, 0, 1, Client.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getClient_Vendors(), theYahooPackage.getYahoo(), theYahooPackage.getYahoo_Client(), "vendors", null, 0, -1, Client.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - addEOperation(clientEClass, theYahooPackage.getYahoo(), "createDefaultStructure", 0, 1); - - addEOperation(clientEClass, null, "createYahooStructureAndSeed"); - - initEClass(identifiableEClass, Identifiable.class, "Identifiable", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getIdentifiable_Id(), ecorePackage.getEString(), "id", null, 0, 1, Identifiable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(systemEClass, com.pareis.trading.System.class, "System", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSystem_Clients(), this.getClient(), this.getClient_System(), "clients", null, 0, -1, com.pareis.trading.System.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Create resource - createResource(eNS_URI); - } - -} //TradingPackageImpl diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/util/TradingAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/util/TradingAdapterFactory.java deleted file mode 100644 index 7aef4b8fc..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/util/TradingAdapterFactory.java +++ /dev/null @@ -1,156 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: TradingAdapterFactory.java,v 1.1 2006/11/07 10:22:28 mtaal Exp $ - */ -package com.pareis.trading.util; - -import com.pareis.trading.Client; -import com.pareis.trading.Identifiable; -import com.pareis.trading.TradingPackage; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see com.pareis.trading.TradingPackage - * @generated - */ -public class TradingAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static TradingPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TradingAdapterFactory() { - if (modelPackage == null) { - modelPackage = TradingPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch the delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TradingSwitch modelSwitch = - new TradingSwitch() { - public Object caseClient(Client object) { - return createClientAdapter(); - } - public Object caseIdentifiable(Identifiable object) { - return createIdentifiableAdapter(); - } - public Object caseSystem(com.pareis.trading.System object) { - return createSystemAdapter(); - } - public Object defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - public Adapter createAdapter(Notifier target) { - return (Adapter)modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link com.pareis.trading.Client <em>Client</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see com.pareis.trading.Client - * @generated - */ - public Adapter createClientAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link com.pareis.trading.Identifiable <em>Identifiable</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see com.pareis.trading.Identifiable - * @generated - */ - public Adapter createIdentifiableAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link com.pareis.trading.System <em>System</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see com.pareis.trading.System - * @generated - */ - public Adapter createSystemAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //TradingAdapterFactory diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/util/TradingSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/util/TradingSwitch.java deleted file mode 100644 index 4788b6e5c..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/util/TradingSwitch.java +++ /dev/null @@ -1,176 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: TradingSwitch.java,v 1.1 2006/11/07 10:22:28 mtaal Exp $ - */ -package com.pareis.trading.util; - -import com.pareis.trading.Client; -import com.pareis.trading.Identifiable; -import com.pareis.trading.TradingPackage; - -import java.util.List; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see com.pareis.trading.TradingPackage - * @generated - */ -public class TradingSwitch { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static TradingPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TradingSwitch() { - if (modelPackage == null) { - modelPackage = TradingPackage.eINSTANCE; - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - public Object doSwitch(EObject theEObject) { - return doSwitch(theEObject.eClass(), theEObject); - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } - else { - List eSuperTypes = theEClass.getESuperTypes(); - return - eSuperTypes.isEmpty() ? - defaultCase(theEObject) : - doSwitch((EClass)eSuperTypes.get(0), theEObject); - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case TradingPackage.CLIENT: { - Client client = (Client)theEObject; - Object result = caseClient(client); - if (result == null) result = caseIdentifiable(client); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TradingPackage.IDENTIFIABLE: { - Identifiable identifiable = (Identifiable)theEObject; - Object result = caseIdentifiable(identifiable); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TradingPackage.SYSTEM: { - com.pareis.trading.System system = (com.pareis.trading.System)theEObject; - Object result = caseSystem(system); - if (result == null) result = caseIdentifiable(system); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Client</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Client</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseClient(Client object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Identifiable</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Identifiable</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseIdentifiable(Identifiable object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>System</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>System</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseSystem(com.pareis.trading.System object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - public Object defaultCase(EObject object) { - return null; - } - -} //TradingSwitch diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/Yahoo.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/Yahoo.java deleted file mode 100644 index a74c98dc4..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/Yahoo.java +++ /dev/null @@ -1,115 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: Yahoo.java,v 1.1 2006/11/07 10:22:28 mtaal Exp $ - */ -package com.pareis.trading.yahoo; - -import com.pareis.trading.Client; -import com.pareis.trading.Identifiable; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Yahoo</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link com.pareis.trading.yahoo.Yahoo#getIndicesComponentsSource <em>Indices Components Source</em>}</li> - * <li>{@link com.pareis.trading.yahoo.Yahoo#getIndicesSeed <em>Indices Seed</em>}</li> - * <li>{@link com.pareis.trading.yahoo.Yahoo#getClient <em>Client</em>}</li> - * </ul> - * </p> - * - * @see com.pareis.trading.yahoo.YahooPackage#getYahoo() - * @model - * @generated - */ -public interface Yahoo extends Identifiable { - /** - * Returns the value of the '<em><b>Indices Components Source</b></em>' containment reference. - * It is bidirectional and its opposite is '{@link com.pareis.trading.yahoo.YahooIndicesComponentsSource#getVendor <em>Vendor</em>}'. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Indices Components Source</em>' containment reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Indices Components Source</em>' containment reference. - * @see #setIndicesComponentsSource(YahooIndicesComponentsSource) - * @see com.pareis.trading.yahoo.YahooPackage#getYahoo_IndicesComponentsSource() - * @see com.pareis.trading.yahoo.YahooIndicesComponentsSource#getVendor - * @model opposite="vendor" containment="true" - * @generated - */ - YahooIndicesComponentsSource getIndicesComponentsSource(); - - /** - * Sets the value of the '{@link com.pareis.trading.yahoo.Yahoo#getIndicesComponentsSource <em>Indices Components Source</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Indices Components Source</em>' containment reference. - * @see #getIndicesComponentsSource() - * @generated - */ - void setIndicesComponentsSource(YahooIndicesComponentsSource value); - - /** - * Returns the value of the '<em><b>Indices Seed</b></em>' containment reference. - * It is bidirectional and its opposite is '{@link com.pareis.trading.yahoo.YahooIndicesSeed#getVendor <em>Vendor</em>}'. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Indices Seed</em>' containment reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Indices Seed</em>' containment reference. - * @see #setIndicesSeed(YahooIndicesSeed) - * @see com.pareis.trading.yahoo.YahooPackage#getYahoo_IndicesSeed() - * @see com.pareis.trading.yahoo.YahooIndicesSeed#getVendor - * @model opposite="vendor" containment="true" - * @generated - */ - YahooIndicesSeed getIndicesSeed(); - - /** - * Sets the value of the '{@link com.pareis.trading.yahoo.Yahoo#getIndicesSeed <em>Indices Seed</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Indices Seed</em>' containment reference. - * @see #getIndicesSeed() - * @generated - */ - void setIndicesSeed(YahooIndicesSeed value); - - /** - * Returns the value of the '<em><b>Client</b></em>' container reference. - * It is bidirectional and its opposite is '{@link com.pareis.trading.Client#getVendors <em>Vendors</em>}'. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Client</em>' container reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Client</em>' container reference. - * @see #setClient(Client) - * @see com.pareis.trading.yahoo.YahooPackage#getYahoo_Client() - * @see com.pareis.trading.Client#getVendors - * @model opposite="vendors" - * @generated - */ - Client getClient(); - - /** - * Sets the value of the '{@link com.pareis.trading.yahoo.Yahoo#getClient <em>Client</em>}' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Client</em>' container reference. - * @see #getClient() - * @generated - */ - void setClient(Client value); - -} // Yahoo
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooFactory.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooFactory.java deleted file mode 100644 index 213eb72ee..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooFactory.java +++ /dev/null @@ -1,64 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooFactory.java,v 1.1 2006/11/07 10:22:28 mtaal Exp $ - */ -package com.pareis.trading.yahoo; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.YahooPackage - * @generated - */ -public interface YahooFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - YahooFactory eINSTANCE = com.pareis.trading.yahoo.impl.YahooFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Yahoo</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Yahoo</em>'. - * @generated - */ - Yahoo createYahoo(); - - /** - * Returns a new object of class '<em>Indices Components Source</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Indices Components Source</em>'. - * @generated - */ - YahooIndicesComponentsSource createYahooIndicesComponentsSource(); - - /** - * Returns a new object of class '<em>Indices Seed</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Indices Seed</em>'. - * @generated - */ - YahooIndicesSeed createYahooIndicesSeed(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - YahooPackage getYahooPackage(); - -} //YahooFactory diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooIndicesComponentsSource.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooIndicesComponentsSource.java deleted file mode 100644 index 1e6a8305a..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooIndicesComponentsSource.java +++ /dev/null @@ -1,64 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooIndicesComponentsSource.java,v 1.1 2006/11/07 10:22:28 mtaal Exp $ - */ -package com.pareis.trading.yahoo; - -import com.pareis.trading.Identifiable; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Indices Components Source</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link com.pareis.trading.yahoo.YahooIndicesComponentsSource#getVendor <em>Vendor</em>}</li> - * </ul> - * </p> - * - * @see com.pareis.trading.yahoo.YahooPackage#getYahooIndicesComponentsSource() - * @model - * @generated - */ -public interface YahooIndicesComponentsSource extends Identifiable { - /** - * Returns the value of the '<em><b>Vendor</b></em>' container reference. - * It is bidirectional and its opposite is '{@link com.pareis.trading.yahoo.Yahoo#getIndicesComponentsSource <em>Indices Components Source</em>}'. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Vendor</em>' container reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Vendor</em>' container reference. - * @see #setVendor(Yahoo) - * @see com.pareis.trading.yahoo.YahooPackage#getYahooIndicesComponentsSource_Vendor() - * @see com.pareis.trading.yahoo.Yahoo#getIndicesComponentsSource - * @model opposite="indicesComponentsSource" - * @generated - */ - Yahoo getVendor(); - - /** - * Sets the value of the '{@link com.pareis.trading.yahoo.YahooIndicesComponentsSource#getVendor <em>Vendor</em>}' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Vendor</em>' container reference. - * @see #getVendor() - * @generated - */ - void setVendor(Yahoo value); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model - * @generated - */ - void addToAllStockIndices(); - -} // YahooIndicesComponentsSource
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooIndicesSeed.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooIndicesSeed.java deleted file mode 100644 index 1475ef014..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooIndicesSeed.java +++ /dev/null @@ -1,91 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooIndicesSeed.java,v 1.1 2006/11/07 10:22:28 mtaal Exp $ - */ -package com.pareis.trading.yahoo; - -import com.pareis.trading.Identifiable; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Indices Seed</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link com.pareis.trading.yahoo.YahooIndicesSeed#getSeedSymbols <em>Seed Symbols</em>}</li> - * <li>{@link com.pareis.trading.yahoo.YahooIndicesSeed#getVendor <em>Vendor</em>}</li> - * </ul> - * </p> - * - * @see com.pareis.trading.yahoo.YahooPackage#getYahooIndicesSeed() - * @model - * @generated - */ -public interface YahooIndicesSeed extends Identifiable { - /** - * Returns the value of the '<em><b>Seed Symbols</b></em>' attribute. - * The default value is <code>"^NDX ^DJI ^DJA ^NJ ^GSPC"</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * the symbols have to be separated by space - * <!-- end-model-doc --> - * @return the value of the '<em>Seed Symbols</em>' attribute. - * @see #setSeedSymbols(String) - * @see com.pareis.trading.yahoo.YahooPackage#getYahooIndicesSeed_SeedSymbols() - * @model default="^NDX ^DJI ^DJA ^NJ ^GSPC" - * @generated - */ - String getSeedSymbols(); - - /** - * Sets the value of the '{@link com.pareis.trading.yahoo.YahooIndicesSeed#getSeedSymbols <em>Seed Symbols</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Seed Symbols</em>' attribute. - * @see #getSeedSymbols() - * @generated - */ - void setSeedSymbols(String value); - - /** - * Returns the value of the '<em><b>Vendor</b></em>' container reference. - * It is bidirectional and its opposite is '{@link com.pareis.trading.yahoo.Yahoo#getIndicesSeed <em>Indices Seed</em>}'. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Vendor</em>' container reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Vendor</em>' container reference. - * @see #setVendor(Yahoo) - * @see com.pareis.trading.yahoo.YahooPackage#getYahooIndicesSeed_Vendor() - * @see com.pareis.trading.yahoo.Yahoo#getIndicesSeed - * @model opposite="indicesSeed" - * @generated - */ - Yahoo getVendor(); - - /** - * Sets the value of the '{@link com.pareis.trading.yahoo.YahooIndicesSeed#getVendor <em>Vendor</em>}' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Vendor</em>' container reference. - * @see #getVendor() - * @generated - */ - void setVendor(Yahoo value); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model - * @generated - */ - void seed(); - -} // YahooIndicesSeed
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooPackage.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooPackage.java deleted file mode 100644 index 002c7b9cb..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/YahooPackage.java +++ /dev/null @@ -1,401 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooPackage.java,v 1.1 2006/11/07 10:22:28 mtaal Exp $ - */ -package com.pareis.trading.yahoo; - -import com.pareis.trading.TradingPackage; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.YahooFactory - * @model kind="package" - * @generated - */ -public interface YahooPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "yahoo"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http:///com/pareis/trading/yahoo.ecore"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "com.pareis.trading.yahoo"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - YahooPackage eINSTANCE = com.pareis.trading.yahoo.impl.YahooPackageImpl.init(); - - /** - * The meta object id for the '{@link com.pareis.trading.yahoo.impl.YahooImpl <em>Yahoo</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.impl.YahooImpl - * @see com.pareis.trading.yahoo.impl.YahooPackageImpl#getYahoo() - * @generated - */ - int YAHOO = 0; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO__ID = TradingPackage.IDENTIFIABLE__ID; - - /** - * The feature id for the '<em><b>Indices Components Source</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO__INDICES_COMPONENTS_SOURCE = TradingPackage.IDENTIFIABLE_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Indices Seed</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO__INDICES_SEED = TradingPackage.IDENTIFIABLE_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Client</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO__CLIENT = TradingPackage.IDENTIFIABLE_FEATURE_COUNT + 2; - - /** - * The number of structural features of the '<em>Yahoo</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO_FEATURE_COUNT = TradingPackage.IDENTIFIABLE_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link com.pareis.trading.yahoo.impl.YahooIndicesComponentsSourceImpl <em>Indices Components Source</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.impl.YahooIndicesComponentsSourceImpl - * @see com.pareis.trading.yahoo.impl.YahooPackageImpl#getYahooIndicesComponentsSource() - * @generated - */ - int YAHOO_INDICES_COMPONENTS_SOURCE = 1; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO_INDICES_COMPONENTS_SOURCE__ID = TradingPackage.IDENTIFIABLE__ID; - - /** - * The feature id for the '<em><b>Vendor</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR = TradingPackage.IDENTIFIABLE_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Indices Components Source</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO_INDICES_COMPONENTS_SOURCE_FEATURE_COUNT = TradingPackage.IDENTIFIABLE_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link com.pareis.trading.yahoo.impl.YahooIndicesSeedImpl <em>Indices Seed</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.impl.YahooIndicesSeedImpl - * @see com.pareis.trading.yahoo.impl.YahooPackageImpl#getYahooIndicesSeed() - * @generated - */ - int YAHOO_INDICES_SEED = 2; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO_INDICES_SEED__ID = TradingPackage.IDENTIFIABLE__ID; - - /** - * The feature id for the '<em><b>Seed Symbols</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO_INDICES_SEED__SEED_SYMBOLS = TradingPackage.IDENTIFIABLE_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Vendor</b></em>' container reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO_INDICES_SEED__VENDOR = TradingPackage.IDENTIFIABLE_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Indices Seed</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int YAHOO_INDICES_SEED_FEATURE_COUNT = TradingPackage.IDENTIFIABLE_FEATURE_COUNT + 2; - - - /** - * Returns the meta object for class '{@link com.pareis.trading.yahoo.Yahoo <em>Yahoo</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Yahoo</em>'. - * @see com.pareis.trading.yahoo.Yahoo - * @generated - */ - EClass getYahoo(); - - /** - * Returns the meta object for the containment reference '{@link com.pareis.trading.yahoo.Yahoo#getIndicesComponentsSource <em>Indices Components Source</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Indices Components Source</em>'. - * @see com.pareis.trading.yahoo.Yahoo#getIndicesComponentsSource() - * @see #getYahoo() - * @generated - */ - EReference getYahoo_IndicesComponentsSource(); - - /** - * Returns the meta object for the containment reference '{@link com.pareis.trading.yahoo.Yahoo#getIndicesSeed <em>Indices Seed</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Indices Seed</em>'. - * @see com.pareis.trading.yahoo.Yahoo#getIndicesSeed() - * @see #getYahoo() - * @generated - */ - EReference getYahoo_IndicesSeed(); - - /** - * Returns the meta object for the container reference '{@link com.pareis.trading.yahoo.Yahoo#getClient <em>Client</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the container reference '<em>Client</em>'. - * @see com.pareis.trading.yahoo.Yahoo#getClient() - * @see #getYahoo() - * @generated - */ - EReference getYahoo_Client(); - - /** - * Returns the meta object for class '{@link com.pareis.trading.yahoo.YahooIndicesComponentsSource <em>Indices Components Source</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Indices Components Source</em>'. - * @see com.pareis.trading.yahoo.YahooIndicesComponentsSource - * @generated - */ - EClass getYahooIndicesComponentsSource(); - - /** - * Returns the meta object for the container reference '{@link com.pareis.trading.yahoo.YahooIndicesComponentsSource#getVendor <em>Vendor</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the container reference '<em>Vendor</em>'. - * @see com.pareis.trading.yahoo.YahooIndicesComponentsSource#getVendor() - * @see #getYahooIndicesComponentsSource() - * @generated - */ - EReference getYahooIndicesComponentsSource_Vendor(); - - /** - * Returns the meta object for class '{@link com.pareis.trading.yahoo.YahooIndicesSeed <em>Indices Seed</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Indices Seed</em>'. - * @see com.pareis.trading.yahoo.YahooIndicesSeed - * @generated - */ - EClass getYahooIndicesSeed(); - - /** - * Returns the meta object for the attribute '{@link com.pareis.trading.yahoo.YahooIndicesSeed#getSeedSymbols <em>Seed Symbols</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Seed Symbols</em>'. - * @see com.pareis.trading.yahoo.YahooIndicesSeed#getSeedSymbols() - * @see #getYahooIndicesSeed() - * @generated - */ - EAttribute getYahooIndicesSeed_SeedSymbols(); - - /** - * Returns the meta object for the container reference '{@link com.pareis.trading.yahoo.YahooIndicesSeed#getVendor <em>Vendor</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the container reference '<em>Vendor</em>'. - * @see com.pareis.trading.yahoo.YahooIndicesSeed#getVendor() - * @see #getYahooIndicesSeed() - * @generated - */ - EReference getYahooIndicesSeed_Vendor(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - YahooFactory getYahooFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link com.pareis.trading.yahoo.impl.YahooImpl <em>Yahoo</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.impl.YahooImpl - * @see com.pareis.trading.yahoo.impl.YahooPackageImpl#getYahoo() - * @generated - */ - EClass YAHOO = eINSTANCE.getYahoo(); - - /** - * The meta object literal for the '<em><b>Indices Components Source</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference YAHOO__INDICES_COMPONENTS_SOURCE = eINSTANCE.getYahoo_IndicesComponentsSource(); - - /** - * The meta object literal for the '<em><b>Indices Seed</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference YAHOO__INDICES_SEED = eINSTANCE.getYahoo_IndicesSeed(); - - /** - * The meta object literal for the '<em><b>Client</b></em>' container reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference YAHOO__CLIENT = eINSTANCE.getYahoo_Client(); - - /** - * The meta object literal for the '{@link com.pareis.trading.yahoo.impl.YahooIndicesComponentsSourceImpl <em>Indices Components Source</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.impl.YahooIndicesComponentsSourceImpl - * @see com.pareis.trading.yahoo.impl.YahooPackageImpl#getYahooIndicesComponentsSource() - * @generated - */ - EClass YAHOO_INDICES_COMPONENTS_SOURCE = eINSTANCE.getYahooIndicesComponentsSource(); - - /** - * The meta object literal for the '<em><b>Vendor</b></em>' container reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR = eINSTANCE.getYahooIndicesComponentsSource_Vendor(); - - /** - * The meta object literal for the '{@link com.pareis.trading.yahoo.impl.YahooIndicesSeedImpl <em>Indices Seed</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.impl.YahooIndicesSeedImpl - * @see com.pareis.trading.yahoo.impl.YahooPackageImpl#getYahooIndicesSeed() - * @generated - */ - EClass YAHOO_INDICES_SEED = eINSTANCE.getYahooIndicesSeed(); - - /** - * The meta object literal for the '<em><b>Seed Symbols</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute YAHOO_INDICES_SEED__SEED_SYMBOLS = eINSTANCE.getYahooIndicesSeed_SeedSymbols(); - - /** - * The meta object literal for the '<em><b>Vendor</b></em>' container reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference YAHOO_INDICES_SEED__VENDOR = eINSTANCE.getYahooIndicesSeed_Vendor(); - - } - -} //YahooPackage diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooFactoryImpl.java deleted file mode 100644 index 81c58af77..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooFactoryImpl.java +++ /dev/null @@ -1,119 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooFactoryImpl.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading.yahoo.impl; - -import com.pareis.trading.yahoo.*; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class YahooFactoryImpl extends EFactoryImpl implements YahooFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static YahooFactory init() { - try { - YahooFactory theYahooFactory = (YahooFactory)EPackage.Registry.INSTANCE.getEFactory("http:///com/pareis/trading/yahoo.ecore"); - if (theYahooFactory != null) { - return theYahooFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new YahooFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public YahooFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case YahooPackage.YAHOO: return createYahoo(); - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE: return createYahooIndicesComponentsSource(); - case YahooPackage.YAHOO_INDICES_SEED: return createYahooIndicesSeed(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Yahoo createYahoo() { - YahooImpl yahoo = new YahooImpl(); - return yahoo; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public YahooIndicesComponentsSource createYahooIndicesComponentsSource() { - YahooIndicesComponentsSourceImpl yahooIndicesComponentsSource = new YahooIndicesComponentsSourceImpl(); - return yahooIndicesComponentsSource; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public YahooIndicesSeed createYahooIndicesSeed() { - YahooIndicesSeedImpl yahooIndicesSeed = new YahooIndicesSeedImpl(); - return yahooIndicesSeed; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public YahooPackage getYahooPackage() { - return (YahooPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - public static YahooPackage getPackage() { - return YahooPackage.eINSTANCE; - } - -} //YahooFactoryImpl diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooImpl.java deleted file mode 100644 index 13bf6bdac..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooImpl.java +++ /dev/null @@ -1,399 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooImpl.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading.yahoo.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EcoreUtil; - -import com.pareis.trading.Client; -import com.pareis.trading.TradingPackage; -import com.pareis.trading.yahoo.Yahoo; -import com.pareis.trading.yahoo.YahooIndicesComponentsSource; -import com.pareis.trading.yahoo.YahooIndicesSeed; -import com.pareis.trading.yahoo.YahooPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Yahoo</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link com.pareis.trading.yahoo.impl.YahooImpl#getId <em>Id</em>}</li> - * <li>{@link com.pareis.trading.yahoo.impl.YahooImpl#getIndicesComponentsSource <em>Indices Components Source</em>}</li> - * <li>{@link com.pareis.trading.yahoo.impl.YahooImpl#getIndicesSeed <em>Indices Seed</em>}</li> - * <li>{@link com.pareis.trading.yahoo.impl.YahooImpl#getClient <em>Client</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class YahooImpl extends EObjectImpl implements Yahoo { - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The cached value of the '{@link #getIndicesComponentsSource() <em>Indices Components Source</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIndicesComponentsSource() - * @generated - * @ordered - */ - protected YahooIndicesComponentsSource indicesComponentsSource = null; - - /** - * The cached value of the '{@link #getIndicesSeed() <em>Indices Seed</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIndicesSeed() - * @generated - * @ordered - */ - protected YahooIndicesSeed indicesSeed = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected YahooImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return YahooPackage.Literals.YAHOO; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public YahooIndicesComponentsSource getIndicesComponentsSource() { - return indicesComponentsSource; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetIndicesComponentsSource(YahooIndicesComponentsSource newIndicesComponentsSource, NotificationChain msgs) { - YahooIndicesComponentsSource oldIndicesComponentsSource = indicesComponentsSource; - indicesComponentsSource = newIndicesComponentsSource; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE, oldIndicesComponentsSource, newIndicesComponentsSource); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIndicesComponentsSource(YahooIndicesComponentsSource newIndicesComponentsSource) { - if (newIndicesComponentsSource != indicesComponentsSource) { - NotificationChain msgs = null; - if (indicesComponentsSource != null) - msgs = ((InternalEObject)indicesComponentsSource).eInverseRemove(this, YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR, YahooIndicesComponentsSource.class, msgs); - if (newIndicesComponentsSource != null) - msgs = ((InternalEObject)newIndicesComponentsSource).eInverseAdd(this, YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR, YahooIndicesComponentsSource.class, msgs); - msgs = basicSetIndicesComponentsSource(newIndicesComponentsSource, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE, newIndicesComponentsSource, newIndicesComponentsSource)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public YahooIndicesSeed getIndicesSeed() { - return indicesSeed; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetIndicesSeed(YahooIndicesSeed newIndicesSeed, NotificationChain msgs) { - YahooIndicesSeed oldIndicesSeed = indicesSeed; - indicesSeed = newIndicesSeed; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO__INDICES_SEED, oldIndicesSeed, newIndicesSeed); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIndicesSeed(YahooIndicesSeed newIndicesSeed) { - if (newIndicesSeed != indicesSeed) { - NotificationChain msgs = null; - if (indicesSeed != null) - msgs = ((InternalEObject)indicesSeed).eInverseRemove(this, YahooPackage.YAHOO_INDICES_SEED__VENDOR, YahooIndicesSeed.class, msgs); - if (newIndicesSeed != null) - msgs = ((InternalEObject)newIndicesSeed).eInverseAdd(this, YahooPackage.YAHOO_INDICES_SEED__VENDOR, YahooIndicesSeed.class, msgs); - msgs = basicSetIndicesSeed(newIndicesSeed, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO__INDICES_SEED, newIndicesSeed, newIndicesSeed)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Client getClient() { - if (eContainerFeatureID != YahooPackage.YAHOO__CLIENT) return null; - return (Client)eContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetClient(Client newClient, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newClient, YahooPackage.YAHOO__CLIENT, msgs); - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setClient(Client newClient) { - if (newClient != eInternalContainer() || (eContainerFeatureID != YahooPackage.YAHOO__CLIENT && newClient != null)) { - if (EcoreUtil.isAncestor(this, newClient)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newClient != null) - msgs = ((InternalEObject)newClient).eInverseAdd(this, TradingPackage.CLIENT__VENDORS, Client.class, msgs); - msgs = basicSetClient(newClient, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO__CLIENT, newClient, newClient)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE: - if (indicesComponentsSource != null) - msgs = ((InternalEObject)indicesComponentsSource).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE, null, msgs); - return basicSetIndicesComponentsSource((YahooIndicesComponentsSource)otherEnd, msgs); - case YahooPackage.YAHOO__INDICES_SEED: - if (indicesSeed != null) - msgs = ((InternalEObject)indicesSeed).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - YahooPackage.YAHOO__INDICES_SEED, null, msgs); - return basicSetIndicesSeed((YahooIndicesSeed)otherEnd, msgs); - case YahooPackage.YAHOO__CLIENT: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetClient((Client)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE: - return basicSetIndicesComponentsSource(null, msgs); - case YahooPackage.YAHOO__INDICES_SEED: - return basicSetIndicesSeed(null, msgs); - case YahooPackage.YAHOO__CLIENT: - return basicSetClient(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID) { - case YahooPackage.YAHOO__CLIENT: - return eInternalContainer().eInverseRemove(this, TradingPackage.CLIENT__VENDORS, Client.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case YahooPackage.YAHOO__ID: - return getId(); - case YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE: - return getIndicesComponentsSource(); - case YahooPackage.YAHOO__INDICES_SEED: - return getIndicesSeed(); - case YahooPackage.YAHOO__CLIENT: - return getClient(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case YahooPackage.YAHOO__ID: - setId((String)newValue); - return; - case YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE: - setIndicesComponentsSource((YahooIndicesComponentsSource)newValue); - return; - case YahooPackage.YAHOO__INDICES_SEED: - setIndicesSeed((YahooIndicesSeed)newValue); - return; - case YahooPackage.YAHOO__CLIENT: - setClient((Client)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case YahooPackage.YAHOO__ID: - setId(ID_EDEFAULT); - return; - case YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE: - setIndicesComponentsSource((YahooIndicesComponentsSource)null); - return; - case YahooPackage.YAHOO__INDICES_SEED: - setIndicesSeed((YahooIndicesSeed)null); - return; - case YahooPackage.YAHOO__CLIENT: - setClient((Client)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case YahooPackage.YAHOO__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE: - return indicesComponentsSource != null; - case YahooPackage.YAHOO__INDICES_SEED: - return indicesSeed != null; - case YahooPackage.YAHOO__CLIENT: - return getClient() != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(')'); - return result.toString(); - } - -} //YahooImpl
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooIndicesComponentsSourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooIndicesComponentsSourceImpl.java deleted file mode 100644 index dd41d950f..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooIndicesComponentsSourceImpl.java +++ /dev/null @@ -1,270 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooIndicesComponentsSourceImpl.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading.yahoo.impl; - -import com.pareis.trading.yahoo.Yahoo; -import com.pareis.trading.yahoo.YahooIndicesComponentsSource; -import com.pareis.trading.yahoo.YahooPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EcoreUtil; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Indices Components Source</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link com.pareis.trading.yahoo.impl.YahooIndicesComponentsSourceImpl#getId <em>Id</em>}</li> - * <li>{@link com.pareis.trading.yahoo.impl.YahooIndicesComponentsSourceImpl#getVendor <em>Vendor</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class YahooIndicesComponentsSourceImpl extends EObjectImpl implements YahooIndicesComponentsSource { - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected YahooIndicesComponentsSourceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return YahooPackage.Literals.YAHOO_INDICES_COMPONENTS_SOURCE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Yahoo getVendor() { - if (eContainerFeatureID != YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR) return null; - return (Yahoo)eContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVendor(Yahoo newVendor, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newVendor, YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR, msgs); - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVendor(Yahoo newVendor) { - if (newVendor != eInternalContainer() || (eContainerFeatureID != YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR && newVendor != null)) { - if (EcoreUtil.isAncestor(this, newVendor)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newVendor != null) - msgs = ((InternalEObject)newVendor).eInverseAdd(this, YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE, Yahoo.class, msgs); - msgs = basicSetVendor(newVendor, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR, newVendor, newVendor)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void addToAllStockIndices() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetVendor((Yahoo)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR: - return basicSetVendor(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID) { - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR: - return eInternalContainer().eInverseRemove(this, YahooPackage.YAHOO__INDICES_COMPONENTS_SOURCE, Yahoo.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__ID: - return getId(); - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR: - return getVendor(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__ID: - setId((String)newValue); - return; - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR: - setVendor((Yahoo)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__ID: - setId(ID_EDEFAULT); - return; - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR: - setVendor((Yahoo)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR: - return getVendor() != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(')'); - return result.toString(); - } - -} //YahooIndicesComponentsSourceImpl
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooIndicesSeedImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooIndicesSeedImpl.java deleted file mode 100644 index 74c8fb2f6..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooIndicesSeedImpl.java +++ /dev/null @@ -1,324 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooIndicesSeedImpl.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading.yahoo.impl; - -import com.pareis.trading.yahoo.Yahoo; -import com.pareis.trading.yahoo.YahooIndicesSeed; -import com.pareis.trading.yahoo.YahooPackage; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EcoreUtil; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Indices Seed</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link com.pareis.trading.yahoo.impl.YahooIndicesSeedImpl#getId <em>Id</em>}</li> - * <li>{@link com.pareis.trading.yahoo.impl.YahooIndicesSeedImpl#getSeedSymbols <em>Seed Symbols</em>}</li> - * <li>{@link com.pareis.trading.yahoo.impl.YahooIndicesSeedImpl#getVendor <em>Vendor</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class YahooIndicesSeedImpl extends EObjectImpl implements YahooIndicesSeed { - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getSeedSymbols() <em>Seed Symbols</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSeedSymbols() - * @generated - * @ordered - */ - protected static final String SEED_SYMBOLS_EDEFAULT = "^NDX ^DJI ^DJA ^NJ ^GSPC"; - - /** - * The cached value of the '{@link #getSeedSymbols() <em>Seed Symbols</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSeedSymbols() - * @generated - * @ordered - */ - protected String seedSymbols = SEED_SYMBOLS_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected YahooIndicesSeedImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return YahooPackage.Literals.YAHOO_INDICES_SEED; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO_INDICES_SEED__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getSeedSymbols() { - return seedSymbols; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSeedSymbols(String newSeedSymbols) { - String oldSeedSymbols = seedSymbols; - seedSymbols = newSeedSymbols; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO_INDICES_SEED__SEED_SYMBOLS, oldSeedSymbols, seedSymbols)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Yahoo getVendor() { - if (eContainerFeatureID != YahooPackage.YAHOO_INDICES_SEED__VENDOR) return null; - return (Yahoo)eContainer(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVendor(Yahoo newVendor, NotificationChain msgs) { - msgs = eBasicSetContainer((InternalEObject)newVendor, YahooPackage.YAHOO_INDICES_SEED__VENDOR, msgs); - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVendor(Yahoo newVendor) { - if (newVendor != eInternalContainer() || (eContainerFeatureID != YahooPackage.YAHOO_INDICES_SEED__VENDOR && newVendor != null)) { - if (EcoreUtil.isAncestor(this, newVendor)) - throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); - NotificationChain msgs = null; - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - if (newVendor != null) - msgs = ((InternalEObject)newVendor).eInverseAdd(this, YahooPackage.YAHOO__INDICES_SEED, Yahoo.class, msgs); - msgs = basicSetVendor(newVendor, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, YahooPackage.YAHOO_INDICES_SEED__VENDOR, newVendor, newVendor)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void seed() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_SEED__VENDOR: - if (eInternalContainer() != null) - msgs = eBasicRemoveFromContainer(msgs); - return basicSetVendor((Yahoo)otherEnd, msgs); - } - return super.eInverseAdd(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_SEED__VENDOR: - return basicSetVendor(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { - switch (eContainerFeatureID) { - case YahooPackage.YAHOO_INDICES_SEED__VENDOR: - return eInternalContainer().eInverseRemove(this, YahooPackage.YAHOO__INDICES_SEED, Yahoo.class, msgs); - } - return super.eBasicRemoveFromContainerFeature(msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_SEED__ID: - return getId(); - case YahooPackage.YAHOO_INDICES_SEED__SEED_SYMBOLS: - return getSeedSymbols(); - case YahooPackage.YAHOO_INDICES_SEED__VENDOR: - return getVendor(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_SEED__ID: - setId((String)newValue); - return; - case YahooPackage.YAHOO_INDICES_SEED__SEED_SYMBOLS: - setSeedSymbols((String)newValue); - return; - case YahooPackage.YAHOO_INDICES_SEED__VENDOR: - setVendor((Yahoo)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_SEED__ID: - setId(ID_EDEFAULT); - return; - case YahooPackage.YAHOO_INDICES_SEED__SEED_SYMBOLS: - setSeedSymbols(SEED_SYMBOLS_EDEFAULT); - return; - case YahooPackage.YAHOO_INDICES_SEED__VENDOR: - setVendor((Yahoo)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case YahooPackage.YAHOO_INDICES_SEED__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case YahooPackage.YAHOO_INDICES_SEED__SEED_SYMBOLS: - return SEED_SYMBOLS_EDEFAULT == null ? seedSymbols != null : !SEED_SYMBOLS_EDEFAULT.equals(seedSymbols); - case YahooPackage.YAHOO_INDICES_SEED__VENDOR: - return getVendor() != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", seedSymbols: "); - result.append(seedSymbols); - result.append(')'); - return result.toString(); - } - -} //YahooIndicesSeedImpl
\ No newline at end of file diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooPackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooPackageImpl.java deleted file mode 100644 index 3e0e760f1..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/impl/YahooPackageImpl.java +++ /dev/null @@ -1,295 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooPackageImpl.java,v 1.1 2006/11/07 10:22:27 mtaal Exp $ - */ -package com.pareis.trading.yahoo.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import com.pareis.trading.TradingPackage; -import com.pareis.trading.impl.TradingPackageImpl; -import com.pareis.trading.yahoo.Yahoo; -import com.pareis.trading.yahoo.YahooFactory; -import com.pareis.trading.yahoo.YahooIndicesComponentsSource; -import com.pareis.trading.yahoo.YahooIndicesSeed; -import com.pareis.trading.yahoo.YahooPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class YahooPackageImpl extends EPackageImpl implements YahooPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass yahooEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass yahooIndicesComponentsSourceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass yahooIndicesSeedEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see com.pareis.trading.yahoo.YahooPackage#eNS_URI - * @see #init() - * @generated - */ - private YahooPackageImpl() { - super(eNS_URI, YahooFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this - * model, and for any others upon which it depends. Simple - * dependencies are satisfied by calling this method on all - * dependent packages before doing anything else. This method drives - * initialization for interdependent packages directly, in parallel - * with this package, itself. - * <p>Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - * <p>Invocation of this method will not affect any packages that have - * already been initialized. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static YahooPackage init() { - if (isInited) return (YahooPackage)EPackage.Registry.INSTANCE.getEPackage(YahooPackage.eNS_URI); - - // Obtain or create and register package - YahooPackageImpl theYahooPackage = (YahooPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof YahooPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new YahooPackageImpl()); - - isInited = true; - - // Obtain or create and register interdependencies - TradingPackageImpl theTradingPackage = (TradingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TradingPackage.eNS_URI) instanceof TradingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TradingPackage.eNS_URI) : TradingPackage.eINSTANCE); - - // Create package meta-data objects - theYahooPackage.createPackageContents(); - theTradingPackage.createPackageContents(); - - // Initialize created meta-data - theYahooPackage.initializePackageContents(); - theTradingPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theYahooPackage.freeze(); - - return theYahooPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getYahoo() { - return yahooEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getYahoo_IndicesComponentsSource() { - return (EReference)yahooEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getYahoo_IndicesSeed() { - return (EReference)yahooEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getYahoo_Client() { - return (EReference)yahooEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getYahooIndicesComponentsSource() { - return yahooIndicesComponentsSourceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getYahooIndicesComponentsSource_Vendor() { - return (EReference)yahooIndicesComponentsSourceEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getYahooIndicesSeed() { - return yahooIndicesSeedEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getYahooIndicesSeed_SeedSymbols() { - return (EAttribute)yahooIndicesSeedEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getYahooIndicesSeed_Vendor() { - return (EReference)yahooIndicesSeedEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public YahooFactory getYahooFactory() { - return (YahooFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - yahooEClass = createEClass(YAHOO); - createEReference(yahooEClass, YAHOO__INDICES_COMPONENTS_SOURCE); - createEReference(yahooEClass, YAHOO__INDICES_SEED); - createEReference(yahooEClass, YAHOO__CLIENT); - - yahooIndicesComponentsSourceEClass = createEClass(YAHOO_INDICES_COMPONENTS_SOURCE); - createEReference(yahooIndicesComponentsSourceEClass, YAHOO_INDICES_COMPONENTS_SOURCE__VENDOR); - - yahooIndicesSeedEClass = createEClass(YAHOO_INDICES_SEED); - createEAttribute(yahooIndicesSeedEClass, YAHOO_INDICES_SEED__SEED_SYMBOLS); - createEReference(yahooIndicesSeedEClass, YAHOO_INDICES_SEED__VENDOR); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - TradingPackage theTradingPackage = (TradingPackage)EPackage.Registry.INSTANCE.getEPackage(TradingPackage.eNS_URI); - - // Add supertypes to classes - yahooEClass.getESuperTypes().add(theTradingPackage.getIdentifiable()); - yahooIndicesComponentsSourceEClass.getESuperTypes().add(theTradingPackage.getIdentifiable()); - yahooIndicesSeedEClass.getESuperTypes().add(theTradingPackage.getIdentifiable()); - - // Initialize classes and features; add operations and parameters - initEClass(yahooEClass, Yahoo.class, "Yahoo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getYahoo_IndicesComponentsSource(), this.getYahooIndicesComponentsSource(), this.getYahooIndicesComponentsSource_Vendor(), "indicesComponentsSource", null, 0, 1, Yahoo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getYahoo_IndicesSeed(), this.getYahooIndicesSeed(), this.getYahooIndicesSeed_Vendor(), "indicesSeed", null, 0, 1, Yahoo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getYahoo_Client(), theTradingPackage.getClient(), theTradingPackage.getClient_Vendors(), "Client", null, 0, 1, Yahoo.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(yahooIndicesComponentsSourceEClass, YahooIndicesComponentsSource.class, "YahooIndicesComponentsSource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getYahooIndicesComponentsSource_Vendor(), this.getYahoo(), this.getYahoo_IndicesComponentsSource(), "vendor", null, 0, 1, YahooIndicesComponentsSource.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - addEOperation(yahooIndicesComponentsSourceEClass, null, "addToAllStockIndices"); - - initEClass(yahooIndicesSeedEClass, YahooIndicesSeed.class, "YahooIndicesSeed", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getYahooIndicesSeed_SeedSymbols(), ecorePackage.getEString(), "seedSymbols", "^NDX ^DJI ^DJA ^NJ ^GSPC", 0, 1, YahooIndicesSeed.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getYahooIndicesSeed_Vendor(), this.getYahoo(), this.getYahoo_IndicesSeed(), "vendor", null, 0, 1, YahooIndicesSeed.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - addEOperation(yahooIndicesSeedEClass, null, "seed"); - } - -} //YahooPackageImpl diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/util/YahooAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/util/YahooAdapterFactory.java deleted file mode 100644 index 66d695c84..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/util/YahooAdapterFactory.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooAdapterFactory.java,v 1.1 2006/11/07 10:22:28 mtaal Exp $ - */ -package com.pareis.trading.yahoo.util; - -import com.pareis.trading.Identifiable; - -import com.pareis.trading.yahoo.*; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.YahooPackage - * @generated - */ -public class YahooAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static YahooPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public YahooAdapterFactory() { - if (modelPackage == null) { - modelPackage = YahooPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch the delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected YahooSwitch modelSwitch = - new YahooSwitch() { - public Object caseYahoo(Yahoo object) { - return createYahooAdapter(); - } - public Object caseYahooIndicesComponentsSource(YahooIndicesComponentsSource object) { - return createYahooIndicesComponentsSourceAdapter(); - } - public Object caseYahooIndicesSeed(YahooIndicesSeed object) { - return createYahooIndicesSeedAdapter(); - } - public Object caseIdentifiable(Identifiable object) { - return createIdentifiableAdapter(); - } - public Object defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - public Adapter createAdapter(Notifier target) { - return (Adapter)modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link com.pareis.trading.yahoo.Yahoo <em>Yahoo</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see com.pareis.trading.yahoo.Yahoo - * @generated - */ - public Adapter createYahooAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link com.pareis.trading.yahoo.YahooIndicesComponentsSource <em>Indices Components Source</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see com.pareis.trading.yahoo.YahooIndicesComponentsSource - * @generated - */ - public Adapter createYahooIndicesComponentsSourceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link com.pareis.trading.yahoo.YahooIndicesSeed <em>Indices Seed</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see com.pareis.trading.yahoo.YahooIndicesSeed - * @generated - */ - public Adapter createYahooIndicesSeedAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link com.pareis.trading.Identifiable <em>Identifiable</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see com.pareis.trading.Identifiable - * @generated - */ - public Adapter createIdentifiableAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //YahooAdapterFactory diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/util/YahooSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/util/YahooSwitch.java deleted file mode 100644 index 5ca7e6cd7..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/com/pareis/trading/yahoo/util/YahooSwitch.java +++ /dev/null @@ -1,192 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: YahooSwitch.java,v 1.1 2006/11/07 10:22:29 mtaal Exp $ - */ -package com.pareis.trading.yahoo.util; - -import com.pareis.trading.Identifiable; - -import com.pareis.trading.yahoo.*; - -import java.util.List; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see com.pareis.trading.yahoo.YahooPackage - * @generated - */ -public class YahooSwitch { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static YahooPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public YahooSwitch() { - if (modelPackage == null) { - modelPackage = YahooPackage.eINSTANCE; - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - public Object doSwitch(EObject theEObject) { - return doSwitch(theEObject.eClass(), theEObject); - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } - else { - List eSuperTypes = theEClass.getESuperTypes(); - return - eSuperTypes.isEmpty() ? - defaultCase(theEObject) : - doSwitch((EClass)eSuperTypes.get(0), theEObject); - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case YahooPackage.YAHOO: { - Yahoo yahoo = (Yahoo)theEObject; - Object result = caseYahoo(yahoo); - if (result == null) result = caseIdentifiable(yahoo); - if (result == null) result = defaultCase(theEObject); - return result; - } - case YahooPackage.YAHOO_INDICES_COMPONENTS_SOURCE: { - YahooIndicesComponentsSource yahooIndicesComponentsSource = (YahooIndicesComponentsSource)theEObject; - Object result = caseYahooIndicesComponentsSource(yahooIndicesComponentsSource); - if (result == null) result = caseIdentifiable(yahooIndicesComponentsSource); - if (result == null) result = defaultCase(theEObject); - return result; - } - case YahooPackage.YAHOO_INDICES_SEED: { - YahooIndicesSeed yahooIndicesSeed = (YahooIndicesSeed)theEObject; - Object result = caseYahooIndicesSeed(yahooIndicesSeed); - if (result == null) result = caseIdentifiable(yahooIndicesSeed); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Yahoo</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Yahoo</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseYahoo(Yahoo object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Indices Components Source</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Indices Components Source</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseYahooIndicesComponentsSource(YahooIndicesComponentsSource object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Indices Seed</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Indices Seed</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseYahooIndicesSeed(YahooIndicesSeed object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Identifiable</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Identifiable</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseIdentifiable(Identifiable object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - public Object defaultCase(EObject object) { - return null; - } - -} //YahooSwitch diff --git a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/sample/YahooAction.java b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/sample/YahooAction.java deleted file mode 100644 index 1c0d79d79..000000000 --- a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/sample/YahooAction.java +++ /dev/null @@ -1,65 +0,0 @@ -/** - * <copyright> - * - * Copyright (c) 2005, 2006 Springsite BV (The Netherlands) and others - * 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: - * Martin Taal - * </copyright> - * - * $Id: YahooAction.java,v 1.1 2006/11/07 10:22:44 mtaal Exp $ - */ - -package org.eclipse.emf.teneo.test.emf.sample; - -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.teneo.test.AbstractTestAction; -import org.eclipse.emf.teneo.test.stores.TestStore; - -import com.pareis.trading.Client; -import com.pareis.trading.TradingFactory; -import com.pareis.trading.TradingPackage; -import com.pareis.trading.yahoo.Yahoo; -import com.pareis.trading.yahoo.YahooFactory; -import com.pareis.trading.yahoo.YahooPackage; - -/** - * Tests persisting of ecore models in a relational store. - * - * @author <a href="mailto:mtaal@elver.org">Martin Taal</a> - * @version $Revision: 1.1 $ -*/ -public class YahooAction extends AbstractTestAction { - - /** Constructor */ - public YahooAction() { - super(new EPackage[]{TradingPackage.eINSTANCE, YahooPackage.eINSTANCE}); - } - - /** Reads the library model and persists it. */ - public void doAction(TestStore store) { - { - Client c = TradingFactory.eINSTANCE.createClient(); - c.setId("client"); - Yahoo y = YahooFactory.eINSTANCE.createYahoo(); - y.setClient(c); - store.beginTransaction(); - store.store(y); - store.commitTransaction(); - } - store.refresh(); - { - store.beginTransaction(); - final Client c = (Client)store.getObject(Client.class); - System.out.println(c); - - Yahoo y = (Yahoo) c.getVendors().get(0); - System.out.println(y); - store.commitTransaction(); - } - } -} diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml index b1c10fa44..3420b45a1 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:18 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:16 CET 2006 --> <hibernate-mapping> <class entity-name="Account" abstract="true" lazy="false" discriminator-value="Account" table="`account`"> <meta attribute="eclassName">Account</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml index 008e46c0a..aa7c39543 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.AccountingTest$1/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:54 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:51 CET 2006 --> <hibernate-mapping> <class entity-name="Account" abstract="true" lazy="false" table="`account`"> <meta attribute="eclassName">Account</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml index 27738324f..df455f4eb 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:15 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:14 CET 2006 --> <hibernate-mapping> <class entity-name="CapacityEntry" abstract="false" lazy="false" discriminator-value="CapacityEntry" table="`capacityentry`"> <meta attribute="eclassName">CapacityEntry</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml index 8214f12d5..833d6a7c5 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CapaTest$1/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:53 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:49 CET 2006 --> <hibernate-mapping> <class entity-name="CapacityEntry" abstract="false" lazy="false" table="`capacityentry`"> <meta attribute="eclassName">CapacityEntry</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml index 7ec742fc1..706d2012c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:22 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:21 CET 2006 --> <hibernate-mapping> <class entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`"> <meta attribute="eclassName">CatalogType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml index ae9e8af61..13d120839 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.CatalogTest$1/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:00 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:56 CET 2006 --> <hibernate-mapping> <class entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`"> <meta attribute="eclassName">CatalogType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml index 8c06dacd2..c1e70709c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:16 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:15 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml index 21758f881..92025fd70 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.DetachFromSessionAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:54 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:50 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml index 1b84e20db..d1e401cdf 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:11 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:09 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> <meta attribute="eclassName">Item</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml index 2ba92acc8..1ad2af400 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.ExtendedPO2Test$1/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:48 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:42 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" table="`item`"> <meta attribute="eclassName">Item</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml index f0d939613..f203fa3da 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:13 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:12 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml index c0b320640..c61b679c1 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibrarySessionControllerAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:52 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:47 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml index ddcf6ece2..c9802ba8d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:22 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:20 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml index ab98d0272..4d83a83cd 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryTest$1/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:59 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:55 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml index eb101e25c..7cacbd8eb 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:24 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:24 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml index d0265067d..29dea4cba 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.LibraryValidateResourceTest$1/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:02 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:59 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml index 66570b9a8..6fbbc5d57 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:22 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:21 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml index 566cb4fc6..135060791 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.hibernate.test.emf.sample.SchoolLibraryTest$1/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:59 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:56 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml index c8ea689f8..73d4376c4 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:25 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:24 CET 2006 --> <hibernate-mapping> <class entity-name="CatalogType" abstract="false" lazy="false" discriminator-value="CatalogType" table="`catalogtype`"> <meta attribute="eclassName">CatalogType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml index 5d1cebe9a..a6f2720ee 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:03 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:00 CET 2006 --> <hibernate-mapping> <class entity-name="CatalogType" abstract="false" lazy="false" table="`catalogtype`"> <meta attribute="eclassName">CatalogType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml index 8acfa1940..4b0523150 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:14 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:13 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" discriminator-value="Person" table="`person`"> <meta attribute="eclassName">Person</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml index 8ceb174bc..c096dd995 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.DynamicAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:52 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:48 CET 2006 --> <hibernate-mapping> <class entity-name="Person" abstract="false" lazy="false" table="`person`"> <meta attribute="eclassName">Person</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml index bf527f885..f50587c2d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:30 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:30 CET 2006 --> <hibernate-mapping> <class entity-name="Forum" abstract="false" lazy="false" discriminator-value="Forum" table="`forum`"> <meta attribute="eclassName">Forum</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml index 279e28bdc..ae42a4966 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ForumAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:10 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:08 CET 2006 --> <hibernate-mapping> <class entity-name="Forum" abstract="false" lazy="false" table="`forum`"> <meta attribute="eclassName">Forum</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml index beebe2d2c..f090cc520 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:23 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:22 CET 2006 --> <hibernate-mapping> <class entity-name="PType" abstract="false" lazy="false" discriminator-value="PType" table="`ptype`"> <meta attribute="eclassName">PType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml index a5ee6608b..9f83c6868 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.InventoryAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:01 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:57 CET 2006 --> <hibernate-mapping> <class entity-name="PType" abstract="false" lazy="false" table="`ptype`"> <meta attribute="eclassName">PType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml index 8abeed7b3..6deabb06d 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:13 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:12 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml index 50cf20148..c27796a05 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:51 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:47 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml index 6f40975d0..bbae9f6b3 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:24 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:23 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml index cba902dcb..361b95035 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryColLengthAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:02 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:58 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml index 3445aa9a8..8c949d03f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:26 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:25 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml index ee8d6afe5..e025125dd 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:04 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:02 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_a_o/hibernate.hbm.xml index 37c57dd43..2e5800ab1 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:12 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:11 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`BOOK`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_s_o/hibernate.hbm.xml index 3663d3fe8..6781897c6 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryJoinTableNamingAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:51 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:46 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`BOOK`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml index c1c72b907..c1e70709c 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:17 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:15 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml index 21758f881..92025fd70 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:54 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:50 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml index 54d9d4de1..6984380b4 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:26 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:25 CET 2006 --> <hibernate-mapping> <class entity-name="library.Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml index af7227b98..5f989ff00 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryQualifyActionHB/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:04 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:01 CET 2006 --> <hibernate-mapping> <class entity-name="library.Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml index 27f1f9600..0ca4bca63 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:26 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:26 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml index 9cbafda1f..792129ead 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:04 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:02 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml index 891e91b6a..8b2524550 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:24 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:23 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml index 278352312..61996f0a8 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:02 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:58 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml index 1ea7af5d7..d04be6567 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:12 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:11 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" discriminator-value="Book" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml index 443788711..6d0fe9c99 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:50 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:45 CET 2006 --> <hibernate-mapping> <class entity-name="Book" abstract="false" lazy="false" table="`book`"> <meta attribute="eclassName">Book</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml index 6a1e5b0d1..e54952317 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:27 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:27 CET 2006 --> <hibernate-mapping> <class entity-name="ActType" abstract="false" lazy="false" discriminator-value="ActType" table="`acttype`"> <meta attribute="eclassName">ActType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml index 8be003c6b..3fee831d2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PlayAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:05 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:03 CET 2006 --> <hibernate-mapping> <class entity-name="ActType" abstract="false" lazy="false" table="`acttype`"> <meta attribute="eclassName">ActType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml index c96202dfc..feda671e2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:28 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:28 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`"> <meta attribute="eclassName">Item</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml index b5272e798..3c2d5676f 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:06 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:05 CET 2006 --> <hibernate-mapping> <class entity-name="Item" abstract="false" lazy="false" table="`item`"> <meta attribute="eclassName">Item</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml index 60db332cc..a51d2864b 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:29 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:28 CET 2006 --> <hibernate-mapping> <class entity-name="ProductType" abstract="false" lazy="false" discriminator-value="ProductType" table="`producttype`"> <meta attribute="eclassName">ProductType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml index 5a32829d3..7f623f094 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.ProductAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:07 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:05 CET 2006 --> <hibernate-mapping> <class entity-name="ProductType" abstract="false" lazy="false" table="`producttype`"> <meta attribute="eclassName">ProductType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml index 52b0bb80e..405d6cc65 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:21 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:19 CET 2006 --> <hibernate-mapping> <class entity-name="AuthorsType" abstract="false" lazy="false" discriminator-value="AuthorsType" table="`authorstype`"> <meta attribute="eclassName">AuthorsType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml index 9eef1a553..08858d12a 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.SunBooksAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:56:58 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:09:54 CET 2006 --> <hibernate-mapping> <class entity-name="AuthorsType" abstract="false" lazy="false" table="`authorstype`"> <meta attribute="eclassName">AuthorsType</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml index e0ed10db4..80255134e 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_a_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:29 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:29 CET 2006 --> <hibernate-mapping> <class entity-name="WorkflowElement" abstract="true" lazy="false" discriminator-value="WorkflowElement" table="`workflowelement`"> <meta attribute="eclassName">WorkflowElement</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml index faa24801a..82be09ab0 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction/mysql_s_o/hibernate.hbm.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> -<!-- Generated by Teneo on Sun Nov 12 00:57:07 CET 2006 --> +<!-- Generated by Teneo on Sun Nov 12 01:10:06 CET 2006 --> <hibernate-mapping> <class entity-name="WorkflowElement" abstract="true" lazy="false" table="`workflowelement`"> <meta attribute="eclassName">WorkflowElement</meta> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java index d2b742ef2..009c0aebe 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/sample/AllTests.java @@ -11,7 +11,7 @@ * Martin Taal * </copyright> * - * $Id: AllTests.java,v 1.19 2006/11/12 00:07:56 mtaal Exp $ + * $Id: AllTests.java,v 1.20 2006/11/12 00:19:28 mtaal Exp $ */ package org.eclipse.emf.teneo.hibernate.test.emf.sample; @@ -44,14 +44,14 @@ import org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction; * All sample tests * * @author <a href="mailto:mtaal@elver.org">Martin Taal</a> - * @version $Revision: 1.19 $ + * @version $Revision: 1.20 $ */ public class AllTests { public static Test suite() { TestSuite suite = new MultiCfgTestSuite("Test for org.eclipse.emf.teneo.hibernate.test.emf.sample", HibernateTestbed.instance() .getConfigurations()); -// suite.addTestSuite(YahooAction.class); + // suite.addTestSuite(YahooAction.class); suite.addTestSuite(ExtendedPO2Test.class); suite.addTestSuite(LibrarySerializationAction.class); |