blob: 1315a5565738ec9bb04c8e758d1607a98c15bf96 [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.ALTERNATIVEIDType16;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.ATTRIBUTEDEFINITIONBOOLEAN;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.DEFAULTVALUEType6;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.MyreqifPackage;
import org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.TYPEType10;
/**
* <!-- begin-user-doc --> An implementation of the model object '<em><b>ATTRIBUTEDEFINITIONBOOLEAN</b></em>'. <!--
* end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.ATTRIBUTEDEFINITIONBOOLEANImpl#getALTERNATIVEID
* <em>ALTERNATIVEID</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.ATTRIBUTEDEFINITIONBOOLEANImpl#getDEFAULTVALUE
* <em>DEFAULTVALUE</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.ATTRIBUTEDEFINITIONBOOLEANImpl#getTYPE <em>TYPE
* </em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.ATTRIBUTEDEFINITIONBOOLEANImpl#getDESC <em>DESC
* </em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.ATTRIBUTEDEFINITIONBOOLEANImpl#getIDENTIFIER <em>
* IDENTIFIER</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.ATTRIBUTEDEFINITIONBOOLEANImpl#isISEDITABLE <em>
* ISEDITABLE</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.ATTRIBUTEDEFINITIONBOOLEANImpl#getLASTCHANGE <em>
* LASTCHANGE</em>}</li>
* <li>{@link org.eclipse.sphinx.tests.emf.serialization.env.emf.myreqif.impl.ATTRIBUTEDEFINITIONBOOLEANImpl#getLONGNAME <em>
* LONGNAME</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class ATTRIBUTEDEFINITIONBOOLEANImpl extends EObjectImpl implements ATTRIBUTEDEFINITIONBOOLEAN {
/**
* The cached value of the '{@link #getALTERNATIVEID() <em>ALTERNATIVEID</em>}' containment reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
* @see #getALTERNATIVEID()
* @generated
* @ordered
*/
protected ALTERNATIVEIDType16 aLTERNATIVEID;
/**
* The cached value of the '{@link #getDEFAULTVALUE() <em>DEFAULTVALUE</em>}' containment reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
* @see #getDEFAULTVALUE()
* @generated
* @ordered
*/
protected DEFAULTVALUEType6 dEFAULTVALUE;
/**
* The cached value of the '{@link #getTYPE() <em>TYPE</em>}' containment reference. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #getTYPE()
* @generated
* @ordered
*/
protected TYPEType10 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 #isISEDITABLE() <em>ISEDITABLE</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #isISEDITABLE()
* @generated
* @ordered
*/
protected static final boolean ISEDITABLE_EDEFAULT = false;
/**
* The cached value of the '{@link #isISEDITABLE() <em>ISEDITABLE</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @see #isISEDITABLE()
* @generated
* @ordered
*/
protected boolean iSEDITABLE = ISEDITABLE_EDEFAULT;
/**
* This is true if the ISEDITABLE attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
* @ordered
*/
protected boolean iSEDITABLEESet;
/**
* 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 ATTRIBUTEDEFINITIONBOOLEANImpl() {
super();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return MyreqifPackage.Literals.ATTRIBUTEDEFINITIONBOOLEAN;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public ALTERNATIVEIDType16 getALTERNATIVEID() {
return aLTERNATIVEID;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetALTERNATIVEID(ALTERNATIVEIDType16 newALTERNATIVEID, NotificationChain msgs) {
ALTERNATIVEIDType16 oldALTERNATIVEID = aLTERNATIVEID;
aLTERNATIVEID = newALTERNATIVEID;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__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(ALTERNATIVEIDType16 newALTERNATIVEID) {
if (newALTERNATIVEID != aLTERNATIVEID) {
NotificationChain msgs = null;
if (aLTERNATIVEID != null) {
msgs = ((InternalEObject) aLTERNATIVEID).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ALTERNATIVEID, null, msgs);
}
if (newALTERNATIVEID != null) {
msgs = ((InternalEObject) newALTERNATIVEID).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ALTERNATIVEID, null, msgs);
}
msgs = basicSetALTERNATIVEID(newALTERNATIVEID, msgs);
if (msgs != null) {
msgs.dispatch();
}
} else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ALTERNATIVEID, newALTERNATIVEID,
newALTERNATIVEID));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public DEFAULTVALUEType6 getDEFAULTVALUE() {
return dEFAULTVALUE;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetDEFAULTVALUE(DEFAULTVALUEType6 newDEFAULTVALUE, NotificationChain msgs) {
DEFAULTVALUEType6 oldDEFAULTVALUE = dEFAULTVALUE;
dEFAULTVALUE = newDEFAULTVALUE;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DEFAULTVALUE,
oldDEFAULTVALUE, newDEFAULTVALUE);
if (msgs == null) {
msgs = notification;
} else {
msgs.add(notification);
}
}
return msgs;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setDEFAULTVALUE(DEFAULTVALUEType6 newDEFAULTVALUE) {
if (newDEFAULTVALUE != dEFAULTVALUE) {
NotificationChain msgs = null;
if (dEFAULTVALUE != null) {
msgs = ((InternalEObject) dEFAULTVALUE).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DEFAULTVALUE, null, msgs);
}
if (newDEFAULTVALUE != null) {
msgs = ((InternalEObject) newDEFAULTVALUE).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DEFAULTVALUE, null, msgs);
}
msgs = basicSetDEFAULTVALUE(newDEFAULTVALUE, msgs);
if (msgs != null) {
msgs.dispatch();
}
} else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DEFAULTVALUE, newDEFAULTVALUE,
newDEFAULTVALUE));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public TYPEType10 getTYPE() {
return tYPE;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetTYPE(TYPEType10 newTYPE, NotificationChain msgs) {
TYPEType10 oldTYPE = tYPE;
tYPE = newTYPE;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__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(TYPEType10 newTYPE) {
if (newTYPE != tYPE) {
NotificationChain msgs = null;
if (tYPE != null) {
msgs = ((InternalEObject) tYPE).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__TYPE, null,
msgs);
}
if (newTYPE != null) {
msgs = ((InternalEObject) newTYPE).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__TYPE, null,
msgs);
}
msgs = basicSetTYPE(newTYPE, msgs);
if (msgs != null) {
msgs.dispatch();
}
} else if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__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.ATTRIBUTEDEFINITIONBOOLEAN__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.ATTRIBUTEDEFINITIONBOOLEAN__IDENTIFIER, oldIDENTIFIER, iDENTIFIER));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public boolean isISEDITABLE() {
return iSEDITABLE;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setISEDITABLE(boolean newISEDITABLE) {
boolean oldISEDITABLE = iSEDITABLE;
iSEDITABLE = newISEDITABLE;
boolean oldISEDITABLEESet = iSEDITABLEESet;
iSEDITABLEESet = true;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ISEDITABLE, oldISEDITABLE, iSEDITABLE,
!oldISEDITABLEESet));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void unsetISEDITABLE() {
boolean oldISEDITABLE = iSEDITABLE;
boolean oldISEDITABLEESet = iSEDITABLEESet;
iSEDITABLE = ISEDITABLE_EDEFAULT;
iSEDITABLEESet = false;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.UNSET, MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ISEDITABLE, oldISEDITABLE,
ISEDITABLE_EDEFAULT, oldISEDITABLEESet));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public boolean isSetISEDITABLE() {
return iSEDITABLEESet;
}
/**
* <!-- 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.ATTRIBUTEDEFINITIONBOOLEAN__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.ATTRIBUTEDEFINITIONBOOLEAN__LONGNAME, oldLONGNAME, lONGNAME));
}
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ALTERNATIVEID:
return basicSetALTERNATIVEID(null, msgs);
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DEFAULTVALUE:
return basicSetDEFAULTVALUE(null, msgs);
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__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.ATTRIBUTEDEFINITIONBOOLEAN__ALTERNATIVEID:
return getALTERNATIVEID();
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DEFAULTVALUE:
return getDEFAULTVALUE();
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__TYPE:
return getTYPE();
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DESC:
return getDESC();
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__IDENTIFIER:
return getIDENTIFIER();
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ISEDITABLE:
return isISEDITABLE();
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__LASTCHANGE:
return getLASTCHANGE();
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__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.ATTRIBUTEDEFINITIONBOOLEAN__ALTERNATIVEID:
setALTERNATIVEID((ALTERNATIVEIDType16) newValue);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DEFAULTVALUE:
setDEFAULTVALUE((DEFAULTVALUEType6) newValue);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__TYPE:
setTYPE((TYPEType10) newValue);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DESC:
setDESC((String) newValue);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__IDENTIFIER:
setIDENTIFIER((String) newValue);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ISEDITABLE:
setISEDITABLE((Boolean) newValue);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__LASTCHANGE:
setLASTCHANGE((XMLGregorianCalendar) newValue);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__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.ATTRIBUTEDEFINITIONBOOLEAN__ALTERNATIVEID:
setALTERNATIVEID((ALTERNATIVEIDType16) null);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DEFAULTVALUE:
setDEFAULTVALUE((DEFAULTVALUEType6) null);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__TYPE:
setTYPE((TYPEType10) null);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DESC:
setDESC(DESC_EDEFAULT);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__IDENTIFIER:
setIDENTIFIER(IDENTIFIER_EDEFAULT);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ISEDITABLE:
unsetISEDITABLE();
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__LASTCHANGE:
setLASTCHANGE(LASTCHANGE_EDEFAULT);
return;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__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.ATTRIBUTEDEFINITIONBOOLEAN__ALTERNATIVEID:
return aLTERNATIVEID != null;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DEFAULTVALUE:
return dEFAULTVALUE != null;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__TYPE:
return tYPE != null;
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__DESC:
return DESC_EDEFAULT == null ? dESC != null : !DESC_EDEFAULT.equals(dESC);
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__IDENTIFIER:
return IDENTIFIER_EDEFAULT == null ? iDENTIFIER != null : !IDENTIFIER_EDEFAULT.equals(iDENTIFIER);
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__ISEDITABLE:
return isSetISEDITABLE();
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__LASTCHANGE:
return LASTCHANGE_EDEFAULT == null ? lASTCHANGE != null : !LASTCHANGE_EDEFAULT.equals(lASTCHANGE);
case MyreqifPackage.ATTRIBUTEDEFINITIONBOOLEAN__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(", iSEDITABLE: ");
if (iSEDITABLEESet) {
result.append(iSEDITABLE);
} else {
result.append("<unset>");
}
result.append(", lASTCHANGE: ");
result.append(lASTCHANGE);
result.append(", lONGNAME: ");
result.append(lONGNAME);
result.append(')');
return result.toString();
}
} // ATTRIBUTEDEFINITIONBOOLEANImpl