/**
*/
package regression.test;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
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.EObject;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Element</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link regression.test.Element#getElement <em>Element</em>}</li>
* <li>{@link regression.test.Element#getAddress <em>Address</em>}</li>
* <li>{@link regression.test.Element#getElementType <em>Element Type</em>}</li>
* <li>{@link regression.test.Element#getGeneratedBy <em>Generated By</em>}</li>
* <li>{@link regression.test.Element#isInformational <em>Informational</em>}</li>
* <li>{@link regression.test.Element#getName <em>Name</em>}</li>
* <li>{@link regression.test.Element#getValue <em>Value</em>}</li>
* <li>{@link regression.test.Element#getReturnType <em>Return Type</em>}</li>
* </ul>
* </p>
*
* @see regression.test.TestPackage#getElement()
* @model kind="class"
* extendedMetaData="name='element' kind='elementOnly'"
* @generated
*/
public class Element extends EObjectImpl implements EObject {
/**
* The cached value of the '{@link #getElement() <em>Element</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getElement()
* @generated
* @ordered
*/
protected EList<Element> element;
/**
* The default value of the '{@link #getAddress() <em>Address</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAddress()
* @generated
* @ordered
*/
protected static final String ADDRESS_EDEFAULT = null;
/**
* The cached value of the '{@link #getAddress() <em>Address</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAddress()
* @generated
* @ordered
*/
protected String address = ADDRESS_EDEFAULT;
/**
* The default value of the '{@link #getElementType() <em>Element Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getElementType()
* @generated
* @ordered
*/
protected static final ElementType ELEMENT_TYPE_EDEFAULT = ElementType.VALUE;
/**
* The cached value of the '{@link #getElementType() <em>Element Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getElementType()
* @generated
* @ordered
*/
protected ElementType elementType = ELEMENT_TYPE_EDEFAULT;
/**
* This is true if the Element Type attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean elementTypeESet;
/**
* The default value of the '{@link #getGeneratedBy() <em>Generated By</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getGeneratedBy()
* @generated
* @ordered
*/
protected static final GeneratorType GENERATED_BY_EDEFAULT = GeneratorType.OBJECT;
/**
* The cached value of the '{@link #getGeneratedBy() <em>Generated By</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getGeneratedBy()
* @generated
* @ordered
*/
protected GeneratorType generatedBy = GENERATED_BY_EDEFAULT;
/**
* This is true if the Generated By attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean generatedByESet;
/**
* The default value of the '{@link #isInformational() <em>Informational</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isInformational()
* @generated
* @ordered
*/
protected static final boolean INFORMATIONAL_EDEFAULT = false;
/**
* The cached value of the '{@link #isInformational() <em>Informational</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isInformational()
* @generated
* @ordered
*/
protected boolean informational = INFORMATIONAL_EDEFAULT;
/**
* This is true if the Informational attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
protected boolean informationalESet;
/**
* 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 #getValue() <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getValue()
* @generated
* @ordered
*/
protected static final String VALUE_EDEFAULT = null;
/**
* The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getValue()
* @generated
* @ordered
*/
protected String value = VALUE_EDEFAULT;
/**
* The default value of the '{@link #getReturnType() <em>Return Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getReturnType()
* @generated
* @ordered
*/
protected static final String RETURN_TYPE_EDEFAULT = null;
/**
* The cached value of the '{@link #getReturnType() <em>Return Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getReturnType()
* @generated
* @ordered
*/
protected String returnType = RETURN_TYPE_EDEFAULT;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Element() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return TestPackage.Literals.ELEMENT;
}
/**
* Returns the value of the '<em><b>Element</b></em>' containment reference list.
* The list contents are of type {@link regression.test.Element}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Element</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>Element</em>' containment reference list.
* @see regression.test.TestPackage#getElement_Element()
* @model containment="true"
* extendedMetaData="kind='element' name='element' namespace='##targetNamespace'"
* @generated
*/
public EList<Element> getElement() {
if (element == null) {
element = new EObjectContainmentEList<Element>(Element.class, this, TestPackage.ELEMENT__ELEMENT);
}
return element;
}
/**
* Returns the value of the '<em><b>Address</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Address</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Address</em>' attribute.
* @see #setAddress(String)
* @see regression.test.TestPackage#getElement_Address()
* @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
* extendedMetaData="kind='attribute' name='address'"
* @generated
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the '{@link regression.test.Element#getAddress <em>Address</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Address</em>' attribute.
* @see #getAddress()
* @generated
*/
public void setAddress(String newAddress) {
String oldAddress = address;
address = newAddress;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ELEMENT__ADDRESS, oldAddress, address));
}
/**
* Returns the value of the '<em><b>Element Type</b></em>' attribute.
* The default value is <code>"VALUE"</code>.
* The literals are from the enumeration {@link regression.test.ElementType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Element Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Element Type</em>' attribute.
* @see regression.test.ElementType
* @see #isSetElementType()
* @see #unsetElementType()
* @see #setElementType(ElementType)
* @see regression.test.TestPackage#getElement_ElementType()
* @model default="VALUE" unsettable="true"
* extendedMetaData="kind='attribute' name='elementType'"
* @generated
*/
public ElementType getElementType() {
return elementType;
}
/**
* Sets the value of the '{@link regression.test.Element#getElementType <em>Element Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Element Type</em>' attribute.
* @see regression.test.ElementType
* @see #isSetElementType()
* @see #unsetElementType()
* @see #getElementType()
* @generated
*/
public void setElementType(ElementType newElementType) {
ElementType oldElementType = elementType;
elementType = newElementType == null ? ELEMENT_TYPE_EDEFAULT : newElementType;
boolean oldElementTypeESet = elementTypeESet;
elementTypeESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ELEMENT__ELEMENT_TYPE, oldElementType, elementType, !oldElementTypeESet));
}
/**
* Unsets the value of the '{@link regression.test.Element#getElementType <em>Element Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetElementType()
* @see #getElementType()
* @see #setElementType(ElementType)
* @generated
*/
public void unsetElementType() {
ElementType oldElementType = elementType;
boolean oldElementTypeESet = elementTypeESet;
elementType = ELEMENT_TYPE_EDEFAULT;
elementTypeESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, TestPackage.ELEMENT__ELEMENT_TYPE, oldElementType, ELEMENT_TYPE_EDEFAULT, oldElementTypeESet));
}
/**
* Returns whether the value of the '{@link regression.test.Element#getElementType <em>Element Type</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Element Type</em>' attribute is set.
* @see #unsetElementType()
* @see #getElementType()
* @see #setElementType(ElementType)
* @generated
*/
public boolean isSetElementType() {
return elementTypeESet;
}
/**
* Returns the value of the '<em><b>Generated By</b></em>' attribute.
* The default value is <code>"OBJECT"</code>.
* The literals are from the enumeration {@link regression.test.GeneratorType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Generated By</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Generated By</em>' attribute.
* @see regression.test.GeneratorType
* @see #isSetGeneratedBy()
* @see #unsetGeneratedBy()
* @see #setGeneratedBy(GeneratorType)
* @see regression.test.TestPackage#getElement_GeneratedBy()
* @model default="OBJECT" unsettable="true"
* extendedMetaData="kind='attribute' name='generatedBy'"
* @generated
*/
public GeneratorType getGeneratedBy() {
return generatedBy;
}
/**
* Sets the value of the '{@link regression.test.Element#getGeneratedBy <em>Generated By</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Generated By</em>' attribute.
* @see regression.test.GeneratorType
* @see #isSetGeneratedBy()
* @see #unsetGeneratedBy()
* @see #getGeneratedBy()
* @generated
*/
public void setGeneratedBy(GeneratorType newGeneratedBy) {
GeneratorType oldGeneratedBy = generatedBy;
generatedBy = newGeneratedBy == null ? GENERATED_BY_EDEFAULT : newGeneratedBy;
boolean oldGeneratedByESet = generatedByESet;
generatedByESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ELEMENT__GENERATED_BY, oldGeneratedBy, generatedBy, !oldGeneratedByESet));
}
/**
* Unsets the value of the '{@link regression.test.Element#getGeneratedBy <em>Generated By</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetGeneratedBy()
* @see #getGeneratedBy()
* @see #setGeneratedBy(GeneratorType)
* @generated
*/
public void unsetGeneratedBy() {
GeneratorType oldGeneratedBy = generatedBy;
boolean oldGeneratedByESet = generatedByESet;
generatedBy = GENERATED_BY_EDEFAULT;
generatedByESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, TestPackage.ELEMENT__GENERATED_BY, oldGeneratedBy, GENERATED_BY_EDEFAULT, oldGeneratedByESet));
}
/**
* Returns whether the value of the '{@link regression.test.Element#getGeneratedBy <em>Generated By</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Generated By</em>' attribute is set.
* @see #unsetGeneratedBy()
* @see #getGeneratedBy()
* @see #setGeneratedBy(GeneratorType)
* @generated
*/
public boolean isSetGeneratedBy() {
return generatedByESet;
}
/**
* Returns the value of the '<em><b>Informational</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Informational</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Informational</em>' attribute.
* @see #isSetInformational()
* @see #unsetInformational()
* @see #setInformational(boolean)
* @see regression.test.TestPackage#getElement_Informational()
* @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* extendedMetaData="kind='attribute' name='informational'"
* @generated
*/
public boolean isInformational() {
return informational;
}
/**
* Sets the value of the '{@link regression.test.Element#isInformational <em>Informational</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Informational</em>' attribute.
* @see #isSetInformational()
* @see #unsetInformational()
* @see #isInformational()
* @generated
*/
public void setInformational(boolean newInformational) {
boolean oldInformational = informational;
informational = newInformational;
boolean oldInformationalESet = informationalESet;
informationalESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ELEMENT__INFORMATIONAL, oldInformational, informational, !oldInformationalESet));
}
/**
* Unsets the value of the '{@link regression.test.Element#isInformational <em>Informational</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetInformational()
* @see #isInformational()
* @see #setInformational(boolean)
* @generated
*/
public void unsetInformational() {
boolean oldInformational = informational;
boolean oldInformationalESet = informationalESet;
informational = INFORMATIONAL_EDEFAULT;
informationalESet = false;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.UNSET, TestPackage.ELEMENT__INFORMATIONAL, oldInformational, INFORMATIONAL_EDEFAULT, oldInformationalESet));
}
/**
* Returns whether the value of the '{@link regression.test.Element#isInformational <em>Informational</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Informational</em>' attribute is set.
* @see #unsetInformational()
* @see #isInformational()
* @see #setInformational(boolean)
* @generated
*/
public boolean isSetInformational() {
return informationalESet;
}
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see regression.test.TestPackage#getElement_Name()
* @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
* extendedMetaData="kind='attribute' name='name'"
* @generated
*/
public String getName() {
return name;
}
/**
* Sets the value of the '{@link regression.test.Element#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ELEMENT__NAME, oldName, name));
}
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(String)
* @see regression.test.TestPackage#getElement_Value()
* @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
* extendedMetaData="kind='attribute' name='value'"
* @generated
*/
public String getValue() {
return value;
}
/**
* Sets the value of the '{@link regression.test.Element#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
public void setValue(String newValue) {
String oldValue = value;
value = newValue;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ELEMENT__VALUE, oldValue, value));
}
/**
* Returns the value of the '<em><b>Return Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Return Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Return Type</em>' attribute.
* @see #setReturnType(String)
* @see regression.test.TestPackage#getElement_ReturnType()
* @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
* extendedMetaData="kind='attribute' name='returnType'"
* @generated
*/
public String getReturnType() {
return returnType;
}
/**
* Sets the value of the '{@link regression.test.Element#getReturnType <em>Return Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Return Type</em>' attribute.
* @see #getReturnType()
* @generated
*/
public void setReturnType(String newReturnType) {
String oldReturnType = returnType;
returnType = newReturnType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ELEMENT__RETURN_TYPE, oldReturnType, returnType));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case TestPackage.ELEMENT__ELEMENT:
return ((InternalEList<?>)getElement()).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 TestPackage.ELEMENT__ELEMENT:
return getElement();
case TestPackage.ELEMENT__ADDRESS:
return getAddress();
case TestPackage.ELEMENT__ELEMENT_TYPE:
return getElementType();
case TestPackage.ELEMENT__GENERATED_BY:
return getGeneratedBy();
case TestPackage.ELEMENT__INFORMATIONAL:
return isInformational();
case TestPackage.ELEMENT__NAME:
return getName();
case TestPackage.ELEMENT__VALUE:
return getValue();
case TestPackage.ELEMENT__RETURN_TYPE:
return getReturnType();
}
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 TestPackage.ELEMENT__ELEMENT:
getElement().clear();
getElement().addAll((Collection<? extends Element>)newValue);
return;
case TestPackage.ELEMENT__ADDRESS:
setAddress((String)newValue);
return;
case TestPackage.ELEMENT__ELEMENT_TYPE:
setElementType((ElementType)newValue);
return;
case TestPackage.ELEMENT__GENERATED_BY:
setGeneratedBy((GeneratorType)newValue);
return;
case TestPackage.ELEMENT__INFORMATIONAL:
setInformational((Boolean)newValue);
return;
case TestPackage.ELEMENT__NAME:
setName((String)newValue);
return;
case TestPackage.ELEMENT__VALUE:
setValue((String)newValue);
return;
case TestPackage.ELEMENT__RETURN_TYPE:
setReturnType((String)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case TestPackage.ELEMENT__ELEMENT:
getElement().clear();
return;
case TestPackage.ELEMENT__ADDRESS:
setAddress(ADDRESS_EDEFAULT);
return;
case TestPackage.ELEMENT__ELEMENT_TYPE:
unsetElementType();
return;
case TestPackage.ELEMENT__GENERATED_BY:
unsetGeneratedBy();
return;
case TestPackage.ELEMENT__INFORMATIONAL:
unsetInformational();
return;
case TestPackage.ELEMENT__NAME:
setName(NAME_EDEFAULT);
return;
case TestPackage.ELEMENT__VALUE:
setValue(VALUE_EDEFAULT);
return;
case TestPackage.ELEMENT__RETURN_TYPE:
setReturnType(RETURN_TYPE_EDEFAULT);
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case TestPackage.ELEMENT__ELEMENT:
return element != null && !element.isEmpty();
case TestPackage.ELEMENT__ADDRESS:
return ADDRESS_EDEFAULT == null ? address != null : !ADDRESS_EDEFAULT.equals(address);
case TestPackage.ELEMENT__ELEMENT_TYPE:
return isSetElementType();
case TestPackage.ELEMENT__GENERATED_BY:
return isSetGeneratedBy();
case TestPackage.ELEMENT__INFORMATIONAL:
return isSetInformational();
case TestPackage.ELEMENT__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case TestPackage.ELEMENT__VALUE:
return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
case TestPackage.ELEMENT__RETURN_TYPE:
return RETURN_TYPE_EDEFAULT == null ? returnType != null : !RETURN_TYPE_EDEFAULT.equals(returnType);
}
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(" (address: ");
result.append(address);
result.append(", elementType: ");
if (elementTypeESet) result.append(elementType); else result.append("<unset>");
result.append(", generatedBy: ");
if (generatedByESet) result.append(generatedBy); else result.append("<unset>");
result.append(", informational: ");
if (informationalESet) result.append(informational); else result.append("<unset>");
result.append(", name: ");
result.append(name);
result.append(", value: ");
result.append(value);
result.append(", returnType: ");
result.append(returnType);
result.append(')');
return result.toString();
}
} // Element