blob: a97262695e95d9e1f7f641f604d87d841776d283 [file] [log] [blame]
/**
*/
package org.w3._1999.xhtml.impl;
import java.math.BigInteger;
import java.util.List;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.w3._1999.xhtml.AType;
import org.w3._1999.xhtml.DirType;
import org.w3._1999.xhtml.Shape;
import org.w3._1999.xhtml.XhtmlPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>AType</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getAccesskey <em>Accesskey</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getCharset <em>Charset</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getClass_ <em>Class</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getCoords <em>Coords</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getDir <em>Dir</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getHref <em>Href</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getHreflang <em>Hreflang</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getId <em>Id</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getLang <em>Lang</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getLang1 <em>Lang1</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getName <em>Name</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnblur <em>Onblur</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnclick <em>Onclick</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOndblclick <em>Ondblclick</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnfocus <em>Onfocus</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnkeydown <em>Onkeydown</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnkeypress <em>Onkeypress</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnkeyup <em>Onkeyup</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnmousedown <em>Onmousedown</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnmousemove <em>Onmousemove</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnmouseout <em>Onmouseout</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnmouseover <em>Onmouseover</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getOnmouseup <em>Onmouseup</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getRel <em>Rel</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getRev <em>Rev</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getShape <em>Shape</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getStyle <em>Style</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getTabindex <em>Tabindex</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getTitle <em>Title</em>}</li>
* <li>{@link org.w3._1999.xhtml.impl.ATypeImpl#getType <em>Type</em>}</li>
* </ul>
*
* @generated
*/
public class ATypeImpl extends AContentImpl implements AType {
/**
* The default value of the '{@link #getAccesskey() <em>Accesskey</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAccesskey()
* @generated
* @ordered
*/
protected static final String ACCESSKEY_EDEFAULT = null;
/**
* The cached value of the '{@link #getAccesskey() <em>Accesskey</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAccesskey()
* @generated
* @ordered
*/
protected String accesskey = ACCESSKEY_EDEFAULT;
/**
* The default value of the '{@link #getCharset() <em>Charset</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCharset()
* @generated
* @ordered
*/
protected static final String CHARSET_EDEFAULT = null;
/**
* The cached value of the '{@link #getCharset() <em>Charset</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCharset()
* @generated
* @ordered
*/
protected String charset = CHARSET_EDEFAULT;
/**
* The default value of the '{@link #getClass_() <em>Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClass_()
* @generated
* @ordered
*/
protected static final List<String> CLASS_EDEFAULT = null;
/**
* The cached value of the '{@link #getClass_() <em>Class</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getClass_()
* @generated
* @ordered
*/
protected List<String> class_ = CLASS_EDEFAULT;
/**
* The default value of the '{@link #getCoords() <em>Coords</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCoords()
* @generated
* @ordered
*/
protected static final String COORDS_EDEFAULT = null;
/**
* The cached value of the '{@link #getCoords() <em>Coords</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getCoords()
* @generated
* @ordered
*/
protected String coords = COORDS_EDEFAULT;
/**
* The default value of the '{@link #getDir() <em>Dir</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDir()
* @generated
* @ordered
*/
protected static final DirType DIR_EDEFAULT = DirType.LTR;
/**
* The cached value of the '{@link #getDir() <em>Dir</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getDir()
* @generated
* @ordered
*/
protected DirType dir = DIR_EDEFAULT;
/**
* This is true if the Dir attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean dirESet;
/**
* The default value of the '{@link #getHref() <em>Href</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getHref()
* @generated
* @ordered
*/
protected static final String HREF_EDEFAULT = null;
/**
* The cached value of the '{@link #getHref() <em>Href</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getHref()
* @generated
* @ordered
*/
protected String href = HREF_EDEFAULT;
/**
* The default value of the '{@link #getHreflang() <em>Hreflang</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getHreflang()
* @generated
* @ordered
*/
protected static final String HREFLANG_EDEFAULT = null;
/**
* The cached value of the '{@link #getHreflang() <em>Hreflang</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getHreflang()
* @generated
* @ordered
*/
protected String hreflang = HREFLANG_EDEFAULT;
/**
* The default value of the '{@link #getId() <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getId()
* @generated
* @ordered
*/
protected static final String ID_EDEFAULT = null;
/**
* The cached value of the '{@link #getId() <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getId()
* @generated
* @ordered
*/
protected String id = ID_EDEFAULT;
/**
* The default value of the '{@link #getLang() <em>Lang</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getLang()
* @generated
* @ordered
*/
protected static final String LANG_EDEFAULT = null;
/**
* The cached value of the '{@link #getLang() <em>Lang</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getLang()
* @generated
* @ordered
*/
protected String lang = LANG_EDEFAULT;
/**
* The default value of the '{@link #getLang1() <em>Lang1</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getLang1()
* @generated
* @ordered
*/
protected static final String LANG1_EDEFAULT = null;
/**
* The cached value of the '{@link #getLang1() <em>Lang1</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getLang1()
* @generated
* @ordered
*/
protected String lang1 = LANG1_EDEFAULT;
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected static final String NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected String name = NAME_EDEFAULT;
/**
* The default value of the '{@link #getOnblur() <em>Onblur</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnblur()
* @generated
* @ordered
*/
protected static final String ONBLUR_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnblur() <em>Onblur</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnblur()
* @generated
* @ordered
*/
protected String onblur = ONBLUR_EDEFAULT;
/**
* The default value of the '{@link #getOnclick() <em>Onclick</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnclick()
* @generated
* @ordered
*/
protected static final String ONCLICK_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnclick() <em>Onclick</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnclick()
* @generated
* @ordered
*/
protected String onclick = ONCLICK_EDEFAULT;
/**
* The default value of the '{@link #getOndblclick() <em>Ondblclick</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOndblclick()
* @generated
* @ordered
*/
protected static final String ONDBLCLICK_EDEFAULT = null;
/**
* The cached value of the '{@link #getOndblclick() <em>Ondblclick</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOndblclick()
* @generated
* @ordered
*/
protected String ondblclick = ONDBLCLICK_EDEFAULT;
/**
* The default value of the '{@link #getOnfocus() <em>Onfocus</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnfocus()
* @generated
* @ordered
*/
protected static final String ONFOCUS_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnfocus() <em>Onfocus</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnfocus()
* @generated
* @ordered
*/
protected String onfocus = ONFOCUS_EDEFAULT;
/**
* The default value of the '{@link #getOnkeydown() <em>Onkeydown</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnkeydown()
* @generated
* @ordered
*/
protected static final String ONKEYDOWN_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnkeydown() <em>Onkeydown</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnkeydown()
* @generated
* @ordered
*/
protected String onkeydown = ONKEYDOWN_EDEFAULT;
/**
* The default value of the '{@link #getOnkeypress() <em>Onkeypress</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnkeypress()
* @generated
* @ordered
*/
protected static final String ONKEYPRESS_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnkeypress() <em>Onkeypress</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnkeypress()
* @generated
* @ordered
*/
protected String onkeypress = ONKEYPRESS_EDEFAULT;
/**
* The default value of the '{@link #getOnkeyup() <em>Onkeyup</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnkeyup()
* @generated
* @ordered
*/
protected static final String ONKEYUP_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnkeyup() <em>Onkeyup</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnkeyup()
* @generated
* @ordered
*/
protected String onkeyup = ONKEYUP_EDEFAULT;
/**
* The default value of the '{@link #getOnmousedown() <em>Onmousedown</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmousedown()
* @generated
* @ordered
*/
protected static final String ONMOUSEDOWN_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnmousedown() <em>Onmousedown</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmousedown()
* @generated
* @ordered
*/
protected String onmousedown = ONMOUSEDOWN_EDEFAULT;
/**
* The default value of the '{@link #getOnmousemove() <em>Onmousemove</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmousemove()
* @generated
* @ordered
*/
protected static final String ONMOUSEMOVE_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnmousemove() <em>Onmousemove</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmousemove()
* @generated
* @ordered
*/
protected String onmousemove = ONMOUSEMOVE_EDEFAULT;
/**
* The default value of the '{@link #getOnmouseout() <em>Onmouseout</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmouseout()
* @generated
* @ordered
*/
protected static final String ONMOUSEOUT_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnmouseout() <em>Onmouseout</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmouseout()
* @generated
* @ordered
*/
protected String onmouseout = ONMOUSEOUT_EDEFAULT;
/**
* The default value of the '{@link #getOnmouseover() <em>Onmouseover</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmouseover()
* @generated
* @ordered
*/
protected static final String ONMOUSEOVER_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnmouseover() <em>Onmouseover</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmouseover()
* @generated
* @ordered
*/
protected String onmouseover = ONMOUSEOVER_EDEFAULT;
/**
* The default value of the '{@link #getOnmouseup() <em>Onmouseup</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmouseup()
* @generated
* @ordered
*/
protected static final String ONMOUSEUP_EDEFAULT = null;
/**
* The cached value of the '{@link #getOnmouseup() <em>Onmouseup</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOnmouseup()
* @generated
* @ordered
*/
protected String onmouseup = ONMOUSEUP_EDEFAULT;
/**
* The default value of the '{@link #getRel() <em>Rel</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRel()
* @generated
* @ordered
*/
protected static final List<String> REL_EDEFAULT = null;
/**
* The cached value of the '{@link #getRel() <em>Rel</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRel()
* @generated
* @ordered
*/
protected List<String> rel = REL_EDEFAULT;
/**
* The default value of the '{@link #getRev() <em>Rev</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRev()
* @generated
* @ordered
*/
protected static final List<String> REV_EDEFAULT = null;
/**
* The cached value of the '{@link #getRev() <em>Rev</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getRev()
* @generated
* @ordered
*/
protected List<String> rev = REV_EDEFAULT;
/**
* The default value of the '{@link #getShape() <em>Shape</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getShape()
* @generated
* @ordered
*/
protected static final Shape SHAPE_EDEFAULT = Shape.RECT;
/**
* The cached value of the '{@link #getShape() <em>Shape</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getShape()
* @generated
* @ordered
*/
protected Shape shape = SHAPE_EDEFAULT;
/**
* This is true if the Shape attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean shapeESet;
/**
* The default value of the '{@link #getStyle() <em>Style</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getStyle()
* @generated
* @ordered
*/
protected static final String STYLE_EDEFAULT = null;
/**
* The cached value of the '{@link #getStyle() <em>Style</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getStyle()
* @generated
* @ordered
*/
protected String style = STYLE_EDEFAULT;
/**
* The default value of the '{@link #getTabindex() <em>Tabindex</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTabindex()
* @generated
* @ordered
*/
protected static final BigInteger TABINDEX_EDEFAULT = null;
/**
* The cached value of the '{@link #getTabindex() <em>Tabindex</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTabindex()
* @generated
* @ordered
*/
protected BigInteger tabindex = TABINDEX_EDEFAULT;
/**
* 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 #getType() <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getType()
* @generated
* @ordered
*/
protected static final String TYPE_EDEFAULT = null;
/**
* The cached value of the '{@link #getType() <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getType()
* @generated
* @ordered
*/
protected String type = TYPE_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ATypeImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return XhtmlPackage.eINSTANCE.getAType();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getAccesskey() {
return accesskey;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAccesskey(String newAccesskey) {
String oldAccesskey = accesskey;
accesskey = newAccesskey;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ACCESSKEY, oldAccesskey, accesskey));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getCharset() {
return charset;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCharset(String newCharset) {
String oldCharset = charset;
charset = newCharset;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__CHARSET, oldCharset, charset));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public List<String> getClass_() {
return class_;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setClass(List<String> newClass) {
List<String> oldClass = class_;
class_ = newClass;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__CLASS, oldClass, class_));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getCoords() {
return coords;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCoords(String newCoords) {
String oldCoords = coords;
coords = newCoords;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__COORDS, oldCoords, coords));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public DirType getDir() {
return dir;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setDir(DirType newDir) {
DirType oldDir = dir;
dir = newDir == null ? DIR_EDEFAULT : newDir;
boolean oldDirESet = dirESet;
dirESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__DIR, oldDir, dir, !oldDirESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetDir() {
DirType oldDir = dir;
boolean oldDirESet = dirESet;
dir = DIR_EDEFAULT;
dirESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, XhtmlPackage.ATYPE__DIR, oldDir, DIR_EDEFAULT, oldDirESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetDir() {
return dirESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getHref() {
return href;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setHref(String newHref) {
String oldHref = href;
href = newHref;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__HREF, oldHref, href));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getHreflang() {
return hreflang;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setHreflang(String newHreflang) {
String oldHreflang = hreflang;
hreflang = newHreflang;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__HREFLANG, oldHreflang, hreflang));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getId() {
return id;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setId(String newId) {
String oldId = id;
id = newId;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ID, oldId, id));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getLang() {
return lang;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setLang(String newLang) {
String oldLang = lang;
lang = newLang;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__LANG, oldLang, lang));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getLang1() {
return lang1;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setLang1(String newLang1) {
String oldLang1 = lang1;
lang1 = newLang1;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__LANG1, oldLang1, lang1));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnblur() {
return onblur;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnblur(String newOnblur) {
String oldOnblur = onblur;
onblur = newOnblur;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONBLUR, oldOnblur, onblur));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnclick() {
return onclick;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnclick(String newOnclick) {
String oldOnclick = onclick;
onclick = newOnclick;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONCLICK, oldOnclick, onclick));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOndblclick() {
return ondblclick;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOndblclick(String newOndblclick) {
String oldOndblclick = ondblclick;
ondblclick = newOndblclick;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONDBLCLICK, oldOndblclick, ondblclick));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnfocus() {
return onfocus;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnfocus(String newOnfocus) {
String oldOnfocus = onfocus;
onfocus = newOnfocus;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONFOCUS, oldOnfocus, onfocus));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnkeydown() {
return onkeydown;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnkeydown(String newOnkeydown) {
String oldOnkeydown = onkeydown;
onkeydown = newOnkeydown;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONKEYDOWN, oldOnkeydown, onkeydown));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnkeypress() {
return onkeypress;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnkeypress(String newOnkeypress) {
String oldOnkeypress = onkeypress;
onkeypress = newOnkeypress;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONKEYPRESS, oldOnkeypress, onkeypress));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnkeyup() {
return onkeyup;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnkeyup(String newOnkeyup) {
String oldOnkeyup = onkeyup;
onkeyup = newOnkeyup;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONKEYUP, oldOnkeyup, onkeyup));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnmousedown() {
return onmousedown;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnmousedown(String newOnmousedown) {
String oldOnmousedown = onmousedown;
onmousedown = newOnmousedown;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONMOUSEDOWN, oldOnmousedown, onmousedown));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnmousemove() {
return onmousemove;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnmousemove(String newOnmousemove) {
String oldOnmousemove = onmousemove;
onmousemove = newOnmousemove;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONMOUSEMOVE, oldOnmousemove, onmousemove));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnmouseout() {
return onmouseout;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnmouseout(String newOnmouseout) {
String oldOnmouseout = onmouseout;
onmouseout = newOnmouseout;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONMOUSEOUT, oldOnmouseout, onmouseout));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnmouseover() {
return onmouseover;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnmouseover(String newOnmouseover) {
String oldOnmouseover = onmouseover;
onmouseover = newOnmouseover;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONMOUSEOVER, oldOnmouseover, onmouseover));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getOnmouseup() {
return onmouseup;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOnmouseup(String newOnmouseup) {
String oldOnmouseup = onmouseup;
onmouseup = newOnmouseup;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__ONMOUSEUP, oldOnmouseup, onmouseup));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public List<String> getRel() {
return rel;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setRel(List<String> newRel) {
List<String> oldRel = rel;
rel = newRel;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__REL, oldRel, rel));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public List<String> getRev() {
return rev;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setRev(List<String> newRev) {
List<String> oldRev = rev;
rev = newRev;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__REV, oldRev, rev));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Shape getShape() {
return shape;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setShape(Shape newShape) {
Shape oldShape = shape;
shape = newShape == null ? SHAPE_EDEFAULT : newShape;
boolean oldShapeESet = shapeESet;
shapeESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__SHAPE, oldShape, shape, !oldShapeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void unsetShape() {
Shape oldShape = shape;
boolean oldShapeESet = shapeESet;
shape = SHAPE_EDEFAULT;
shapeESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, XhtmlPackage.ATYPE__SHAPE, oldShape, SHAPE_EDEFAULT, oldShapeESet));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean isSetShape() {
return shapeESet;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getStyle() {
return style;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setStyle(String newStyle) {
String oldStyle = style;
style = newStyle;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__STYLE, oldStyle, style));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public BigInteger getTabindex() {
return tabindex;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTabindex(BigInteger newTabindex) {
BigInteger oldTabindex = tabindex;
tabindex = newTabindex;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__TABINDEX, oldTabindex, tabindex));
}
/**
* <!-- 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, XhtmlPackage.ATYPE__TITLE, oldTitle, title));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getType() {
return type;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setType(String newType) {
String oldType = type;
type = newType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.ATYPE__TYPE, oldType, type));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case XhtmlPackage.ATYPE__ACCESSKEY:
return getAccesskey();
case XhtmlPackage.ATYPE__CHARSET:
return getCharset();
case XhtmlPackage.ATYPE__CLASS:
return getClass_();
case XhtmlPackage.ATYPE__COORDS:
return getCoords();
case XhtmlPackage.ATYPE__DIR:
return getDir();
case XhtmlPackage.ATYPE__HREF:
return getHref();
case XhtmlPackage.ATYPE__HREFLANG:
return getHreflang();
case XhtmlPackage.ATYPE__ID:
return getId();
case XhtmlPackage.ATYPE__LANG:
return getLang();
case XhtmlPackage.ATYPE__LANG1:
return getLang1();
case XhtmlPackage.ATYPE__NAME:
return getName();
case XhtmlPackage.ATYPE__ONBLUR:
return getOnblur();
case XhtmlPackage.ATYPE__ONCLICK:
return getOnclick();
case XhtmlPackage.ATYPE__ONDBLCLICK:
return getOndblclick();
case XhtmlPackage.ATYPE__ONFOCUS:
return getOnfocus();
case XhtmlPackage.ATYPE__ONKEYDOWN:
return getOnkeydown();
case XhtmlPackage.ATYPE__ONKEYPRESS:
return getOnkeypress();
case XhtmlPackage.ATYPE__ONKEYUP:
return getOnkeyup();
case XhtmlPackage.ATYPE__ONMOUSEDOWN:
return getOnmousedown();
case XhtmlPackage.ATYPE__ONMOUSEMOVE:
return getOnmousemove();
case XhtmlPackage.ATYPE__ONMOUSEOUT:
return getOnmouseout();
case XhtmlPackage.ATYPE__ONMOUSEOVER:
return getOnmouseover();
case XhtmlPackage.ATYPE__ONMOUSEUP:
return getOnmouseup();
case XhtmlPackage.ATYPE__REL:
return getRel();
case XhtmlPackage.ATYPE__REV:
return getRev();
case XhtmlPackage.ATYPE__SHAPE:
return getShape();
case XhtmlPackage.ATYPE__STYLE:
return getStyle();
case XhtmlPackage.ATYPE__TABINDEX:
return getTabindex();
case XhtmlPackage.ATYPE__TITLE:
return getTitle();
case XhtmlPackage.ATYPE__TYPE:
return getType();
}
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 XhtmlPackage.ATYPE__ACCESSKEY:
setAccesskey((String)newValue);
return;
case XhtmlPackage.ATYPE__CHARSET:
setCharset((String)newValue);
return;
case XhtmlPackage.ATYPE__CLASS:
setClass((List<String>)newValue);
return;
case XhtmlPackage.ATYPE__COORDS:
setCoords((String)newValue);
return;
case XhtmlPackage.ATYPE__DIR:
setDir((DirType)newValue);
return;
case XhtmlPackage.ATYPE__HREF:
setHref((String)newValue);
return;
case XhtmlPackage.ATYPE__HREFLANG:
setHreflang((String)newValue);
return;
case XhtmlPackage.ATYPE__ID:
setId((String)newValue);
return;
case XhtmlPackage.ATYPE__LANG:
setLang((String)newValue);
return;
case XhtmlPackage.ATYPE__LANG1:
setLang1((String)newValue);
return;
case XhtmlPackage.ATYPE__NAME:
setName((String)newValue);
return;
case XhtmlPackage.ATYPE__ONBLUR:
setOnblur((String)newValue);
return;
case XhtmlPackage.ATYPE__ONCLICK:
setOnclick((String)newValue);
return;
case XhtmlPackage.ATYPE__ONDBLCLICK:
setOndblclick((String)newValue);
return;
case XhtmlPackage.ATYPE__ONFOCUS:
setOnfocus((String)newValue);
return;
case XhtmlPackage.ATYPE__ONKEYDOWN:
setOnkeydown((String)newValue);
return;
case XhtmlPackage.ATYPE__ONKEYPRESS:
setOnkeypress((String)newValue);
return;
case XhtmlPackage.ATYPE__ONKEYUP:
setOnkeyup((String)newValue);
return;
case XhtmlPackage.ATYPE__ONMOUSEDOWN:
setOnmousedown((String)newValue);
return;
case XhtmlPackage.ATYPE__ONMOUSEMOVE:
setOnmousemove((String)newValue);
return;
case XhtmlPackage.ATYPE__ONMOUSEOUT:
setOnmouseout((String)newValue);
return;
case XhtmlPackage.ATYPE__ONMOUSEOVER:
setOnmouseover((String)newValue);
return;
case XhtmlPackage.ATYPE__ONMOUSEUP:
setOnmouseup((String)newValue);
return;
case XhtmlPackage.ATYPE__REL:
setRel((List<String>)newValue);
return;
case XhtmlPackage.ATYPE__REV:
setRev((List<String>)newValue);
return;
case XhtmlPackage.ATYPE__SHAPE:
setShape((Shape)newValue);
return;
case XhtmlPackage.ATYPE__STYLE:
setStyle((String)newValue);
return;
case XhtmlPackage.ATYPE__TABINDEX:
setTabindex((BigInteger)newValue);
return;
case XhtmlPackage.ATYPE__TITLE:
setTitle((String)newValue);
return;
case XhtmlPackage.ATYPE__TYPE:
setType((String)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case XhtmlPackage.ATYPE__ACCESSKEY:
setAccesskey(ACCESSKEY_EDEFAULT);
return;
case XhtmlPackage.ATYPE__CHARSET:
setCharset(CHARSET_EDEFAULT);
return;
case XhtmlPackage.ATYPE__CLASS:
setClass(CLASS_EDEFAULT);
return;
case XhtmlPackage.ATYPE__COORDS:
setCoords(COORDS_EDEFAULT);
return;
case XhtmlPackage.ATYPE__DIR:
unsetDir();
return;
case XhtmlPackage.ATYPE__HREF:
setHref(HREF_EDEFAULT);
return;
case XhtmlPackage.ATYPE__HREFLANG:
setHreflang(HREFLANG_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ID:
setId(ID_EDEFAULT);
return;
case XhtmlPackage.ATYPE__LANG:
setLang(LANG_EDEFAULT);
return;
case XhtmlPackage.ATYPE__LANG1:
setLang1(LANG1_EDEFAULT);
return;
case XhtmlPackage.ATYPE__NAME:
setName(NAME_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONBLUR:
setOnblur(ONBLUR_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONCLICK:
setOnclick(ONCLICK_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONDBLCLICK:
setOndblclick(ONDBLCLICK_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONFOCUS:
setOnfocus(ONFOCUS_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONKEYDOWN:
setOnkeydown(ONKEYDOWN_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONKEYPRESS:
setOnkeypress(ONKEYPRESS_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONKEYUP:
setOnkeyup(ONKEYUP_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONMOUSEDOWN:
setOnmousedown(ONMOUSEDOWN_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONMOUSEMOVE:
setOnmousemove(ONMOUSEMOVE_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONMOUSEOUT:
setOnmouseout(ONMOUSEOUT_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONMOUSEOVER:
setOnmouseover(ONMOUSEOVER_EDEFAULT);
return;
case XhtmlPackage.ATYPE__ONMOUSEUP:
setOnmouseup(ONMOUSEUP_EDEFAULT);
return;
case XhtmlPackage.ATYPE__REL:
setRel(REL_EDEFAULT);
return;
case XhtmlPackage.ATYPE__REV:
setRev(REV_EDEFAULT);
return;
case XhtmlPackage.ATYPE__SHAPE:
unsetShape();
return;
case XhtmlPackage.ATYPE__STYLE:
setStyle(STYLE_EDEFAULT);
return;
case XhtmlPackage.ATYPE__TABINDEX:
setTabindex(TABINDEX_EDEFAULT);
return;
case XhtmlPackage.ATYPE__TITLE:
setTitle(TITLE_EDEFAULT);
return;
case XhtmlPackage.ATYPE__TYPE:
setType(TYPE_EDEFAULT);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case XhtmlPackage.ATYPE__ACCESSKEY:
return ACCESSKEY_EDEFAULT == null ? accesskey != null : !ACCESSKEY_EDEFAULT.equals(accesskey);
case XhtmlPackage.ATYPE__CHARSET:
return CHARSET_EDEFAULT == null ? charset != null : !CHARSET_EDEFAULT.equals(charset);
case XhtmlPackage.ATYPE__CLASS:
return CLASS_EDEFAULT == null ? class_ != null : !CLASS_EDEFAULT.equals(class_);
case XhtmlPackage.ATYPE__COORDS:
return COORDS_EDEFAULT == null ? coords != null : !COORDS_EDEFAULT.equals(coords);
case XhtmlPackage.ATYPE__DIR:
return isSetDir();
case XhtmlPackage.ATYPE__HREF:
return HREF_EDEFAULT == null ? href != null : !HREF_EDEFAULT.equals(href);
case XhtmlPackage.ATYPE__HREFLANG:
return HREFLANG_EDEFAULT == null ? hreflang != null : !HREFLANG_EDEFAULT.equals(hreflang);
case XhtmlPackage.ATYPE__ID:
return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
case XhtmlPackage.ATYPE__LANG:
return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang);
case XhtmlPackage.ATYPE__LANG1:
return LANG1_EDEFAULT == null ? lang1 != null : !LANG1_EDEFAULT.equals(lang1);
case XhtmlPackage.ATYPE__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case XhtmlPackage.ATYPE__ONBLUR:
return ONBLUR_EDEFAULT == null ? onblur != null : !ONBLUR_EDEFAULT.equals(onblur);
case XhtmlPackage.ATYPE__ONCLICK:
return ONCLICK_EDEFAULT == null ? onclick != null : !ONCLICK_EDEFAULT.equals(onclick);
case XhtmlPackage.ATYPE__ONDBLCLICK:
return ONDBLCLICK_EDEFAULT == null ? ondblclick != null : !ONDBLCLICK_EDEFAULT.equals(ondblclick);
case XhtmlPackage.ATYPE__ONFOCUS:
return ONFOCUS_EDEFAULT == null ? onfocus != null : !ONFOCUS_EDEFAULT.equals(onfocus);
case XhtmlPackage.ATYPE__ONKEYDOWN:
return ONKEYDOWN_EDEFAULT == null ? onkeydown != null : !ONKEYDOWN_EDEFAULT.equals(onkeydown);
case XhtmlPackage.ATYPE__ONKEYPRESS:
return ONKEYPRESS_EDEFAULT == null ? onkeypress != null : !ONKEYPRESS_EDEFAULT.equals(onkeypress);
case XhtmlPackage.ATYPE__ONKEYUP:
return ONKEYUP_EDEFAULT == null ? onkeyup != null : !ONKEYUP_EDEFAULT.equals(onkeyup);
case XhtmlPackage.ATYPE__ONMOUSEDOWN:
return ONMOUSEDOWN_EDEFAULT == null ? onmousedown != null : !ONMOUSEDOWN_EDEFAULT.equals(onmousedown);
case XhtmlPackage.ATYPE__ONMOUSEMOVE:
return ONMOUSEMOVE_EDEFAULT == null ? onmousemove != null : !ONMOUSEMOVE_EDEFAULT.equals(onmousemove);
case XhtmlPackage.ATYPE__ONMOUSEOUT:
return ONMOUSEOUT_EDEFAULT == null ? onmouseout != null : !ONMOUSEOUT_EDEFAULT.equals(onmouseout);
case XhtmlPackage.ATYPE__ONMOUSEOVER:
return ONMOUSEOVER_EDEFAULT == null ? onmouseover != null : !ONMOUSEOVER_EDEFAULT.equals(onmouseover);
case XhtmlPackage.ATYPE__ONMOUSEUP:
return ONMOUSEUP_EDEFAULT == null ? onmouseup != null : !ONMOUSEUP_EDEFAULT.equals(onmouseup);
case XhtmlPackage.ATYPE__REL:
return REL_EDEFAULT == null ? rel != null : !REL_EDEFAULT.equals(rel);
case XhtmlPackage.ATYPE__REV:
return REV_EDEFAULT == null ? rev != null : !REV_EDEFAULT.equals(rev);
case XhtmlPackage.ATYPE__SHAPE:
return isSetShape();
case XhtmlPackage.ATYPE__STYLE:
return STYLE_EDEFAULT == null ? style != null : !STYLE_EDEFAULT.equals(style);
case XhtmlPackage.ATYPE__TABINDEX:
return TABINDEX_EDEFAULT == null ? tabindex != null : !TABINDEX_EDEFAULT.equals(tabindex);
case XhtmlPackage.ATYPE__TITLE:
return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
case XhtmlPackage.ATYPE__TYPE:
return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
}
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(" (accesskey: ");
result.append(accesskey);
result.append(", charset: ");
result.append(charset);
result.append(", class: ");
result.append(class_);
result.append(", coords: ");
result.append(coords);
result.append(", dir: ");
if (dirESet) result.append(dir); else result.append("<unset>");
result.append(", href: ");
result.append(href);
result.append(", hreflang: ");
result.append(hreflang);
result.append(", id: ");
result.append(id);
result.append(", lang: ");
result.append(lang);
result.append(", lang1: ");
result.append(lang1);
result.append(", name: ");
result.append(name);
result.append(", onblur: ");
result.append(onblur);
result.append(", onclick: ");
result.append(onclick);
result.append(", ondblclick: ");
result.append(ondblclick);
result.append(", onfocus: ");
result.append(onfocus);
result.append(", onkeydown: ");
result.append(onkeydown);
result.append(", onkeypress: ");
result.append(onkeypress);
result.append(", onkeyup: ");
result.append(onkeyup);
result.append(", onmousedown: ");
result.append(onmousedown);
result.append(", onmousemove: ");
result.append(onmousemove);
result.append(", onmouseout: ");
result.append(onmouseout);
result.append(", onmouseover: ");
result.append(onmouseover);
result.append(", onmouseup: ");
result.append(onmouseup);
result.append(", rel: ");
result.append(rel);
result.append(", rev: ");
result.append(rev);
result.append(", shape: ");
if (shapeESet) result.append(shape); else result.append("<unset>");
result.append(", style: ");
result.append(style);
result.append(", tabindex: ");
result.append(tabindex);
result.append(", title: ");
result.append(title);
result.append(", type: ");
result.append(type);
result.append(')');
return result.toString();
}
} //ATypeImpl