/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case SchemaPackage.EXTENSION_TYPE__GROUP: setGroup((GroupRef) null); return; case SchemaPackage.EXTENSION_TYPE__ALL: setAll((All) null); return; case SchemaPackage.EXTENSION_TYPE__CHOICE: setChoice((ExplicitGroup) null); return; case SchemaPackage.EXTENSION_TYPE__SEQUENCE: setSequence((ExplicitGroup) null); return; case SchemaPackage.EXTENSION_TYPE__GROUP1: getGroup1().clear(); return; case SchemaPackage.EXTENSION_TYPE__ATTRIBUTE: getAttribute().clear(); return; case SchemaPackage.EXTENSION_TYPE__ATTRIBUTE_GROUP: getAttributeGroup().clear(); return; case SchemaPackage.EXTENSION_TYPE__ANY_ATTRIBUTE1: setAnyAttribute1((Wildcard) null); return; case SchemaPackage.EXTENSION_TYPE__BASE: setBase(BASE_EDEFAULT); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case XMLSchema11Package.RESTRICTION_TYPE__OPEN_CONTENT: setOpenContent((OpenContentType) null); return; case XMLSchema11Package.RESTRICTION_TYPE__GROUP: setGroup((GroupRef) null); return; case XMLSchema11Package.RESTRICTION_TYPE__ALL: setAll((All) null); return; case XMLSchema11Package.RESTRICTION_TYPE__CHOICE: setChoice((ExplicitGroup) null); return; case XMLSchema11Package.RESTRICTION_TYPE__SEQUENCE: setSequence((ExplicitGroup) null); return; case XMLSchema11Package.RESTRICTION_TYPE__SIMPLE_TYPE: setSimpleType((LocalSimpleType) null); return; case XMLSchema11Package.RESTRICTION_TYPE__GROUP1: getGroup1().clear(); return; case XMLSchema11Package.RESTRICTION_TYPE__FACET_GROUP: getFacetGroup().clear(); return; case XMLSchema11Package.RESTRICTION_TYPE__ANY: getAny().clear(); return; case XMLSchema11Package.RESTRICTION_TYPE__GROUP2: getGroup2().clear(); return; case XMLSchema11Package.RESTRICTION_TYPE__ATTRIBUTE: getAttribute().clear(); return; case XMLSchema11Package.RESTRICTION_TYPE__ATTRIBUTE_GROUP: getAttributeGroup().clear(); return; case XMLSchema11Package.RESTRICTION_TYPE__ANY_ATTRIBUTE1: setAnyAttribute1((AnyAttributeType) null); return; case XMLSchema11Package.RESTRICTION_TYPE__ASSERT: getAssert().clear(); return; case XMLSchema11Package.RESTRICTION_TYPE__BASE: setBase(BASE_EDEFAULT); return; } super.eUnset(featureID); }