diff options
author | Eike Stepper | 2015-06-10 19:25:05 +0000 |
---|---|---|
committer | Eike Stepper | 2015-06-10 19:25:05 +0000 |
commit | bc79c9aa4a509cf3ba2c65c245f714b53286465b (patch) | |
tree | b0ddbb4a0f82213151ff3d604ac208daf5a9bf4e /plugins/org.eclipse.emf.cdo.tests.model3/src/org | |
parent | e63e81f329fa0ee2a78b53bfe080966e752f010c (diff) | |
download | cdo-bc79c9aa4a509cf3ba2c65c245f714b53286465b.tar.gz cdo-bc79c9aa4a509cf3ba2c65c245f714b53286465b.tar.xz cdo-bc79c9aa4a509cf3ba2c65c245f714b53286465b.zip |
Update Copyrightsreleases/4.4.0
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model3/src/org')
76 files changed, 1541 insertions, 1445 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Class1.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Class1.java index f97a4c95e8..c78d017fd4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Class1.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Class1.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithIDAttribute.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithIDAttribute.java index 95368afcd9..a792280829 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithIDAttribute.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithIDAttribute.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2011, 2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithJavaClassAttribute.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithJavaClassAttribute.java index 1d4fb04947..95f0dc21bc 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithJavaClassAttribute.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithJavaClassAttribute.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithJavaObjectAttribute.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithJavaObjectAttribute.java index 9fd559b3b0..63e5c75d6a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithJavaObjectAttribute.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/ClassWithJavaObjectAttribute.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Diagram.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Diagram.java index 0ed0faf82b..9931d48f01 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Diagram.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Diagram.java @@ -1,59 +1,67 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Diagram</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.Diagram#getEdges <em>Edges</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.Diagram#getEdgeTargets <em>Edge Targets</em>}</li>
- * </ul>
- *
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getDiagram()
- * @model
- * @generated
- */
-public interface Diagram extends EObject
-{
- /**
- * Returns the value of the '<em><b>Edges</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.Edge}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Edges</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>Edges</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getDiagram_Edges()
- * @model containment="true"
- * @generated
- */
- EList<Edge> getEdges();
-
- /**
- * Returns the value of the '<em><b>Edge Targets</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.EdgeTarget}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Edge Targets</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>Edge Targets</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getDiagram_EdgeTargets()
- * @model containment="true"
- * @generated
- */
- EList<EdgeTarget> getEdgeTargets();
-
-} // Diagram
+/* + * Copyright (c) 2015 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.model3; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Diagram</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model3.Diagram#getEdges <em>Edges</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model3.Diagram#getEdgeTargets <em>Edge Targets</em>}</li> + * </ul> + * + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getDiagram() + * @model + * @generated + */ +public interface Diagram extends EObject +{ + /** + * Returns the value of the '<em><b>Edges</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.Edge}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Edges</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>Edges</em>' containment reference list. + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getDiagram_Edges() + * @model containment="true" + * @generated + */ + EList<Edge> getEdges(); + + /** + * Returns the value of the '<em><b>Edge Targets</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.EdgeTarget}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Edge Targets</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>Edge Targets</em>' containment reference list. + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getDiagram_EdgeTargets() + * @model containment="true" + * @generated + */ + EList<EdgeTarget> getEdgeTargets(); + +} // Diagram diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Edge.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Edge.java index 11395d0b29..34eb23dc49 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Edge.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Edge.java @@ -1,82 +1,90 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Edge</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.Edge#getSourceNode <em>Source Node</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.Edge#getTargetNode <em>Target Node</em>}</li>
- * </ul>
- *
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdge()
- * @model
- * @generated
- */
-public interface Edge extends EObject
-{
- /**
- * Returns the value of the '<em><b>Source Node</b></em>' reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.EdgeTarget#getOutgoingEdges <em>Outgoing Edges</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Source Node</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Source Node</em>' reference.
- * @see #setSourceNode(EdgeTarget)
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdge_SourceNode()
- * @see org.eclipse.emf.cdo.tests.model3.EdgeTarget#getOutgoingEdges
- * @model opposite="outgoingEdges" required="true"
- * @generated
- */
- EdgeTarget getSourceNode();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model3.Edge#getSourceNode <em>Source Node</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Source Node</em>' reference.
- * @see #getSourceNode()
- * @generated
- */
- void setSourceNode(EdgeTarget value);
-
- /**
- * Returns the value of the '<em><b>Target Node</b></em>' reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.EdgeTarget#getIncomingEdges <em>Incoming Edges</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Target Node</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Target Node</em>' reference.
- * @see #setTargetNode(EdgeTarget)
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdge_TargetNode()
- * @see org.eclipse.emf.cdo.tests.model3.EdgeTarget#getIncomingEdges
- * @model opposite="incomingEdges" required="true"
- * @generated
- */
- EdgeTarget getTargetNode();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model3.Edge#getTargetNode <em>Target Node</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Target Node</em>' reference.
- * @see #getTargetNode()
- * @generated
- */
- void setTargetNode(EdgeTarget value);
-
-} // Edge
+/* + * Copyright (c) 2015 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.model3; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Edge</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model3.Edge#getSourceNode <em>Source Node</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model3.Edge#getTargetNode <em>Target Node</em>}</li> + * </ul> + * + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdge() + * @model + * @generated + */ +public interface Edge extends EObject +{ + /** + * Returns the value of the '<em><b>Source Node</b></em>' reference. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.EdgeTarget#getOutgoingEdges <em>Outgoing Edges</em>}'. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Source Node</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Source Node</em>' reference. + * @see #setSourceNode(EdgeTarget) + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdge_SourceNode() + * @see org.eclipse.emf.cdo.tests.model3.EdgeTarget#getOutgoingEdges + * @model opposite="outgoingEdges" required="true" + * @generated + */ + EdgeTarget getSourceNode(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model3.Edge#getSourceNode <em>Source Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Source Node</em>' reference. + * @see #getSourceNode() + * @generated + */ + void setSourceNode(EdgeTarget value); + + /** + * Returns the value of the '<em><b>Target Node</b></em>' reference. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.EdgeTarget#getIncomingEdges <em>Incoming Edges</em>}'. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Target Node</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Target Node</em>' reference. + * @see #setTargetNode(EdgeTarget) + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdge_TargetNode() + * @see org.eclipse.emf.cdo.tests.model3.EdgeTarget#getIncomingEdges + * @model opposite="incomingEdges" required="true" + * @generated + */ + EdgeTarget getTargetNode(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model3.Edge#getTargetNode <em>Target Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Target Node</em>' reference. + * @see #getTargetNode() + * @generated + */ + void setTargetNode(EdgeTarget value); + +} // Edge diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/EdgeTarget.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/EdgeTarget.java index af67f66874..c2630ffbcf 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/EdgeTarget.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/EdgeTarget.java @@ -1,63 +1,71 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Edge Target</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.EdgeTarget#getOutgoingEdges <em>Outgoing Edges</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.EdgeTarget#getIncomingEdges <em>Incoming Edges</em>}</li>
- * </ul>
- *
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdgeTarget()
- * @model
- * @generated
- */
-public interface EdgeTarget extends EObject
-{
- /**
- * Returns the value of the '<em><b>Outgoing Edges</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.Edge}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.Edge#getSourceNode <em>Source Node</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Outgoing Edges</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Outgoing Edges</em>' reference list.
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdgeTarget_OutgoingEdges()
- * @see org.eclipse.emf.cdo.tests.model3.Edge#getSourceNode
- * @model opposite="sourceNode"
- * @generated
- */
- EList<Edge> getOutgoingEdges();
-
- /**
- * Returns the value of the '<em><b>Incoming Edges</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.Edge}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.Edge#getTargetNode <em>Target Node</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Incoming Edges</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Incoming Edges</em>' reference list.
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdgeTarget_IncomingEdges()
- * @see org.eclipse.emf.cdo.tests.model3.Edge#getTargetNode
- * @model opposite="targetNode"
- * @generated
- */
- EList<Edge> getIncomingEdges();
-
-} // EdgeTarget
+/* + * Copyright (c) 2015 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.model3; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Edge Target</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model3.EdgeTarget#getOutgoingEdges <em>Outgoing Edges</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model3.EdgeTarget#getIncomingEdges <em>Incoming Edges</em>}</li> + * </ul> + * + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdgeTarget() + * @model + * @generated + */ +public interface EdgeTarget extends EObject +{ + /** + * Returns the value of the '<em><b>Outgoing Edges</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.Edge}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.Edge#getSourceNode <em>Source Node</em>}'. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Outgoing Edges</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Outgoing Edges</em>' reference list. + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdgeTarget_OutgoingEdges() + * @see org.eclipse.emf.cdo.tests.model3.Edge#getSourceNode + * @model opposite="sourceNode" + * @generated + */ + EList<Edge> getOutgoingEdges(); + + /** + * Returns the value of the '<em><b>Incoming Edges</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.Edge}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.Edge#getTargetNode <em>Target Node</em>}'. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Incoming Edges</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Incoming Edges</em>' reference list. + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getEdgeTarget_IncomingEdges() + * @see org.eclipse.emf.cdo.tests.model3.Edge#getTargetNode + * @model opposite="targetNode" + * @generated + */ + EList<Edge> getIncomingEdges(); + +} // EdgeTarget diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/File.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/File.java index 4d7f1ef4ba..cd1e655607 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/File.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/File.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Image.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Image.java index 183b53db3a..d019c63ce5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Image.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Image.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/MetaRef.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/MetaRef.java index 2ebea68d3b..9f9f93ef2a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/MetaRef.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/MetaRef.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008, 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Factory.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Factory.java index fdb7128092..25e34515b0 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Factory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Factory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Package.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Package.java index 5eeab77c5c..c8c2d6479b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Package.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Package.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeA.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeA.java index 2d47f62d65..783f5e9aba 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeA.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeA.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeB.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeB.java index 468287e40e..3005ffa36f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeB.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeB.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeC.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeC.java index 9ee9cab2a0..c1a2747156 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeC.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeC.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeD.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeD.java index eddf0b486e..590cdcc741 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeD.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeD.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeE.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeE.java index 219c015d1c..546792091d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeE.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeE.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeF.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeF.java index 89d94ae7dc..b69d7ebb59 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeF.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/NodeF.java @@ -1,17 +1,25 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Node F</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getNodeF()
- * @model
- * @generated
- */
-public interface NodeF extends EdgeTarget
-{
-} // NodeF
+/* + * Copyright (c) 2015 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.model3; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Node F</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getNodeF() + * @model + * @generated + */ +public interface NodeF extends EdgeTarget +{ +} // NodeF diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Polygon.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Polygon.java index eda78a80bb..ce3686e0e9 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Polygon.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Polygon.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/PolygonWithDuplicates.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/PolygonWithDuplicates.java index 00a13e63e8..062ef23f73 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/PolygonWithDuplicates.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/PolygonWithDuplicates.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Class1Impl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Class1Impl.java index ae614970d9..680acd526c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Class1Impl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Class1Impl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithIDAttributeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithIDAttributeImpl.java index 8a343c9291..0baff8677d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithIDAttributeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithIDAttributeImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2011, 2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithJavaClassAttributeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithJavaClassAttributeImpl.java index 5fa2c598f3..15eb5ef16f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithJavaClassAttributeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithJavaClassAttributeImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012, 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithJavaObjectAttributeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithJavaObjectAttributeImpl.java index 9013d2d59e..f2e0765133 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithJavaObjectAttributeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ClassWithJavaObjectAttributeImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2012, 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/DiagramImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/DiagramImpl.java index 99a7663b9f..d9ac7b3946 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/DiagramImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/DiagramImpl.java @@ -1,85 +1,93 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3.impl;
-
-import org.eclipse.emf.cdo.tests.model3.Diagram;
-import org.eclipse.emf.cdo.tests.model3.Edge;
-import org.eclipse.emf.cdo.tests.model3.EdgeTarget;
-import org.eclipse.emf.cdo.tests.model3.Model3Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Diagram</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.DiagramImpl#getEdges <em>Edges</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.DiagramImpl#getEdgeTargets <em>Edge Targets</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class DiagramImpl extends CDOObjectImpl implements Diagram
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DiagramImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model3Package.eINSTANCE.getDiagram();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EList<Edge> getEdges()
- {
- return (EList<Edge>)eGet(Model3Package.eINSTANCE.getDiagram_Edges(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EList<EdgeTarget> getEdgeTargets()
- {
- return (EList<EdgeTarget>)eGet(Model3Package.eINSTANCE.getDiagram_EdgeTargets(), true);
- }
-
-} // DiagramImpl
+/* + * Copyright (c) 2015 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.model3.impl; + +import org.eclipse.emf.cdo.tests.model3.Diagram; +import org.eclipse.emf.cdo.tests.model3.Edge; +import org.eclipse.emf.cdo.tests.model3.EdgeTarget; +import org.eclipse.emf.cdo.tests.model3.Model3Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Diagram</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.DiagramImpl#getEdges <em>Edges</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.DiagramImpl#getEdgeTargets <em>Edge Targets</em>}</li> + * </ul> + * + * @generated + */ +public class DiagramImpl extends CDOObjectImpl implements Diagram +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DiagramImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model3Package.eINSTANCE.getDiagram(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + public EList<Edge> getEdges() + { + return (EList<Edge>)eGet(Model3Package.eINSTANCE.getDiagram_Edges(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + public EList<EdgeTarget> getEdgeTargets() + { + return (EList<EdgeTarget>)eGet(Model3Package.eINSTANCE.getDiagram_EdgeTargets(), true); + } + +} // DiagramImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/EdgeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/EdgeImpl.java index a7acd1381d..156b0b820c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/EdgeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/EdgeImpl.java @@ -1,101 +1,109 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3.impl;
-
-import org.eclipse.emf.cdo.tests.model3.Edge;
-import org.eclipse.emf.cdo.tests.model3.EdgeTarget;
-import org.eclipse.emf.cdo.tests.model3.Model3Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Edge</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.EdgeImpl#getSourceNode <em>Source Node</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.EdgeImpl#getTargetNode <em>Target Node</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class EdgeImpl extends CDOObjectImpl implements Edge
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EdgeImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model3Package.eINSTANCE.getEdge();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EdgeTarget getSourceNode()
- {
- return (EdgeTarget)eGet(Model3Package.eINSTANCE.getEdge_SourceNode(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSourceNode(EdgeTarget newSourceNode)
- {
- eSet(Model3Package.eINSTANCE.getEdge_SourceNode(), newSourceNode);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EdgeTarget getTargetNode()
- {
- return (EdgeTarget)eGet(Model3Package.eINSTANCE.getEdge_TargetNode(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTargetNode(EdgeTarget newTargetNode)
- {
- eSet(Model3Package.eINSTANCE.getEdge_TargetNode(), newTargetNode);
- }
-
-} // EdgeImpl
+/* + * Copyright (c) 2015 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.model3.impl; + +import org.eclipse.emf.cdo.tests.model3.Edge; +import org.eclipse.emf.cdo.tests.model3.EdgeTarget; +import org.eclipse.emf.cdo.tests.model3.Model3Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Edge</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.EdgeImpl#getSourceNode <em>Source Node</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.EdgeImpl#getTargetNode <em>Target Node</em>}</li> + * </ul> + * + * @generated + */ +public class EdgeImpl extends CDOObjectImpl implements Edge +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EdgeImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model3Package.eINSTANCE.getEdge(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EdgeTarget getSourceNode() + { + return (EdgeTarget)eGet(Model3Package.eINSTANCE.getEdge_SourceNode(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSourceNode(EdgeTarget newSourceNode) + { + eSet(Model3Package.eINSTANCE.getEdge_SourceNode(), newSourceNode); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EdgeTarget getTargetNode() + { + return (EdgeTarget)eGet(Model3Package.eINSTANCE.getEdge_TargetNode(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTargetNode(EdgeTarget newTargetNode) + { + eSet(Model3Package.eINSTANCE.getEdge_TargetNode(), newTargetNode); + } + +} // EdgeImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/EdgeTargetImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/EdgeTargetImpl.java index 0232ccd662..1e3e5a9101 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/EdgeTargetImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/EdgeTargetImpl.java @@ -1,84 +1,92 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3.impl;
-
-import org.eclipse.emf.cdo.tests.model3.Edge;
-import org.eclipse.emf.cdo.tests.model3.EdgeTarget;
-import org.eclipse.emf.cdo.tests.model3.Model3Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Edge Target</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.EdgeTargetImpl#getOutgoingEdges <em>Outgoing Edges</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.EdgeTargetImpl#getIncomingEdges <em>Incoming Edges</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class EdgeTargetImpl extends CDOObjectImpl implements EdgeTarget
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EdgeTargetImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model3Package.eINSTANCE.getEdgeTarget();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EList<Edge> getOutgoingEdges()
- {
- return (EList<Edge>)eGet(Model3Package.eINSTANCE.getEdgeTarget_OutgoingEdges(), true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EList<Edge> getIncomingEdges()
- {
- return (EList<Edge>)eGet(Model3Package.eINSTANCE.getEdgeTarget_IncomingEdges(), true);
- }
-
-} // EdgeTargetImpl
+/* + * Copyright (c) 2015 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.model3.impl; + +import org.eclipse.emf.cdo.tests.model3.Edge; +import org.eclipse.emf.cdo.tests.model3.EdgeTarget; +import org.eclipse.emf.cdo.tests.model3.Model3Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Edge Target</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.EdgeTargetImpl#getOutgoingEdges <em>Outgoing Edges</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model3.impl.EdgeTargetImpl#getIncomingEdges <em>Incoming Edges</em>}</li> + * </ul> + * + * @generated + */ +public class EdgeTargetImpl extends CDOObjectImpl implements EdgeTarget +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EdgeTargetImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model3Package.eINSTANCE.getEdgeTarget(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + public EList<Edge> getOutgoingEdges() + { + return (EList<Edge>)eGet(Model3Package.eINSTANCE.getEdgeTarget_OutgoingEdges(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + public EList<Edge> getIncomingEdges() + { + return (EList<Edge>)eGet(Model3Package.eINSTANCE.getEdgeTarget_IncomingEdges(), true); + } + +} // EdgeTargetImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/FileImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/FileImpl.java index ffac386d22..7770747830 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/FileImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/FileImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ImageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ImageImpl.java index e323b49e3a..8e0188af51 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ImageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/ImageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/MetaRefImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/MetaRefImpl.java index ed7f638664..36b81576fe 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/MetaRefImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/MetaRefImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3FactoryImpl.java index 254fc27617..fc8c0da013 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3FactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3FactoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3PackageImpl.java index f562696920..d55aee5342 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3PackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3PackageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeAImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeAImpl.java index 86b07a4c8d..dc1b735833 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeAImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeAImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeBImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeBImpl.java index 049631ba57..efd822e527 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeBImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeBImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeCImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeCImpl.java index 6894548ba7..5faa49ce92 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeCImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeCImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeDImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeDImpl.java index 477e091e02..a67e3d48e9 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeDImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeDImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeEImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeEImpl.java index 7daac17db3..f307dae0e2 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeEImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeEImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeFImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeFImpl.java index cade6e7279..1a265d7855 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeFImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/NodeFImpl.java @@ -1,40 +1,48 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3.impl;
-
-import org.eclipse.emf.cdo.tests.model3.Model3Package;
-import org.eclipse.emf.cdo.tests.model3.NodeF;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Node F</b></em>'.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class NodeFImpl extends EdgeTargetImpl implements NodeF
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NodeFImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model3Package.eINSTANCE.getNodeF();
- }
-
-} // NodeFImpl
+/* + * Copyright (c) 2015 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.model3.impl; + +import org.eclipse.emf.cdo.tests.model3.Model3Package; +import org.eclipse.emf.cdo.tests.model3.NodeF; + +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Node F</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class NodeFImpl extends EdgeTargetImpl implements NodeF +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NodeFImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model3Package.eINSTANCE.getNodeF(); + } + +} // NodeFImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/PolygonImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/PolygonImpl.java index 6d9c233ad1..6e5384046f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/PolygonImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/PolygonImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/PolygonWithDuplicatesImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/PolygonWithDuplicatesImpl.java index 08574070dd..e8949a24cb 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/PolygonWithDuplicatesImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/PolygonWithDuplicatesImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2010-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/Model3Factory.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/Model3Factory.java index f73750b2fb..0a46313aa0 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/Model3Factory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/Model3Factory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/Model3Package.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/Model3Package.java index 816ed10933..491aac52c5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/Model3Package.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/Model3Package.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Class1Impl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Class1Impl.java index 0a47906cf5..dcee6ed93a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Class1Impl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Class1Impl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithIDAttributeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithIDAttributeImpl.java index 479cf1f4dd..09cd83ced5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithIDAttributeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithIDAttributeImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithJavaClassAttributeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithJavaClassAttributeImpl.java index 6a5553e5ab..f517b6c815 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithJavaClassAttributeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithJavaClassAttributeImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithJavaObjectAttributeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithJavaObjectAttributeImpl.java index 545eff607b..46ba477eaf 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithJavaObjectAttributeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ClassWithJavaObjectAttributeImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/DiagramImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/DiagramImpl.java index 82e53a85e5..7628199b6e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/DiagramImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/DiagramImpl.java @@ -1,203 +1,211 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3.legacy.impl;
-
-import org.eclipse.emf.cdo.tests.model3.Diagram;
-import org.eclipse.emf.cdo.tests.model3.Edge;
-import org.eclipse.emf.cdo.tests.model3.EdgeTarget;
-import org.eclipse.emf.cdo.tests.model3.legacy.Model3Package;
-
-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.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Diagram</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.DiagramImpl#getEdges <em>Edges</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.DiagramImpl#getEdgeTargets <em>Edge Targets</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class DiagramImpl extends EObjectImpl implements Diagram
-{
- /**
- * The cached value of the '{@link #getEdges() <em>Edges</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEdges()
- * @generated
- * @ordered
- */
- protected EList<Edge> edges;
-
- /**
- * The cached value of the '{@link #getEdgeTargets() <em>Edge Targets</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEdgeTargets()
- * @generated
- * @ordered
- */
- protected EList<EdgeTarget> edgeTargets;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DiagramImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model3Package.eINSTANCE.getDiagram();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Edge> getEdges()
- {
- if (edges == null)
- {
- edges = new EObjectContainmentEList<Edge>(Edge.class, this, Model3Package.DIAGRAM__EDGES);
- }
- return edges;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<EdgeTarget> getEdgeTargets()
- {
- if (edgeTargets == null)
- {
- edgeTargets = new EObjectContainmentEList<EdgeTarget>(EdgeTarget.class, this,
- Model3Package.DIAGRAM__EDGE_TARGETS);
- }
- return edgeTargets;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model3Package.DIAGRAM__EDGES:
- return ((InternalEList<?>)getEdges()).basicRemove(otherEnd, msgs);
- case Model3Package.DIAGRAM__EDGE_TARGETS:
- return ((InternalEList<?>)getEdgeTargets()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model3Package.DIAGRAM__EDGES:
- return getEdges();
- case Model3Package.DIAGRAM__EDGE_TARGETS:
- return getEdgeTargets();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model3Package.DIAGRAM__EDGES:
- getEdges().clear();
- getEdges().addAll((Collection<? extends Edge>)newValue);
- return;
- case Model3Package.DIAGRAM__EDGE_TARGETS:
- getEdgeTargets().clear();
- getEdgeTargets().addAll((Collection<? extends EdgeTarget>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model3Package.DIAGRAM__EDGES:
- getEdges().clear();
- return;
- case Model3Package.DIAGRAM__EDGE_TARGETS:
- getEdgeTargets().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model3Package.DIAGRAM__EDGES:
- return edges != null && !edges.isEmpty();
- case Model3Package.DIAGRAM__EDGE_TARGETS:
- return edgeTargets != null && !edgeTargets.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // DiagramImpl
+/* + * Copyright (c) 2015 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.model3.legacy.impl; + +import org.eclipse.emf.cdo.tests.model3.Diagram; +import org.eclipse.emf.cdo.tests.model3.Edge; +import org.eclipse.emf.cdo.tests.model3.EdgeTarget; +import org.eclipse.emf.cdo.tests.model3.legacy.Model3Package; + +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.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Diagram</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.DiagramImpl#getEdges <em>Edges</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.DiagramImpl#getEdgeTargets <em>Edge Targets</em>}</li> + * </ul> + * + * @generated + */ +public class DiagramImpl extends EObjectImpl implements Diagram +{ + /** + * The cached value of the '{@link #getEdges() <em>Edges</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEdges() + * @generated + * @ordered + */ + protected EList<Edge> edges; + + /** + * The cached value of the '{@link #getEdgeTargets() <em>Edge Targets</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEdgeTargets() + * @generated + * @ordered + */ + protected EList<EdgeTarget> edgeTargets; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DiagramImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model3Package.eINSTANCE.getDiagram(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Edge> getEdges() + { + if (edges == null) + { + edges = new EObjectContainmentEList<Edge>(Edge.class, this, Model3Package.DIAGRAM__EDGES); + } + return edges; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<EdgeTarget> getEdgeTargets() + { + if (edgeTargets == null) + { + edgeTargets = new EObjectContainmentEList<EdgeTarget>(EdgeTarget.class, this, + Model3Package.DIAGRAM__EDGE_TARGETS); + } + return edgeTargets; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model3Package.DIAGRAM__EDGES: + return ((InternalEList<?>)getEdges()).basicRemove(otherEnd, msgs); + case Model3Package.DIAGRAM__EDGE_TARGETS: + return ((InternalEList<?>)getEdgeTargets()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case Model3Package.DIAGRAM__EDGES: + return getEdges(); + case Model3Package.DIAGRAM__EDGE_TARGETS: + return getEdgeTargets(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case Model3Package.DIAGRAM__EDGES: + getEdges().clear(); + getEdges().addAll((Collection<? extends Edge>)newValue); + return; + case Model3Package.DIAGRAM__EDGE_TARGETS: + getEdgeTargets().clear(); + getEdgeTargets().addAll((Collection<? extends EdgeTarget>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model3Package.DIAGRAM__EDGES: + getEdges().clear(); + return; + case Model3Package.DIAGRAM__EDGE_TARGETS: + getEdgeTargets().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model3Package.DIAGRAM__EDGES: + return edges != null && !edges.isEmpty(); + case Model3Package.DIAGRAM__EDGE_TARGETS: + return edgeTargets != null && !edgeTargets.isEmpty(); + } + return super.eIsSet(featureID); + } + +} // DiagramImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/EdgeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/EdgeImpl.java index 0aaf3f54f7..0102319cca 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/EdgeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/EdgeImpl.java @@ -1,385 +1,393 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3.legacy.impl;
-
-import org.eclipse.emf.cdo.tests.model3.Edge;
-import org.eclipse.emf.cdo.tests.model3.EdgeTarget;
-import org.eclipse.emf.cdo.tests.model3.legacy.Model3Package;
-
-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;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Edge</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.EdgeImpl#getSourceNode <em>Source Node</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.EdgeImpl#getTargetNode <em>Target Node</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class EdgeImpl extends EObjectImpl implements Edge
-{
- /**
- * The cached value of the '{@link #getSourceNode() <em>Source Node</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSourceNode()
- * @generated
- * @ordered
- */
- protected EdgeTarget sourceNode;
-
- /**
- * The cached value of the '{@link #getTargetNode() <em>Target Node</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTargetNode()
- * @generated
- * @ordered
- */
- protected EdgeTarget targetNode;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EdgeImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model3Package.eINSTANCE.getEdge();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EdgeTarget getSourceNode()
- {
- if (sourceNode != null && sourceNode.eIsProxy())
- {
- InternalEObject oldSourceNode = (InternalEObject)sourceNode;
- sourceNode = (EdgeTarget)eResolveProxy(oldSourceNode);
- if (sourceNode != oldSourceNode)
- {
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Model3Package.EDGE__SOURCE_NODE, oldSourceNode,
- sourceNode));
- }
- }
- }
- return sourceNode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EdgeTarget basicGetSourceNode()
- {
- return sourceNode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSourceNode(EdgeTarget newSourceNode, NotificationChain msgs)
- {
- EdgeTarget oldSourceNode = sourceNode;
- sourceNode = newSourceNode;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Model3Package.EDGE__SOURCE_NODE,
- oldSourceNode, newSourceNode);
- if (msgs == null)
- {
- msgs = notification;
- }
- else
- {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSourceNode(EdgeTarget newSourceNode)
- {
- if (newSourceNode != sourceNode)
- {
- NotificationChain msgs = null;
- if (sourceNode != null)
- {
- msgs = ((InternalEObject)sourceNode).eInverseRemove(this, Model3Package.EDGE_TARGET__OUTGOING_EDGES,
- EdgeTarget.class, msgs);
- }
- if (newSourceNode != null)
- {
- msgs = ((InternalEObject)newSourceNode).eInverseAdd(this, Model3Package.EDGE_TARGET__OUTGOING_EDGES,
- EdgeTarget.class, msgs);
- }
- msgs = basicSetSourceNode(newSourceNode, msgs);
- if (msgs != null)
- {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired())
- {
- eNotify(
- new ENotificationImpl(this, Notification.SET, Model3Package.EDGE__SOURCE_NODE, newSourceNode, newSourceNode));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EdgeTarget getTargetNode()
- {
- if (targetNode != null && targetNode.eIsProxy())
- {
- InternalEObject oldTargetNode = (InternalEObject)targetNode;
- targetNode = (EdgeTarget)eResolveProxy(oldTargetNode);
- if (targetNode != oldTargetNode)
- {
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Model3Package.EDGE__TARGET_NODE, oldTargetNode,
- targetNode));
- }
- }
- }
- return targetNode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EdgeTarget basicGetTargetNode()
- {
- return targetNode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTargetNode(EdgeTarget newTargetNode, NotificationChain msgs)
- {
- EdgeTarget oldTargetNode = targetNode;
- targetNode = newTargetNode;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Model3Package.EDGE__TARGET_NODE,
- oldTargetNode, newTargetNode);
- if (msgs == null)
- {
- msgs = notification;
- }
- else
- {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTargetNode(EdgeTarget newTargetNode)
- {
- if (newTargetNode != targetNode)
- {
- NotificationChain msgs = null;
- if (targetNode != null)
- {
- msgs = ((InternalEObject)targetNode).eInverseRemove(this, Model3Package.EDGE_TARGET__INCOMING_EDGES,
- EdgeTarget.class, msgs);
- }
- if (newTargetNode != null)
- {
- msgs = ((InternalEObject)newTargetNode).eInverseAdd(this, Model3Package.EDGE_TARGET__INCOMING_EDGES,
- EdgeTarget.class, msgs);
- }
- msgs = basicSetTargetNode(newTargetNode, msgs);
- if (msgs != null)
- {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired())
- {
- eNotify(
- new ENotificationImpl(this, Notification.SET, Model3Package.EDGE__TARGET_NODE, newTargetNode, newTargetNode));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model3Package.EDGE__SOURCE_NODE:
- if (sourceNode != null)
- {
- msgs = ((InternalEObject)sourceNode).eInverseRemove(this, Model3Package.EDGE_TARGET__OUTGOING_EDGES,
- EdgeTarget.class, msgs);
- }
- return basicSetSourceNode((EdgeTarget)otherEnd, msgs);
- case Model3Package.EDGE__TARGET_NODE:
- if (targetNode != null)
- {
- msgs = ((InternalEObject)targetNode).eInverseRemove(this, Model3Package.EDGE_TARGET__INCOMING_EDGES,
- EdgeTarget.class, msgs);
- }
- return basicSetTargetNode((EdgeTarget)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model3Package.EDGE__SOURCE_NODE:
- return basicSetSourceNode(null, msgs);
- case Model3Package.EDGE__TARGET_NODE:
- return basicSetTargetNode(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model3Package.EDGE__SOURCE_NODE:
- if (resolve)
- {
- return getSourceNode();
- }
- return basicGetSourceNode();
- case Model3Package.EDGE__TARGET_NODE:
- if (resolve)
- {
- return getTargetNode();
- }
- return basicGetTargetNode();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model3Package.EDGE__SOURCE_NODE:
- setSourceNode((EdgeTarget)newValue);
- return;
- case Model3Package.EDGE__TARGET_NODE:
- setTargetNode((EdgeTarget)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model3Package.EDGE__SOURCE_NODE:
- setSourceNode((EdgeTarget)null);
- return;
- case Model3Package.EDGE__TARGET_NODE:
- setTargetNode((EdgeTarget)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model3Package.EDGE__SOURCE_NODE:
- return sourceNode != null;
- case Model3Package.EDGE__TARGET_NODE:
- return targetNode != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // EdgeImpl
+/* + * Copyright (c) 2015 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.model3.legacy.impl; + +import org.eclipse.emf.cdo.tests.model3.Edge; +import org.eclipse.emf.cdo.tests.model3.EdgeTarget; +import org.eclipse.emf.cdo.tests.model3.legacy.Model3Package; + +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; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Edge</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.EdgeImpl#getSourceNode <em>Source Node</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.EdgeImpl#getTargetNode <em>Target Node</em>}</li> + * </ul> + * + * @generated + */ +public class EdgeImpl extends EObjectImpl implements Edge +{ + /** + * The cached value of the '{@link #getSourceNode() <em>Source Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSourceNode() + * @generated + * @ordered + */ + protected EdgeTarget sourceNode; + + /** + * The cached value of the '{@link #getTargetNode() <em>Target Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTargetNode() + * @generated + * @ordered + */ + protected EdgeTarget targetNode; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EdgeImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model3Package.eINSTANCE.getEdge(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EdgeTarget getSourceNode() + { + if (sourceNode != null && sourceNode.eIsProxy()) + { + InternalEObject oldSourceNode = (InternalEObject)sourceNode; + sourceNode = (EdgeTarget)eResolveProxy(oldSourceNode); + if (sourceNode != oldSourceNode) + { + if (eNotificationRequired()) + { + eNotify(new ENotificationImpl(this, Notification.RESOLVE, Model3Package.EDGE__SOURCE_NODE, oldSourceNode, + sourceNode)); + } + } + } + return sourceNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EdgeTarget basicGetSourceNode() + { + return sourceNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSourceNode(EdgeTarget newSourceNode, NotificationChain msgs) + { + EdgeTarget oldSourceNode = sourceNode; + sourceNode = newSourceNode; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Model3Package.EDGE__SOURCE_NODE, + oldSourceNode, newSourceNode); + if (msgs == null) + { + msgs = notification; + } + else + { + msgs.add(notification); + } + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSourceNode(EdgeTarget newSourceNode) + { + if (newSourceNode != sourceNode) + { + NotificationChain msgs = null; + if (sourceNode != null) + { + msgs = ((InternalEObject)sourceNode).eInverseRemove(this, Model3Package.EDGE_TARGET__OUTGOING_EDGES, + EdgeTarget.class, msgs); + } + if (newSourceNode != null) + { + msgs = ((InternalEObject)newSourceNode).eInverseAdd(this, Model3Package.EDGE_TARGET__OUTGOING_EDGES, + EdgeTarget.class, msgs); + } + msgs = basicSetSourceNode(newSourceNode, msgs); + if (msgs != null) + { + msgs.dispatch(); + } + } + else if (eNotificationRequired()) + { + eNotify( + new ENotificationImpl(this, Notification.SET, Model3Package.EDGE__SOURCE_NODE, newSourceNode, newSourceNode)); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EdgeTarget getTargetNode() + { + if (targetNode != null && targetNode.eIsProxy()) + { + InternalEObject oldTargetNode = (InternalEObject)targetNode; + targetNode = (EdgeTarget)eResolveProxy(oldTargetNode); + if (targetNode != oldTargetNode) + { + if (eNotificationRequired()) + { + eNotify(new ENotificationImpl(this, Notification.RESOLVE, Model3Package.EDGE__TARGET_NODE, oldTargetNode, + targetNode)); + } + } + } + return targetNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EdgeTarget basicGetTargetNode() + { + return targetNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetTargetNode(EdgeTarget newTargetNode, NotificationChain msgs) + { + EdgeTarget oldTargetNode = targetNode; + targetNode = newTargetNode; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Model3Package.EDGE__TARGET_NODE, + oldTargetNode, newTargetNode); + if (msgs == null) + { + msgs = notification; + } + else + { + msgs.add(notification); + } + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTargetNode(EdgeTarget newTargetNode) + { + if (newTargetNode != targetNode) + { + NotificationChain msgs = null; + if (targetNode != null) + { + msgs = ((InternalEObject)targetNode).eInverseRemove(this, Model3Package.EDGE_TARGET__INCOMING_EDGES, + EdgeTarget.class, msgs); + } + if (newTargetNode != null) + { + msgs = ((InternalEObject)newTargetNode).eInverseAdd(this, Model3Package.EDGE_TARGET__INCOMING_EDGES, + EdgeTarget.class, msgs); + } + msgs = basicSetTargetNode(newTargetNode, msgs); + if (msgs != null) + { + msgs.dispatch(); + } + } + else if (eNotificationRequired()) + { + eNotify( + new ENotificationImpl(this, Notification.SET, Model3Package.EDGE__TARGET_NODE, newTargetNode, newTargetNode)); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model3Package.EDGE__SOURCE_NODE: + if (sourceNode != null) + { + msgs = ((InternalEObject)sourceNode).eInverseRemove(this, Model3Package.EDGE_TARGET__OUTGOING_EDGES, + EdgeTarget.class, msgs); + } + return basicSetSourceNode((EdgeTarget)otherEnd, msgs); + case Model3Package.EDGE__TARGET_NODE: + if (targetNode != null) + { + msgs = ((InternalEObject)targetNode).eInverseRemove(this, Model3Package.EDGE_TARGET__INCOMING_EDGES, + EdgeTarget.class, msgs); + } + return basicSetTargetNode((EdgeTarget)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model3Package.EDGE__SOURCE_NODE: + return basicSetSourceNode(null, msgs); + case Model3Package.EDGE__TARGET_NODE: + return basicSetTargetNode(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case Model3Package.EDGE__SOURCE_NODE: + if (resolve) + { + return getSourceNode(); + } + return basicGetSourceNode(); + case Model3Package.EDGE__TARGET_NODE: + if (resolve) + { + return getTargetNode(); + } + return basicGetTargetNode(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case Model3Package.EDGE__SOURCE_NODE: + setSourceNode((EdgeTarget)newValue); + return; + case Model3Package.EDGE__TARGET_NODE: + setTargetNode((EdgeTarget)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model3Package.EDGE__SOURCE_NODE: + setSourceNode((EdgeTarget)null); + return; + case Model3Package.EDGE__TARGET_NODE: + setTargetNode((EdgeTarget)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model3Package.EDGE__SOURCE_NODE: + return sourceNode != null; + case Model3Package.EDGE__TARGET_NODE: + return targetNode != null; + } + return super.eIsSet(featureID); + } + +} // EdgeImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/EdgeTargetImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/EdgeTargetImpl.java index 73bf77c1a0..52e98c8d57 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/EdgeTargetImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/EdgeTargetImpl.java @@ -1,222 +1,230 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3.legacy.impl;
-
-import org.eclipse.emf.cdo.tests.model3.Edge;
-import org.eclipse.emf.cdo.tests.model3.EdgeTarget;
-import org.eclipse.emf.cdo.tests.model3.legacy.Model3Package;
-
-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.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Edge Target</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * </p>
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.EdgeTargetImpl#getOutgoingEdges <em>Outgoing Edges</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.EdgeTargetImpl#getIncomingEdges <em>Incoming Edges</em>}</li>
- * </ul>
- *
- * @generated
- */
-public class EdgeTargetImpl extends EObjectImpl implements EdgeTarget
-{
- /**
- * The cached value of the '{@link #getOutgoingEdges() <em>Outgoing Edges</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOutgoingEdges()
- * @generated
- * @ordered
- */
- protected EList<Edge> outgoingEdges;
-
- /**
- * The cached value of the '{@link #getIncomingEdges() <em>Incoming Edges</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIncomingEdges()
- * @generated
- * @ordered
- */
- protected EList<Edge> incomingEdges;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EdgeTargetImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model3Package.eINSTANCE.getEdgeTarget();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Edge> getOutgoingEdges()
- {
- if (outgoingEdges == null)
- {
- outgoingEdges = new EObjectWithInverseResolvingEList<Edge>(Edge.class, this,
- Model3Package.EDGE_TARGET__OUTGOING_EDGES, Model3Package.EDGE__SOURCE_NODE);
- }
- return outgoingEdges;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Edge> getIncomingEdges()
- {
- if (incomingEdges == null)
- {
- incomingEdges = new EObjectWithInverseResolvingEList<Edge>(Edge.class, this,
- Model3Package.EDGE_TARGET__INCOMING_EDGES, Model3Package.EDGE__TARGET_NODE);
- }
- return incomingEdges;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model3Package.EDGE_TARGET__OUTGOING_EDGES:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutgoingEdges()).basicAdd(otherEnd, msgs);
- case Model3Package.EDGE_TARGET__INCOMING_EDGES:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncomingEdges()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model3Package.EDGE_TARGET__OUTGOING_EDGES:
- return ((InternalEList<?>)getOutgoingEdges()).basicRemove(otherEnd, msgs);
- case Model3Package.EDGE_TARGET__INCOMING_EDGES:
- return ((InternalEList<?>)getIncomingEdges()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model3Package.EDGE_TARGET__OUTGOING_EDGES:
- return getOutgoingEdges();
- case Model3Package.EDGE_TARGET__INCOMING_EDGES:
- return getIncomingEdges();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model3Package.EDGE_TARGET__OUTGOING_EDGES:
- getOutgoingEdges().clear();
- getOutgoingEdges().addAll((Collection<? extends Edge>)newValue);
- return;
- case Model3Package.EDGE_TARGET__INCOMING_EDGES:
- getIncomingEdges().clear();
- getIncomingEdges().addAll((Collection<? extends Edge>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model3Package.EDGE_TARGET__OUTGOING_EDGES:
- getOutgoingEdges().clear();
- return;
- case Model3Package.EDGE_TARGET__INCOMING_EDGES:
- getIncomingEdges().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model3Package.EDGE_TARGET__OUTGOING_EDGES:
- return outgoingEdges != null && !outgoingEdges.isEmpty();
- case Model3Package.EDGE_TARGET__INCOMING_EDGES:
- return incomingEdges != null && !incomingEdges.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // EdgeTargetImpl
+/* + * Copyright (c) 2015 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.model3.legacy.impl; + +import org.eclipse.emf.cdo.tests.model3.Edge; +import org.eclipse.emf.cdo.tests.model3.EdgeTarget; +import org.eclipse.emf.cdo.tests.model3.legacy.Model3Package; + +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.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Edge Target</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.EdgeTargetImpl#getOutgoingEdges <em>Outgoing Edges</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model3.legacy.impl.EdgeTargetImpl#getIncomingEdges <em>Incoming Edges</em>}</li> + * </ul> + * + * @generated + */ +public class EdgeTargetImpl extends EObjectImpl implements EdgeTarget +{ + /** + * The cached value of the '{@link #getOutgoingEdges() <em>Outgoing Edges</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOutgoingEdges() + * @generated + * @ordered + */ + protected EList<Edge> outgoingEdges; + + /** + * The cached value of the '{@link #getIncomingEdges() <em>Incoming Edges</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIncomingEdges() + * @generated + * @ordered + */ + protected EList<Edge> incomingEdges; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EdgeTargetImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model3Package.eINSTANCE.getEdgeTarget(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Edge> getOutgoingEdges() + { + if (outgoingEdges == null) + { + outgoingEdges = new EObjectWithInverseResolvingEList<Edge>(Edge.class, this, + Model3Package.EDGE_TARGET__OUTGOING_EDGES, Model3Package.EDGE__SOURCE_NODE); + } + return outgoingEdges; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Edge> getIncomingEdges() + { + if (incomingEdges == null) + { + incomingEdges = new EObjectWithInverseResolvingEList<Edge>(Edge.class, this, + Model3Package.EDGE_TARGET__INCOMING_EDGES, Model3Package.EDGE__TARGET_NODE); + } + return incomingEdges; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model3Package.EDGE_TARGET__OUTGOING_EDGES: + return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutgoingEdges()).basicAdd(otherEnd, msgs); + case Model3Package.EDGE_TARGET__INCOMING_EDGES: + return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncomingEdges()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model3Package.EDGE_TARGET__OUTGOING_EDGES: + return ((InternalEList<?>)getOutgoingEdges()).basicRemove(otherEnd, msgs); + case Model3Package.EDGE_TARGET__INCOMING_EDGES: + return ((InternalEList<?>)getIncomingEdges()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case Model3Package.EDGE_TARGET__OUTGOING_EDGES: + return getOutgoingEdges(); + case Model3Package.EDGE_TARGET__INCOMING_EDGES: + return getIncomingEdges(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case Model3Package.EDGE_TARGET__OUTGOING_EDGES: + getOutgoingEdges().clear(); + getOutgoingEdges().addAll((Collection<? extends Edge>)newValue); + return; + case Model3Package.EDGE_TARGET__INCOMING_EDGES: + getIncomingEdges().clear(); + getIncomingEdges().addAll((Collection<? extends Edge>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model3Package.EDGE_TARGET__OUTGOING_EDGES: + getOutgoingEdges().clear(); + return; + case Model3Package.EDGE_TARGET__INCOMING_EDGES: + getIncomingEdges().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model3Package.EDGE_TARGET__OUTGOING_EDGES: + return outgoingEdges != null && !outgoingEdges.isEmpty(); + case Model3Package.EDGE_TARGET__INCOMING_EDGES: + return incomingEdges != null && !incomingEdges.isEmpty(); + } + return super.eIsSet(featureID); + } + +} // EdgeTargetImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/FileImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/FileImpl.java index c44e3e957f..e0ccfdaf56 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/FileImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/FileImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ImageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ImageImpl.java index cb323170cf..36f83e339e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ImageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/ImageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/MetaRefImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/MetaRefImpl.java index 1eaacdf6b3..5d6eca3633 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/MetaRefImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/MetaRefImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Model3FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Model3FactoryImpl.java index 3fab85016e..32bdb732cf 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Model3FactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Model3FactoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Model3PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Model3PackageImpl.java index cbcc0d112a..de9eeb296f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Model3PackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/Model3PackageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeAImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeAImpl.java index 80a2618c35..4c4006621f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeAImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeAImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeBImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeBImpl.java index 22c09a5812..e56636aa0d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeBImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeBImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeCImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeCImpl.java index 888740bbea..7d966b813f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeCImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeCImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeDImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeDImpl.java index aad34b882a..b81afcbe00 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeDImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeDImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeEImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeEImpl.java index ce826efa3b..e77afa8017 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeEImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeEImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeFImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeFImpl.java index 5beb6157ed..a1da3caa4d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeFImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/NodeFImpl.java @@ -1,40 +1,48 @@ -/**
- */
-package org.eclipse.emf.cdo.tests.model3.legacy.impl;
-
-import org.eclipse.emf.cdo.tests.model3.NodeF;
-import org.eclipse.emf.cdo.tests.model3.legacy.Model3Package;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Node F</b></em>'.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class NodeFImpl extends EdgeTargetImpl implements NodeF
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NodeFImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model3Package.eINSTANCE.getNodeF();
- }
-
-} // NodeFImpl
+/* + * Copyright (c) 2015 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.model3.legacy.impl; + +import org.eclipse.emf.cdo.tests.model3.NodeF; +import org.eclipse.emf.cdo.tests.model3.legacy.Model3Package; + +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Node F</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class NodeFImpl extends EdgeTargetImpl implements NodeF +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NodeFImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model3Package.eINSTANCE.getNodeF(); + } + +} // NodeFImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/PolygonImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/PolygonImpl.java index 31fdbcecad..be87ca6cc7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/PolygonImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/PolygonImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/PolygonWithDuplicatesImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/PolygonWithDuplicatesImpl.java index 295f11d825..a7769fc2a1 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/PolygonWithDuplicatesImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/impl/PolygonWithDuplicatesImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/util/Model3AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/util/Model3AdapterFactory.java index bfec18d0dc..ef952a99d5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/util/Model3AdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/util/Model3AdapterFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/util/Model3Switch.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/util/Model3Switch.java index 414c8d8c22..6cb9cd32ad 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/util/Model3Switch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/legacy/util/Model3Switch.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/Class2.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/Class2.java index 6ffdc0800a..498d3bcab2 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/Class2.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/Class2.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackageFactory.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackageFactory.java index 6a52e56ee7..0706c3d5b5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackageFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackageFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackagePackage.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackagePackage.java index 75d8efc83b..72648fb8ef 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackagePackage.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackagePackage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/Class2Impl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/Class2Impl.java index b010a449f2..e083c87fb7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/Class2Impl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/Class2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackageFactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackageFactoryImpl.java index 5e80555798..e9b18c3436 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackageFactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackageFactoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackagePackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackagePackageImpl.java index 85c39b417f..7b45bbbae5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackagePackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackagePackageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2012 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2012, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/impl/Class2Impl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/impl/Class2Impl.java index d20c64b138..024e3dab2b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/impl/Class2Impl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/impl/Class2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/impl/SubpackagePackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/impl/SubpackagePackageImpl.java index e13793f0bb..32bd0eda72 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/impl/SubpackagePackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/impl/SubpackagePackageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/util/SubpackageSwitch.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/util/SubpackageSwitch.java index 11fd58e082..ab8d8e4546 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/util/SubpackageSwitch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/legacy/util/SubpackageSwitch.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageSwitch.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageSwitch.java index 7301b1b339..91961c4ade 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageSwitch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageSwitch.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3AdapterFactory.java index 448f8f5ea9..e5eda3b3ef 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3AdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3AdapterFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2013, 2015 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3Switch.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3Switch.java index 1c9a373ce6..895c9c83b2 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3Switch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3Switch.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2008-2013, 2015 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 |