/eclipse/plugins/org.switchyard.tools.models.switchyard1_0/src/org/switchyard/tools/models/switchyard1_0/switchyard/impl/DocumentRootImpl.java
https://github.com/rcernich/tools · Java · 1290 lines · 630 code · 97 blank · 563 comment · 32 complexity · 297fe953b35a47bf0e335f75e024be50 MD5 · raw file
- /**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
- package org.switchyard.tools.models.switchyard1_0.switchyard.impl;
- import org.eclipse.emf.common.notify.Notification;
- import org.eclipse.emf.common.notify.NotificationChain;
- import org.eclipse.emf.common.util.EMap;
- import org.eclipse.emf.ecore.EClass;
- import org.eclipse.emf.ecore.EStructuralFeature;
- import org.eclipse.emf.ecore.EcorePackage;
- 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.impl.EStringToStringMapEntryImpl;
- import org.eclipse.emf.ecore.util.BasicFeatureMap;
- import org.eclipse.emf.ecore.util.EcoreEMap;
- import org.eclipse.emf.ecore.util.FeatureMap;
- import org.eclipse.emf.ecore.util.InternalEList;
- import org.switchyard.tools.models.switchyard1_0.switchyard.ArtifactType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.ArtifactsType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.DocumentRoot;
- import org.switchyard.tools.models.switchyard1_0.switchyard.DomainType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.EsbInterface;
- import org.switchyard.tools.models.switchyard1_0.switchyard.JavaOperationSelectorType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.PropertiesType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.PropertyType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.RegexOperationSelectorType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.ResourceType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.SecuritiesType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.SecurityType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.StaticOperationSelectorType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.SwitchYardBindingType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.SwitchYardOperationSelectorType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.SwitchYardType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.SwitchyardPackage;
- import org.switchyard.tools.models.switchyard1_0.switchyard.ThrottlingType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.TransformType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.TransformsType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.ValidateType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.ValidatesType;
- import org.switchyard.tools.models.switchyard1_0.switchyard.XPathOperationSelectorType;
- /**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getArtifact <em>Artifact</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getArtifacts <em>Artifacts</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getBindingSwitchyard <em>Binding Switchyard</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getDomain <em>Domain</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getInterfaceEsb <em>Interface Esb</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getOperationSelector <em>Operation Selector</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getOperationSelectorSwitchyard <em>Operation Selector Switchyard</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getOperationSelectorJava <em>Operation Selector Java</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getOperationSelectorRegex <em>Operation Selector Regex</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getOperationSelectorXpath <em>Operation Selector Xpath</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getProperties <em>Properties</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getProperty <em>Property</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getResource <em>Resource</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getSecurities <em>Securities</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getSecurity <em>Security</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getSwitchyard <em>Switchyard</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getThrottling <em>Throttling</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getTransform <em>Transform</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getTransforms <em>Transforms</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getValidate <em>Validate</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getValidates <em>Validates</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#isClustered <em>Clustered</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getLoadBalance <em>Load Balance</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getSecurityAttr <em>Security Attr</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getTarget <em>Target</em>}</li>
- * <li>{@link org.switchyard.tools.models.switchyard1_0.switchyard.impl.DocumentRootImpl#getTargetNamespace <em>Target Namespace</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
- public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
- /**
- * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMixed()
- * @generated
- * @ordered
- */
- protected FeatureMap mixed;
- /**
- * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXMLNSPrefixMap()
- * @generated
- * @ordered
- */
- protected EMap<String, String> xMLNSPrefixMap;
- /**
- * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXSISchemaLocation()
- * @generated
- * @ordered
- */
- protected EMap<String, String> xSISchemaLocation;
- /**
- * The default value of the '{@link #isClustered() <em>Clustered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isClustered()
- * @generated
- * @ordered
- */
- protected static final boolean CLUSTERED_EDEFAULT = false;
- /**
- * The cached value of the '{@link #isClustered() <em>Clustered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isClustered()
- * @generated
- * @ordered
- */
- protected boolean clustered = CLUSTERED_EDEFAULT;
- /**
- * This is true if the Clustered attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean clusteredESet;
- /**
- * The default value of the '{@link #getLoadBalance() <em>Load Balance</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLoadBalance()
- * @generated
- * @ordered
- */
- protected static final String LOAD_BALANCE_EDEFAULT = null;
- /**
- * The cached value of the '{@link #getLoadBalance() <em>Load Balance</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLoadBalance()
- * @generated
- * @ordered
- */
- protected String loadBalance = LOAD_BALANCE_EDEFAULT;
- /**
- * The default value of the '{@link #getSecurityAttr() <em>Security Attr</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSecurityAttr()
- * @generated
- * @ordered
- */
- protected static final String SECURITY_ATTR_EDEFAULT = null;
- /**
- * The cached value of the '{@link #getSecurityAttr() <em>Security Attr</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSecurityAttr()
- * @generated
- * @ordered
- */
- protected String securityAttr = SECURITY_ATTR_EDEFAULT;
- /**
- * The default value of the '{@link #getTarget() <em>Target</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTarget()
- * @generated
- * @ordered
- */
- protected static final String TARGET_EDEFAULT = null;
- /**
- * The cached value of the '{@link #getTarget() <em>Target</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTarget()
- * @generated
- * @ordered
- */
- protected String target = TARGET_EDEFAULT;
- /**
- * The default value of the '{@link #getTargetNamespace() <em>Target Namespace</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTargetNamespace()
- * @generated
- * @ordered
- */
- protected static final String TARGET_NAMESPACE_EDEFAULT = null;
- /**
- * The cached value of the '{@link #getTargetNamespace() <em>Target Namespace</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTargetNamespace()
- * @generated
- * @ordered
- */
- protected String targetNamespace = TARGET_NAMESPACE_EDEFAULT;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DocumentRootImpl() {
- super();
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return SwitchyardPackage.Literals.DOCUMENT_ROOT;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getMixed() {
- if (mixed == null) {
- mixed = new BasicFeatureMap(this, SwitchyardPackage.DOCUMENT_ROOT__MIXED);
- }
- return mixed;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated NOT
- */
- @SuppressWarnings("serial")
- public EMap<String, String> getXMLNSPrefixMap() {
- if (xMLNSPrefixMap == null) {
- xMLNSPrefixMap = new EcoreEMap<String, String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
- EStringToStringMapEntryImpl.class, null) {
- {
- initializeDelegateEList();
- }
- @Override
- protected void initializeDelegateEList() {
- delegateEList = new DelegateEObjectContainmentEList<Entry<String, String>>(entryClass,
- DocumentRootImpl.this, SwitchyardPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP) {
- @Override
- protected void dispatchNotification(Notification notification) {
- }
- };
- }
- };
- }
- return xMLNSPrefixMap;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap<String, String> getXSISchemaLocation() {
- if (xSISchemaLocation == null) {
- xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, SwitchyardPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- }
- return xSISchemaLocation;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ArtifactType getArtifact() {
- return (ArtifactType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__ARTIFACT, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetArtifact(ArtifactType newArtifact, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__ARTIFACT, newArtifact, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setArtifact(ArtifactType newArtifact) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__ARTIFACT, newArtifact);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ArtifactsType getArtifacts() {
- return (ArtifactsType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__ARTIFACTS, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetArtifacts(ArtifactsType newArtifacts, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__ARTIFACTS, newArtifacts, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setArtifacts(ArtifactsType newArtifacts) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__ARTIFACTS, newArtifacts);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SwitchYardBindingType getBindingSwitchyard() {
- return (SwitchYardBindingType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__BINDING_SWITCHYARD, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetBindingSwitchyard(SwitchYardBindingType newBindingSwitchyard, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__BINDING_SWITCHYARD, newBindingSwitchyard, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DomainType getDomain() {
- return (DomainType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__DOMAIN, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDomain(DomainType newDomain, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__DOMAIN, newDomain, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDomain(DomainType newDomain) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__DOMAIN, newDomain);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EsbInterface getInterfaceEsb() {
- return (EsbInterface)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__INTERFACE_ESB, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetInterfaceEsb(EsbInterface newInterfaceEsb, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__INTERFACE_ESB, newInterfaceEsb, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setInterfaceEsb(EsbInterface newInterfaceEsb) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__INTERFACE_ESB, newInterfaceEsb);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public StaticOperationSelectorType getOperationSelector() {
- return (StaticOperationSelectorType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetOperationSelector(StaticOperationSelectorType newOperationSelector, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR, newOperationSelector, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOperationSelector(StaticOperationSelectorType newOperationSelector) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR, newOperationSelector);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PropertiesType getProperties() {
- return (PropertiesType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__PROPERTIES, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetProperties(PropertiesType newProperties, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__PROPERTIES, newProperties, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setProperties(PropertiesType newProperties) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__PROPERTIES, newProperties);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PropertyType getProperty() {
- return (PropertyType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__PROPERTY, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetProperty(PropertyType newProperty, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__PROPERTY, newProperty, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setProperty(PropertyType newProperty) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__PROPERTY, newProperty);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ResourceType getResource() {
- return (ResourceType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__RESOURCE, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetResource(ResourceType newResource, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__RESOURCE, newResource, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setResource(ResourceType newResource) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__RESOURCE, newResource);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SwitchYardType getSwitchyard() {
- return (SwitchYardType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__SWITCHYARD, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSwitchyard(SwitchYardType newSwitchyard, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__SWITCHYARD, newSwitchyard, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSwitchyard(SwitchYardType newSwitchyard) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__SWITCHYARD, newSwitchyard);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ThrottlingType getThrottling() {
- return (ThrottlingType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__THROTTLING, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetThrottling(ThrottlingType newThrottling, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__THROTTLING, newThrottling, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setThrottling(ThrottlingType newThrottling) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__THROTTLING, newThrottling);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TransformType getTransform() {
- return (TransformType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__TRANSFORM, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTransform(TransformType newTransform, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__TRANSFORM, newTransform, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TransformsType getTransforms() {
- return (TransformsType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__TRANSFORMS, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetTransforms(TransformsType newTransforms, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__TRANSFORMS, newTransforms, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTransforms(TransformsType newTransforms) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__TRANSFORMS, newTransforms);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ValidateType getValidate() {
- return (ValidateType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__VALIDATE, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetValidate(ValidateType newValidate, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__VALIDATE, newValidate, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ValidatesType getValidates() {
- return (ValidatesType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__VALIDATES, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetValidates(ValidatesType newValidates, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__VALIDATES, newValidates, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValidates(ValidatesType newValidates) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__VALIDATES, newValidates);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SwitchYardOperationSelectorType getOperationSelectorSwitchyard() {
- return (SwitchYardOperationSelectorType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_SWITCHYARD, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetOperationSelectorSwitchyard(SwitchYardOperationSelectorType newOperationSelectorSwitchyard, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_SWITCHYARD, newOperationSelectorSwitchyard, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JavaOperationSelectorType getOperationSelectorJava() {
- return (JavaOperationSelectorType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_JAVA, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetOperationSelectorJava(JavaOperationSelectorType newOperationSelectorJava, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_JAVA, newOperationSelectorJava, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOperationSelectorJava(JavaOperationSelectorType newOperationSelectorJava) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_JAVA, newOperationSelectorJava);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RegexOperationSelectorType getOperationSelectorRegex() {
- return (RegexOperationSelectorType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_REGEX, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetOperationSelectorRegex(RegexOperationSelectorType newOperationSelectorRegex, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_REGEX, newOperationSelectorRegex, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOperationSelectorRegex(RegexOperationSelectorType newOperationSelectorRegex) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_REGEX, newOperationSelectorRegex);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public XPathOperationSelectorType getOperationSelectorXpath() {
- return (XPathOperationSelectorType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_XPATH, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetOperationSelectorXpath(XPathOperationSelectorType newOperationSelectorXpath, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_XPATH, newOperationSelectorXpath, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOperationSelectorXpath(XPathOperationSelectorType newOperationSelectorXpath) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__OPERATION_SELECTOR_XPATH, newOperationSelectorXpath);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecurityType getSecurity() {
- return (SecurityType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__SECURITY, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSecurity(SecurityType newSecurity, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__SECURITY, newSecurity, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSecurity(SecurityType newSecurity) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__SECURITY, newSecurity);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTarget() {
- return target;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTarget(String newTarget) {
- String oldTarget = target;
- target = newTarget;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SwitchyardPackage.DOCUMENT_ROOT__TARGET, oldTarget, target));
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTargetNamespace() {
- return targetNamespace;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTargetNamespace(String newTargetNamespace) {
- String oldTargetNamespace = targetNamespace;
- targetNamespace = newTargetNamespace;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SwitchyardPackage.DOCUMENT_ROOT__TARGET_NAMESPACE, oldTargetNamespace, targetNamespace));
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isClustered() {
- return clustered;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setClustered(boolean newClustered) {
- boolean oldClustered = clustered;
- clustered = newClustered;
- boolean oldClusteredESet = clusteredESet;
- clusteredESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SwitchyardPackage.DOCUMENT_ROOT__CLUSTERED, oldClustered, clustered, !oldClusteredESet));
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetClustered() {
- boolean oldClustered = clustered;
- boolean oldClusteredESet = clusteredESet;
- clustered = CLUSTERED_EDEFAULT;
- clusteredESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, SwitchyardPackage.DOCUMENT_ROOT__CLUSTERED, oldClustered, CLUSTERED_EDEFAULT, oldClusteredESet));
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetClustered() {
- return clusteredESet;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLoadBalance() {
- return loadBalance;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLoadBalance(String newLoadBalance) {
- String oldLoadBalance = loadBalance;
- loadBalance = newLoadBalance;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SwitchyardPackage.DOCUMENT_ROOT__LOAD_BALANCE, oldLoadBalance, loadBalance));
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getSecurityAttr() {
- return securityAttr;
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSecurityAttr(String newSecurityAttr) {
- String oldSecurityAttr = securityAttr;
- securityAttr = newSecurityAttr;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SwitchyardPackage.DOCUMENT_ROOT__SECURITY_ATTR, oldSecurityAttr, securityAttr));
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecuritiesType getSecurities() {
- return (SecuritiesType)getMixed().get(SwitchyardPackage.Literals.DOCUMENT_ROOT__SECURITIES, true);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSecurities(SecuritiesType newSecurities, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(SwitchyardPackage.Literals.DOCUMENT_ROOT__SECURITIES, newSecurities, msgs);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSecurities(SecuritiesType newSecurities) {
- ((FeatureMap.Internal)getMixed()).set(SwitchyardPackage.Literals.DOCUMENT_ROOT__SECURITIES, newSecurities);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case SwitchyardPackage.DOCUMENT_ROOT__MIXED:
- return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACT:
- return basicSetArtifact(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACTS:
- return basicSetArtifacts(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__BINDING_SWITCHYARD:
- return basicSetBindingSwitchyard(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__DOMAIN:
- return basicSetDomain(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__INTERFACE_ESB:
- return basicSetInterfaceEsb(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR:
- return basicSetOperationSelector(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_SWITCHYARD:
- return basicSetOperationSelectorSwitchyard(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_JAVA:
- return basicSetOperationSelectorJava(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_REGEX:
- return basicSetOperationSelectorRegex(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_XPATH:
- return basicSetOperationSelectorXpath(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__PROPERTIES:
- return basicSetProperties(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__PROPERTY:
- return basicSetProperty(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__RESOURCE:
- return basicSetResource(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITIES:
- return basicSetSecurities(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITY:
- return basicSetSecurity(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__SWITCHYARD:
- return basicSetSwitchyard(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__THROTTLING:
- return basicSetThrottling(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__TRANSFORM:
- return basicSetTransform(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__TRANSFORMS:
- return basicSetTransforms(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__VALIDATE:
- return basicSetValidate(null, msgs);
- case SwitchyardPackage.DOCUMENT_ROOT__VALIDATES:
- return basicSetValidates(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 SwitchyardPackage.DOCUMENT_ROOT__MIXED:
- if (coreType) return getMixed();
- return ((FeatureMap.Internal)getMixed()).getWrapper();
- case SwitchyardPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- if (coreType) return getXMLNSPrefixMap();
- else return getXMLNSPrefixMap().map();
- case SwitchyardPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- if (coreType) return getXSISchemaLocation();
- else return getXSISchemaLocation().map();
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACT:
- return getArtifact();
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACTS:
- return getArtifacts();
- case SwitchyardPackage.DOCUMENT_ROOT__BINDING_SWITCHYARD:
- return getBindingSwitchyard();
- case SwitchyardPackage.DOCUMENT_ROOT__DOMAIN:
- return getDomain();
- case SwitchyardPackage.DOCUMENT_ROOT__INTERFACE_ESB:
- return getInterfaceEsb();
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR:
- return getOperationSelector();
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_SWITCHYARD:
- return getOperationSelectorSwitchyard();
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_JAVA:
- return getOperationSelectorJava();
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_REGEX:
- return getOperationSelectorRegex();
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_XPATH:
- return getOperationSelectorXpath();
- case SwitchyardPackage.DOCUMENT_ROOT__PROPERTIES:
- return getProperties();
- case SwitchyardPackage.DOCUMENT_ROOT__PROPERTY:
- return getProperty();
- case SwitchyardPackage.DOCUMENT_ROOT__RESOURCE:
- return getResource();
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITIES:
- return getSecurities();
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITY:
- return getSecurity();
- case SwitchyardPackage.DOCUMENT_ROOT__SWITCHYARD:
- return getSwitchyard();
- case SwitchyardPackage.DOCUMENT_ROOT__THROTTLING:
- return getThrottling();
- case SwitchyardPackage.DOCUMENT_ROOT__TRANSFORM:
- return getTransform();
- case SwitchyardPackage.DOCUMENT_ROOT__TRANSFORMS:
- return getTransforms();
- case SwitchyardPackage.DOCUMENT_ROOT__VALIDATE:
- return getValidate();
- case SwitchyardPackage.DOCUMENT_ROOT__VALIDATES:
- return getValidates();
- case SwitchyardPackage.DOCUMENT_ROOT__CLUSTERED:
- return isClustered();
- case SwitchyardPackage.DOCUMENT_ROOT__LOAD_BALANCE:
- return getLoadBalance();
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITY_ATTR:
- return getSecurityAttr();
- case SwitchyardPackage.DOCUMENT_ROOT__TARGET:
- return getTarget();
- case SwitchyardPackage.DOCUMENT_ROOT__TARGET_NAMESPACE:
- return getTargetNamespace();
- }
- return super.eGet(featureID, resolve, coreType);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case SwitchyardPackage.DOCUMENT_ROOT__MIXED:
- ((FeatureMap.Internal)getMixed()).set(newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACT:
- setArtifact((ArtifactType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACTS:
- setArtifacts((ArtifactsType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__DOMAIN:
- setDomain((DomainType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__INTERFACE_ESB:
- setInterfaceEsb((EsbInterface)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR:
- setOperationSelector((StaticOperationSelectorType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_JAVA:
- setOperationSelectorJava((JavaOperationSelectorType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_REGEX:
- setOperationSelectorRegex((RegexOperationSelectorType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_XPATH:
- setOperationSelectorXpath((XPathOperationSelectorType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__PROPERTIES:
- setProperties((PropertiesType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__PROPERTY:
- setProperty((PropertyType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__RESOURCE:
- setResource((ResourceType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITIES:
- setSecurities((SecuritiesType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITY:
- setSecurity((SecurityType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__SWITCHYARD:
- setSwitchyard((SwitchYardType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__THROTTLING:
- setThrottling((ThrottlingType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__TRANSFORMS:
- setTransforms((TransformsType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__VALIDATES:
- setValidates((ValidatesType)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__CLUSTERED:
- setClustered((Boolean)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__LOAD_BALANCE:
- setLoadBalance((String)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITY_ATTR:
- setSecurityAttr((String)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__TARGET:
- setTarget((String)newValue);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__TARGET_NAMESPACE:
- setTargetNamespace((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case SwitchyardPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACT:
- setArtifact((ArtifactType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACTS:
- setArtifacts((ArtifactsType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__DOMAIN:
- setDomain((DomainType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__INTERFACE_ESB:
- setInterfaceEsb((EsbInterface)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR:
- setOperationSelector((StaticOperationSelectorType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_JAVA:
- setOperationSelectorJava((JavaOperationSelectorType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_REGEX:
- setOperationSelectorRegex((RegexOperationSelectorType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__OPERATION_SELECTOR_XPATH:
- setOperationSelectorXpath((XPathOperationSelectorType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__PROPERTIES:
- setProperties((PropertiesType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__PROPERTY:
- setProperty((PropertyType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__RESOURCE:
- setResource((ResourceType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITIES:
- setSecurities((SecuritiesType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITY:
- setSecurity((SecurityType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__SWITCHYARD:
- setSwitchyard((SwitchYardType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__THROTTLING:
- setThrottling((ThrottlingType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__TRANSFORMS:
- setTransforms((TransformsType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__VALIDATES:
- setValidates((ValidatesType)null);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__CLUSTERED:
- unsetClustered();
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__LOAD_BALANCE:
- setLoadBalance(LOAD_BALANCE_EDEFAULT);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__SECURITY_ATTR:
- setSecurityAttr(SECURITY_ATTR_EDEFAULT);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__TARGET:
- setTarget(TARGET_EDEFAULT);
- return;
- case SwitchyardPackage.DOCUMENT_ROOT__TARGET_NAMESPACE:
- setTargetNamespace(TARGET_NAMESPACE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case SwitchyardPackage.DOCUMENT_ROOT__MIXED:
- return mixed != null && !mixed.isEmpty();
- case SwitchyardPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
- case SwitchyardPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACT:
- return getArtifact() != null;
- case SwitchyardPackage.DOCUMENT_ROOT__ARTIFACTS:
- return getArtifacts() != null;
- case SwitchyardPackage.DOCUMENT_ROOT__BINDING_SWITCHYARD:
- return getBindingSwitchyard() != null;
- case SwitchyardPackage.DOCUMENT_ROOT__DOMAIN:
- return getDomain() != null;
- case SwitchyardPackage.DOCUMENT_ROOT__INTERFACE_ESB:
- retur