blob: 188b5284fcb2c5e9e08d1bd6bc30d1d773789845 [file] [log] [blame]
/**
* <copyright>
*
* Copyright (c) 2014 itemis and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
* itemis - Initial API and implementation
*
* </copyright>
*/
package org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl;
import javax.xml.datatype.XMLGregorianCalendar;
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;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.ALTERNATIVEIDType9;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.MyreqifPackage;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.SOURCEType;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.SPECRELATION;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.TARGETType;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.TYPEType7;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.VALUESType1;
/**
* <!-- begin-user-doc --> An implementation of the model object '<em><b>SPECRELATION</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.SPECRELATIONImpl#getALTERNATIVEID <em>
* ALTERNATIVEID</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.SPECRELATIONImpl#getVALUES <em>VALUES</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.SPECRELATIONImpl#getSOURCE <em>SOURCE</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.SPECRELATIONImpl#getTARGET <em>TARGET</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.SPECRELATIONImpl#getTYPE <em>TYPE</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.SPECRELATIONImpl#getDESC <em>DESC</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.SPECRELATIONImpl#getIDENTIFIER <em>IDENTIFIER
* </em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.SPECRELATIONImpl#getLASTCHANGE <em>LASTCHANGE
* </em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.SPECRELATIONImpl#getLONGNAME <em>LONGNAME</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class SPECRELATIONImpl extends EObjectImpl implements SPECRELATION {
/**
* The cached value of the '{@link #getALTERNATIVEID() <em>ALTERNATIVEID</em>}' containment reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
* @see #getALTERNATIVEID()
* @generated
* @ordered
*/
protected ALTERNATIVEIDType9 aLTERNATIVEID;
/**
* The cached value of the '{@link #getVALUES() <em>VALUES</em>}' containment reference. <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @see #getVALUES()
* @generated
* @ordered
*/
protected VALUESType1 vALUES;
/**
* The cached value of the '{@link #getSOURCE() <em>SOURCE</em>}' containment reference. <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @see #getSOURCE()
* @generated
* @ordered
*/
protected SOURCEType sOURCE;
/**
* The cached value of the '{@link #getTARGET() <em>TARGET</em>}' containment reference. <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @see #getTARGET()
* @generated
* @ordered
*/
protected TARGETType tARGET;
/**
* The cached value of the '{@link #getTYPE() <em>TYPE</em>}' containment reference. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #getTYPE()
* @generated
* @ordered
*/
protected TYPEType7 tYPE;
/**
* The default value of the '{@link #getDESC() <em>DESC</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
* @see #getDESC()
* @generated
* @ordered
*/
protected static final String DESC_EDEFAULT = null;
/**
* The cached value of the '{@link #getDESC() <em>DESC</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
* @see #getDESC()
* @generated
* @ordered
*/
protected String dESC = DESC_EDEFAULT;
/**
* The default value of the '{@link #getIDENTIFIER() <em>IDENTIFIER</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #getIDENTIFIER()
* @generated
* @ordered
*/
protected static final String IDENTIFIER_EDEFAULT = null;
/**
* The cached value of the '{@link #getIDENTIFIER() <em>IDENTIFIER</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #getIDENTIFIER()
* @generated
* @ordered
*/
protected String iDENTIFIER = IDENTIFIER_EDEFAULT;
/**
* The default value of the '{@link #getLASTCHANGE() <em>LASTCHANGE</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #getLASTCHANGE()
* @generated
* @ordered
*/
protected static final XMLGregorianCalendar LASTCHANGE_EDEFAULT = null;
/**
* The cached value of the '{@link #getLASTCHANGE() <em>LASTCHANGE</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #getLASTCHANGE()
* @generated
* @ordered
*/
protected XMLGregorianCalendar lASTCHANGE = LASTCHANGE_EDEFAULT;
/**
* The default value of the '{@link #getLONGNAME() <em>LONGNAME</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #getLONGNAME()
* @generated
* @ordered
*/
protected static final String LONGNAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getLONGNAME() <em>LONGNAME</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #getLONGNAME()
* @generated
* @ordered
*/
protected String lONGNAME = LONGNAME_EDEFAULT;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
protected SPECRELATIONImpl() {
super();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return MyreqifPackage.Literals.SPECRELATION;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public ALTERNATIVEIDType9 getALTERNATIVEID() {
return aLTERNATIVEID;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetALTERNATIVEID(ALTERNATIVEIDType9 newALTERNATIVEID, NotificationChain msgs) {
ALTERNATIVEIDType9 oldALTERNATIVEID = aLTERNATIVEID;
aLTERNATIVEID = newALTERNATIVEID;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__ALTERNATIVEID,
oldALTERNATIVEID, newALTERNATIVEID);
if (msgs == null) {
msgs = notification;
} else {
msgs.add(notification);
}
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setALTERNATIVEID(ALTERNATIVEIDType9 newALTERNATIVEID) {
if (newALTERNATIVEID != aLTERNATIVEID) {
NotificationChain msgs = null;
if (aLTERNATIVEID != null) {
msgs = ((InternalEObject) aLTERNATIVEID).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__ALTERNATIVEID,
null, msgs);
}
if (newALTERNATIVEID != null) {
msgs = ((InternalEObject) newALTERNATIVEID).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__ALTERNATIVEID,
null, msgs);
}
msgs = basicSetALTERNATIVEID(newALTERNATIVEID, msgs);
if (msgs != null) {
msgs.dispatch();
}
} else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__ALTERNATIVEID, newALTERNATIVEID, newALTERNATIVEID));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public VALUESType1 getVALUES() {
return vALUES;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetVALUES(VALUESType1 newVALUES, NotificationChain msgs) {
VALUESType1 oldVALUES = vALUES;
vALUES = newVALUES;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__VALUES, oldVALUES, newVALUES);
if (msgs == null) {
msgs = notification;
} else {
msgs.add(notification);
}
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setVALUES(VALUESType1 newVALUES) {
if (newVALUES != vALUES) {
NotificationChain msgs = null;
if (vALUES != null) {
msgs = ((InternalEObject) vALUES).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__VALUES, null, msgs);
}
if (newVALUES != null) {
msgs = ((InternalEObject) newVALUES).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__VALUES, null, msgs);
}
msgs = basicSetVALUES(newVALUES, msgs);
if (msgs != null) {
msgs.dispatch();
}
} else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__VALUES, newVALUES, newVALUES));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public SOURCEType getSOURCE() {
return sOURCE;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetSOURCE(SOURCEType newSOURCE, NotificationChain msgs) {
SOURCEType oldSOURCE = sOURCE;
sOURCE = newSOURCE;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__SOURCE, oldSOURCE, newSOURCE);
if (msgs == null) {
msgs = notification;
} else {
msgs.add(notification);
}
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setSOURCE(SOURCEType newSOURCE) {
if (newSOURCE != sOURCE) {
NotificationChain msgs = null;
if (sOURCE != null) {
msgs = ((InternalEObject) sOURCE).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__SOURCE, null, msgs);
}
if (newSOURCE != null) {
msgs = ((InternalEObject) newSOURCE).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__SOURCE, null, msgs);
}
msgs = basicSetSOURCE(newSOURCE, msgs);
if (msgs != null) {
msgs.dispatch();
}
} else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__SOURCE, newSOURCE, newSOURCE));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public TARGETType getTARGET() {
return tARGET;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetTARGET(TARGETType newTARGET, NotificationChain msgs) {
TARGETType oldTARGET = tARGET;
tARGET = newTARGET;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__TARGET, oldTARGET, newTARGET);
if (msgs == null) {
msgs = notification;
} else {
msgs.add(notification);
}
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setTARGET(TARGETType newTARGET) {
if (newTARGET != tARGET) {
NotificationChain msgs = null;
if (tARGET != null) {
msgs = ((InternalEObject) tARGET).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__TARGET, null, msgs);
}
if (newTARGET != null) {
msgs = ((InternalEObject) newTARGET).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__TARGET, null, msgs);
}
msgs = basicSetTARGET(newTARGET, msgs);
if (msgs != null) {
msgs.dispatch();
}
} else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__TARGET, newTARGET, newTARGET));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public TYPEType7 getTYPE() {
return tYPE;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetTYPE(TYPEType7 newTYPE, NotificationChain msgs) {
TYPEType7 oldTYPE = tYPE;
tYPE = newTYPE;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__TYPE, oldTYPE, newTYPE);
if (msgs == null) {
msgs = notification;
} else {
msgs.add(notification);
}
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setTYPE(TYPEType7 newTYPE) {
if (newTYPE != tYPE) {
NotificationChain msgs = null;
if (tYPE != null) {
msgs = ((InternalEObject) tYPE).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__TYPE, null, msgs);
}
if (newTYPE != null) {
msgs = ((InternalEObject) newTYPE).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.SPECRELATION__TYPE, null, msgs);
}
msgs = basicSetTYPE(newTYPE, msgs);
if (msgs != null) {
msgs.dispatch();
}
} else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__TYPE, newTYPE, newTYPE));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public String getDESC() {
return dESC;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setDESC(String newDESC) {
String oldDESC = dESC;
dESC = newDESC;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__DESC, oldDESC, dESC));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public String getIDENTIFIER() {
return iDENTIFIER;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setIDENTIFIER(String newIDENTIFIER) {
String oldIDENTIFIER = iDENTIFIER;
iDENTIFIER = newIDENTIFIER;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__IDENTIFIER, oldIDENTIFIER, iDENTIFIER));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public XMLGregorianCalendar getLASTCHANGE() {
return lASTCHANGE;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setLASTCHANGE(XMLGregorianCalendar newLASTCHANGE) {
XMLGregorianCalendar oldLASTCHANGE = lASTCHANGE;
lASTCHANGE = newLASTCHANGE;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__LASTCHANGE, oldLASTCHANGE, lASTCHANGE));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public String getLONGNAME() {
return lONGNAME;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setLONGNAME(String newLONGNAME) {
String oldLONGNAME = lONGNAME;
lONGNAME = newLONGNAME;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.SPECRELATION__LONGNAME, oldLONGNAME, lONGNAME));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case MyreqifPackage.SPECRELATION__ALTERNATIVEID:
return basicSetALTERNATIVEID(null, msgs);
case MyreqifPackage.SPECRELATION__VALUES:
return basicSetVALUES(null, msgs);
case MyreqifPackage.SPECRELATION__SOURCE:
return basicSetSOURCE(null, msgs);
case MyreqifPackage.SPECRELATION__TARGET:
return basicSetTARGET(null, msgs);
case MyreqifPackage.SPECRELATION__TYPE:
return basicSetTYPE(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 MyreqifPackage.SPECRELATION__ALTERNATIVEID:
return getALTERNATIVEID();
case MyreqifPackage.SPECRELATION__VALUES:
return getVALUES();
case MyreqifPackage.SPECRELATION__SOURCE:
return getSOURCE();
case MyreqifPackage.SPECRELATION__TARGET:
return getTARGET();
case MyreqifPackage.SPECRELATION__TYPE:
return getTYPE();
case MyreqifPackage.SPECRELATION__DESC:
return getDESC();
case MyreqifPackage.SPECRELATION__IDENTIFIER:
return getIDENTIFIER();
case MyreqifPackage.SPECRELATION__LASTCHANGE:
return getLASTCHANGE();
case MyreqifPackage.SPECRELATION__LONGNAME:
return getLONGNAME();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case MyreqifPackage.SPECRELATION__ALTERNATIVEID:
setALTERNATIVEID((ALTERNATIVEIDType9) newValue);
return;
case MyreqifPackage.SPECRELATION__VALUES:
setVALUES((VALUESType1) newValue);
return;
case MyreqifPackage.SPECRELATION__SOURCE:
setSOURCE((SOURCEType) newValue);
return;
case MyreqifPackage.SPECRELATION__TARGET:
setTARGET((TARGETType) newValue);
return;
case MyreqifPackage.SPECRELATION__TYPE:
setTYPE((TYPEType7) newValue);
return;
case MyreqifPackage.SPECRELATION__DESC:
setDESC((String) newValue);
return;
case MyreqifPackage.SPECRELATION__IDENTIFIER:
setIDENTIFIER((String) newValue);
return;
case MyreqifPackage.SPECRELATION__LASTCHANGE:
setLASTCHANGE((XMLGregorianCalendar) newValue);
return;
case MyreqifPackage.SPECRELATION__LONGNAME:
setLONGNAME((String) newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case MyreqifPackage.SPECRELATION__ALTERNATIVEID:
setALTERNATIVEID((ALTERNATIVEIDType9) null);
return;
case MyreqifPackage.SPECRELATION__VALUES:
setVALUES((VALUESType1) null);
return;
case MyreqifPackage.SPECRELATION__SOURCE:
setSOURCE((SOURCEType) null);
return;
case MyreqifPackage.SPECRELATION__TARGET:
setTARGET((TARGETType) null);
return;
case MyreqifPackage.SPECRELATION__TYPE:
setTYPE((TYPEType7) null);
return;
case MyreqifPackage.SPECRELATION__DESC:
setDESC(DESC_EDEFAULT);
return;
case MyreqifPackage.SPECRELATION__IDENTIFIER:
setIDENTIFIER(IDENTIFIER_EDEFAULT);
return;
case MyreqifPackage.SPECRELATION__LASTCHANGE:
setLASTCHANGE(LASTCHANGE_EDEFAULT);
return;
case MyreqifPackage.SPECRELATION__LONGNAME:
setLONGNAME(LONGNAME_EDEFAULT);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case MyreqifPackage.SPECRELATION__ALTERNATIVEID:
return aLTERNATIVEID != null;
case MyreqifPackage.SPECRELATION__VALUES:
return vALUES != null;
case MyreqifPackage.SPECRELATION__SOURCE:
return sOURCE != null;
case MyreqifPackage.SPECRELATION__TARGET:
return tARGET != null;
case MyreqifPackage.SPECRELATION__TYPE:
return tYPE != null;
case MyreqifPackage.SPECRELATION__DESC:
return DESC_EDEFAULT == null ? dESC != null : !DESC_EDEFAULT.equals(dESC);
case MyreqifPackage.SPECRELATION__IDENTIFIER:
return IDENTIFIER_EDEFAULT == null ? iDENTIFIER != null : !IDENTIFIER_EDEFAULT.equals(iDENTIFIER);
case MyreqifPackage.SPECRELATION__LASTCHANGE:
return LASTCHANGE_EDEFAULT == null ? lASTCHANGE != null : !LASTCHANGE_EDEFAULT.equals(lASTCHANGE);
case MyreqifPackage.SPECRELATION__LONGNAME:
return LONGNAME_EDEFAULT == null ? lONGNAME != null : !LONGNAME_EDEFAULT.equals(lONGNAME);
}
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(" (dESC: ");
result.append(dESC);
result.append(", iDENTIFIER: ");
result.append(iDENTIFIER);
result.append(", lASTCHANGE: ");
result.append(lASTCHANGE);
result.append(", lONGNAME: ");
result.append(lONGNAME);
result.append(')');
return result.toString();
}
} // SPECRELATIONImpl