Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-05-21 09:09:44 +0000
committerEike Stepper2012-05-21 09:09:44 +0000
commit3dbac672481b7069a62a7406a410889ea5af053a (patch)
tree91b62b52f43b87db6f91bcb32508383e6d79739f /plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/legacy/model6/impl/PropertiesMapImpl.java
parent786e70c2242c6799b5aa07259f90b3d5a9e46dee (diff)
downloadcdo-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.java22
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: ");

Back to the top