diff options
author | Eike Stepper | 2012-05-21 09:09:44 +0000 |
---|---|---|
committer | Eike Stepper | 2012-05-21 09:09:44 +0000 |
commit | 3dbac672481b7069a62a7406a410889ea5af053a (patch) | |
tree | 91b62b52f43b87db6f91bcb32508383e6d79739f /plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/legacy/model6/impl/PropertiesMapImpl.java | |
parent | 786e70c2242c6799b5aa07259f90b3d5a9e46dee (diff) | |
download | cdo-3dbac672481b7069a62a7406a410889ea5af053a.tar.gz cdo-3dbac672481b7069a62a7406a410889ea5af053a.tar.xz cdo-3dbac672481b7069a62a7406a410889ea5af053a.zip |
Fix copyright headers
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/legacy/model6/impl/PropertiesMapImpl.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/legacy/model6/impl/PropertiesMapImpl.java | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/legacy/model6/impl/PropertiesMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/legacy/model6/impl/PropertiesMapImpl.java index 3d50ff084b..3e933d119c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/legacy/model6/impl/PropertiesMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/legacy/model6/impl/PropertiesMapImpl.java @@ -1,4 +1,12 @@ -/** +/* + * Copyright (c) 2004 - 2012 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Eike Stepper - initial API and implementation */ package org.eclipse.emf.cdo.tests.legacy.model6.impl; @@ -115,7 +123,9 @@ public class PropertiesMapImpl extends EObjectImpl implements PropertiesMap String oldLabel = label; label = newLabel; if (eNotificationRequired()) + { eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.PROPERTIES_MAP__LABEL, oldLabel, label)); + } } /** @@ -180,14 +190,22 @@ public class PropertiesMapImpl extends EObjectImpl implements PropertiesMap return getLabel(); case Model6Package.PROPERTIES_MAP__PERSISTENT_MAP: if (coreType) + { return getPersistentMap(); + } else + { return getPersistentMap().map(); + } case Model6Package.PROPERTIES_MAP__TRANSIENT_MAP: if (coreType) + { return getTransientMap(); + } else + { return getTransientMap().map(); + } } return super.eGet(featureID, resolve, coreType); } @@ -267,7 +285,9 @@ public class PropertiesMapImpl extends EObjectImpl implements PropertiesMap public String toString() { if (eIsProxy()) + { return super.toString(); + } StringBuffer result = new StringBuffer(super.toString()); result.append(" (label: "); |