Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java')
-rw-r--r--plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java237
1 files changed, 0 insertions, 237 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java b/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java
deleted file mode 100644
index a44b0000274..00000000000
--- a/plugins/developer/org.eclipse.papyrus.documentation.plugin/src-gen/org/eclipse/papyrus/documentation/plugin/documentation/impl/CommentImpl.java
+++ /dev/null
@@ -1,237 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.documentation.plugin.documentation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.EModelElementImpl;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.documentation.plugin.documentation.Comment;
-import org.eclipse.papyrus.documentation.plugin.documentation.DocumentationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Comment</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl#getTitle <em>Title</em>}</li>
- * <li>{@link org.eclipse.papyrus.documentation.plugin.documentation.impl.CommentImpl#getContents <em>Contents</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CommentImpl extends EModelElementImpl implements Comment {
- /**
- * The default value of the '{@link #getTitle() <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getTitle()
- * @generated
- * @ordered
- */
- protected static final String TITLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTitle() <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getTitle()
- * @generated
- * @ordered
- */
- protected String title = TITLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getContents() <em>Contents</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getContents()
- * @generated
- * @ordered
- */
- protected static final String CONTENTS_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getContents() <em>Contents</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getContents()
- * @generated
- * @ordered
- */
- protected String contents = CONTENTS_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected CommentImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return DocumentationPackage.Literals.COMMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTitle() {
- return title;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTitle(String newTitle) {
- String oldTitle = title;
- title = newTitle;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.COMMENT__TITLE, oldTitle, title));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getContents() {
- return contents;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setContents(String newContents) {
- String oldContents = contents;
- contents = newContents;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, DocumentationPackage.COMMENT__CONTENTS, oldContents, contents));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case DocumentationPackage.COMMENT__TITLE:
- return getTitle();
- case DocumentationPackage.COMMENT__CONTENTS:
- return getContents();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case DocumentationPackage.COMMENT__TITLE:
- setTitle((String) newValue);
- return;
- case DocumentationPackage.COMMENT__CONTENTS:
- setContents((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case DocumentationPackage.COMMENT__TITLE:
- setTitle(TITLE_EDEFAULT);
- return;
- case DocumentationPackage.COMMENT__CONTENTS:
- setContents(CONTENTS_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case DocumentationPackage.COMMENT__TITLE:
- return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
- case DocumentationPackage.COMMENT__CONTENTS:
- return CONTENTS_EDEFAULT == null ? contents != null : !CONTENTS_EDEFAULT.equals(contents);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (title: ");
- result.append(title);
- result.append(", contents: ");
- result.append(contents);
- result.append(')');
- return result.toString();
- }
-
-} // CommentImpl

Back to the top