All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.xsd.impl.XSDRedefinableComponentImpl Maven / Gradle / Ivy

/**
 * Copyright (c) 2002-2006 IBM Corporation and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v20.html
 * 
 * Contributors: 
 *   IBM - Initial API and implementation
 */
package org.eclipse.xsd.impl;


import org.eclipse.emf.ecore.EClass;
import org.eclipse.xsd.XSDPackage;
import org.eclipse.xsd.XSDRedefinableComponent;


/**
 * 
 * An implementation of the model object 'Redefinable Component'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.eclipse.xsd.impl.XSDRedefinableComponentImpl#isCircular Circular}
  • *
* * @generated */ public abstract class XSDRedefinableComponentImpl extends XSDNamedComponentImpl implements XSDRedefinableComponent { /** * The default value of the '{@link #isCircular() Circular}' attribute. * * * @see #isCircular() * @generated * @ordered */ protected static final boolean CIRCULAR_EDEFAULT = false; /** * * * @generated */ protected XSDRedefinableComponentImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return XSDPackage.Literals.XSD_REDEFINABLE_COMPONENT; } /** * * * @generated modifiable */ public Boolean getCircular() { return isCircular() ? Boolean.TRUE : Boolean.FALSE; } /** * * * @generated modifiable */ public boolean isCircular() { return false; } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case XSDPackage.XSD_REDEFINABLE_COMPONENT__CIRCULAR: return isCircular(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case XSDPackage.XSD_REDEFINABLE_COMPONENT__CIRCULAR: return isCircular() != CIRCULAR_EDEFAULT; } return super.eIsSet(featureID); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy