diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/AddressImpl.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/AddressImpl.java | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/AddressImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/AddressImpl.java index 77f22193b0..d91e959d3e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/AddressImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/AddressImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013 Eike Stepper (Berlin, Germany) 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 @@ -34,15 +34,9 @@ import org.eclipse.emf.ecore.impl.EObjectImpl; public class AddressImpl extends EObjectImpl implements Address { /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation"; - - /** * The default value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc * --> - * + * * @see #getName() * @generated * @ordered @@ -71,7 +65,7 @@ public class AddressImpl extends EObjectImpl implements Address /** * The cached value of the '{@link #getStreet() <em>Street</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc * --> - * + * * @see #getStreet() * @generated * @ordered @@ -81,7 +75,7 @@ public class AddressImpl extends EObjectImpl implements Address /** * The default value of the '{@link #getCity() <em>City</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc * --> - * + * * @see #getCity() * @generated * @ordered @@ -134,7 +128,9 @@ public class AddressImpl extends EObjectImpl implements Address String oldName = name; name = newName; if (eNotificationRequired()) + { eNotify(new ENotificationImpl(this, Notification.SET, Model1Package.ADDRESS__NAME, oldName, name)); + } } /** @@ -155,7 +151,9 @@ public class AddressImpl extends EObjectImpl implements Address String oldStreet = street; street = newStreet; if (eNotificationRequired()) + { eNotify(new ENotificationImpl(this, Notification.SET, Model1Package.ADDRESS__STREET, oldStreet, street)); + } } /** @@ -176,7 +174,9 @@ public class AddressImpl extends EObjectImpl implements Address String oldCity = city; city = newCity; if (eNotificationRequired()) + { eNotify(new ENotificationImpl(this, Notification.SET, Model1Package.ADDRESS__CITY, oldCity, city)); + } } /** @@ -269,7 +269,9 @@ public class AddressImpl extends EObjectImpl implements Address public String toString() { if (eIsProxy()) + { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (name: "); |