You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2009/06/18 22:39:53 UTC
svn commit: r786255 [7/13] - in
/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor: ./ src/
src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/
src/main/java/org/apache/uima/ src/main/java/org/apache/uima/tools/
src/main/java/...
Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/FeatureObjectMatcherXMLImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/FeatureObjectMatcherXMLImpl.java?rev=786255&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/FeatureObjectMatcherXMLImpl.java (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/FeatureObjectMatcherXMLImpl.java Thu Jun 18 20:39:50 2009
@@ -0,0 +1,768 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.uima.tools.cfe.config.impl;
+
+import org.apache.uima.tools.cfe.config.ConfigPackage;
+import org.apache.uima.tools.cfe.config.FeatureObjectMatcherXML;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Feature Object Matcher XML</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.FeatureObjectMatcherXMLImpl#isDistance <em>Distance</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.FeatureObjectMatcherXMLImpl#isOrientation <em>Orientation</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.FeatureObjectMatcherXMLImpl#getWindowFlags <em>Window Flags</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.FeatureObjectMatcherXMLImpl#getWindowsizeEnclosed <em>Windowsize Enclosed</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.FeatureObjectMatcherXMLImpl#getWindowsizeInside <em>Windowsize Inside</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.FeatureObjectMatcherXMLImpl#getWindowsizeLeft <em>Windowsize Left</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.FeatureObjectMatcherXMLImpl#getWindowsizeRight <em>Windowsize Right</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FeatureObjectMatcherXMLImpl extends PartialObjectMatcherXMLImpl implements FeatureObjectMatcherXML
+{
+ /**
+ * The default value of the '{@link #isDistance() <em>Distance</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDistance()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean DISTANCE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isDistance() <em>Distance</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDistance()
+ * @generated
+ * @ordered
+ */
+ protected boolean distance = DISTANCE_EDEFAULT;
+
+ /**
+ * This is true if the Distance attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean distanceESet;
+
+ /**
+ * The default value of the '{@link #isOrientation() <em>Orientation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isOrientation()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean ORIENTATION_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isOrientation() <em>Orientation</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isOrientation()
+ * @generated
+ * @ordered
+ */
+ protected boolean orientation = ORIENTATION_EDEFAULT;
+
+ /**
+ * This is true if the Orientation attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean orientationESet;
+
+ /**
+ * The default value of the '{@link #getWindowFlags() <em>Window Flags</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowFlags()
+ * @generated
+ * @ordered
+ */
+ protected static final int WINDOW_FLAGS_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getWindowFlags() <em>Window Flags</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowFlags()
+ * @generated
+ * @ordered
+ */
+ protected int windowFlags = WINDOW_FLAGS_EDEFAULT;
+
+ /**
+ * This is true if the Window Flags attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean windowFlagsESet;
+
+ /**
+ * The default value of the '{@link #getWindowsizeEnclosed() <em>Windowsize Enclosed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowsizeEnclosed()
+ * @generated
+ * @ordered
+ */
+ protected static final int WINDOWSIZE_ENCLOSED_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getWindowsizeEnclosed() <em>Windowsize Enclosed</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowsizeEnclosed()
+ * @generated
+ * @ordered
+ */
+ protected int windowsizeEnclosed = WINDOWSIZE_ENCLOSED_EDEFAULT;
+
+ /**
+ * This is true if the Windowsize Enclosed attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean windowsizeEnclosedESet;
+
+ /**
+ * The default value of the '{@link #getWindowsizeInside() <em>Windowsize Inside</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowsizeInside()
+ * @generated
+ * @ordered
+ */
+ protected static final int WINDOWSIZE_INSIDE_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getWindowsizeInside() <em>Windowsize Inside</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowsizeInside()
+ * @generated
+ * @ordered
+ */
+ protected int windowsizeInside = WINDOWSIZE_INSIDE_EDEFAULT;
+
+ /**
+ * This is true if the Windowsize Inside attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean windowsizeInsideESet;
+
+ /**
+ * The default value of the '{@link #getWindowsizeLeft() <em>Windowsize Left</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowsizeLeft()
+ * @generated
+ * @ordered
+ */
+ protected static final int WINDOWSIZE_LEFT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getWindowsizeLeft() <em>Windowsize Left</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowsizeLeft()
+ * @generated
+ * @ordered
+ */
+ protected int windowsizeLeft = WINDOWSIZE_LEFT_EDEFAULT;
+
+ /**
+ * This is true if the Windowsize Left attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean windowsizeLeftESet;
+
+ /**
+ * The default value of the '{@link #getWindowsizeRight() <em>Windowsize Right</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowsizeRight()
+ * @generated
+ * @ordered
+ */
+ protected static final int WINDOWSIZE_RIGHT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getWindowsizeRight() <em>Windowsize Right</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWindowsizeRight()
+ * @generated
+ * @ordered
+ */
+ protected int windowsizeRight = WINDOWSIZE_RIGHT_EDEFAULT;
+
+ /**
+ * This is true if the Windowsize Right attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean windowsizeRightESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FeatureObjectMatcherXMLImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.FEATURE_OBJECT_MATCHER_XML;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isDistance()
+ {
+ return distance;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDistance(boolean newDistance)
+ {
+ boolean oldDistance = distance;
+ distance = newDistance;
+ boolean oldDistanceESet = distanceESet;
+ distanceESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__DISTANCE, oldDistance, distance, !oldDistanceESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetDistance()
+ {
+ boolean oldDistance = distance;
+ boolean oldDistanceESet = distanceESet;
+ distance = DISTANCE_EDEFAULT;
+ distanceESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__DISTANCE, oldDistance, DISTANCE_EDEFAULT, oldDistanceESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetDistance()
+ {
+ return distanceESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isOrientation()
+ {
+ return orientation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOrientation(boolean newOrientation)
+ {
+ boolean oldOrientation = orientation;
+ orientation = newOrientation;
+ boolean oldOrientationESet = orientationESet;
+ orientationESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__ORIENTATION, oldOrientation, orientation, !oldOrientationESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetOrientation()
+ {
+ boolean oldOrientation = orientation;
+ boolean oldOrientationESet = orientationESet;
+ orientation = ORIENTATION_EDEFAULT;
+ orientationESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__ORIENTATION, oldOrientation, ORIENTATION_EDEFAULT, oldOrientationESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetOrientation()
+ {
+ return orientationESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getWindowFlags()
+ {
+ return windowFlags;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWindowFlags(int newWindowFlags)
+ {
+ int oldWindowFlags = windowFlags;
+ windowFlags = newWindowFlags;
+ boolean oldWindowFlagsESet = windowFlagsESet;
+ windowFlagsESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOW_FLAGS, oldWindowFlags, windowFlags, !oldWindowFlagsESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetWindowFlags()
+ {
+ int oldWindowFlags = windowFlags;
+ boolean oldWindowFlagsESet = windowFlagsESet;
+ windowFlags = WINDOW_FLAGS_EDEFAULT;
+ windowFlagsESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOW_FLAGS, oldWindowFlags, WINDOW_FLAGS_EDEFAULT, oldWindowFlagsESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetWindowFlags()
+ {
+ return windowFlagsESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getWindowsizeEnclosed()
+ {
+ return windowsizeEnclosed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWindowsizeEnclosed(int newWindowsizeEnclosed)
+ {
+ int oldWindowsizeEnclosed = windowsizeEnclosed;
+ windowsizeEnclosed = newWindowsizeEnclosed;
+ boolean oldWindowsizeEnclosedESet = windowsizeEnclosedESet;
+ windowsizeEnclosedESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_ENCLOSED, oldWindowsizeEnclosed, windowsizeEnclosed, !oldWindowsizeEnclosedESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetWindowsizeEnclosed()
+ {
+ int oldWindowsizeEnclosed = windowsizeEnclosed;
+ boolean oldWindowsizeEnclosedESet = windowsizeEnclosedESet;
+ windowsizeEnclosed = WINDOWSIZE_ENCLOSED_EDEFAULT;
+ windowsizeEnclosedESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_ENCLOSED, oldWindowsizeEnclosed, WINDOWSIZE_ENCLOSED_EDEFAULT, oldWindowsizeEnclosedESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetWindowsizeEnclosed()
+ {
+ return windowsizeEnclosedESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getWindowsizeInside()
+ {
+ return windowsizeInside;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWindowsizeInside(int newWindowsizeInside)
+ {
+ int oldWindowsizeInside = windowsizeInside;
+ windowsizeInside = newWindowsizeInside;
+ boolean oldWindowsizeInsideESet = windowsizeInsideESet;
+ windowsizeInsideESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_INSIDE, oldWindowsizeInside, windowsizeInside, !oldWindowsizeInsideESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetWindowsizeInside()
+ {
+ int oldWindowsizeInside = windowsizeInside;
+ boolean oldWindowsizeInsideESet = windowsizeInsideESet;
+ windowsizeInside = WINDOWSIZE_INSIDE_EDEFAULT;
+ windowsizeInsideESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_INSIDE, oldWindowsizeInside, WINDOWSIZE_INSIDE_EDEFAULT, oldWindowsizeInsideESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetWindowsizeInside()
+ {
+ return windowsizeInsideESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getWindowsizeLeft()
+ {
+ return windowsizeLeft;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWindowsizeLeft(int newWindowsizeLeft)
+ {
+ int oldWindowsizeLeft = windowsizeLeft;
+ windowsizeLeft = newWindowsizeLeft;
+ boolean oldWindowsizeLeftESet = windowsizeLeftESet;
+ windowsizeLeftESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_LEFT, oldWindowsizeLeft, windowsizeLeft, !oldWindowsizeLeftESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetWindowsizeLeft()
+ {
+ int oldWindowsizeLeft = windowsizeLeft;
+ boolean oldWindowsizeLeftESet = windowsizeLeftESet;
+ windowsizeLeft = WINDOWSIZE_LEFT_EDEFAULT;
+ windowsizeLeftESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_LEFT, oldWindowsizeLeft, WINDOWSIZE_LEFT_EDEFAULT, oldWindowsizeLeftESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetWindowsizeLeft()
+ {
+ return windowsizeLeftESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getWindowsizeRight()
+ {
+ return windowsizeRight;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWindowsizeRight(int newWindowsizeRight)
+ {
+ int oldWindowsizeRight = windowsizeRight;
+ windowsizeRight = newWindowsizeRight;
+ boolean oldWindowsizeRightESet = windowsizeRightESet;
+ windowsizeRightESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_RIGHT, oldWindowsizeRight, windowsizeRight, !oldWindowsizeRightESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetWindowsizeRight()
+ {
+ int oldWindowsizeRight = windowsizeRight;
+ boolean oldWindowsizeRightESet = windowsizeRightESet;
+ windowsizeRight = WINDOWSIZE_RIGHT_EDEFAULT;
+ windowsizeRightESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_RIGHT, oldWindowsizeRight, WINDOWSIZE_RIGHT_EDEFAULT, oldWindowsizeRightESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetWindowsizeRight()
+ {
+ return windowsizeRightESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__DISTANCE:
+ return isDistance() ? Boolean.TRUE : Boolean.FALSE;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__ORIENTATION:
+ return isOrientation() ? Boolean.TRUE : Boolean.FALSE;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOW_FLAGS:
+ return new Integer(getWindowFlags());
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_ENCLOSED:
+ return new Integer(getWindowsizeEnclosed());
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_INSIDE:
+ return new Integer(getWindowsizeInside());
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_LEFT:
+ return new Integer(getWindowsizeLeft());
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_RIGHT:
+ return new Integer(getWindowsizeRight());
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__DISTANCE:
+ setDistance(((Boolean)newValue).booleanValue());
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__ORIENTATION:
+ setOrientation(((Boolean)newValue).booleanValue());
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOW_FLAGS:
+ setWindowFlags(((Integer)newValue).intValue());
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_ENCLOSED:
+ setWindowsizeEnclosed(((Integer)newValue).intValue());
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_INSIDE:
+ setWindowsizeInside(((Integer)newValue).intValue());
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_LEFT:
+ setWindowsizeLeft(((Integer)newValue).intValue());
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_RIGHT:
+ setWindowsizeRight(((Integer)newValue).intValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__DISTANCE:
+ unsetDistance();
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__ORIENTATION:
+ unsetOrientation();
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOW_FLAGS:
+ unsetWindowFlags();
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_ENCLOSED:
+ unsetWindowsizeEnclosed();
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_INSIDE:
+ unsetWindowsizeInside();
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_LEFT:
+ unsetWindowsizeLeft();
+ return;
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_RIGHT:
+ unsetWindowsizeRight();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__DISTANCE:
+ return isSetDistance();
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__ORIENTATION:
+ return isSetOrientation();
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOW_FLAGS:
+ return isSetWindowFlags();
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_ENCLOSED:
+ return isSetWindowsizeEnclosed();
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_INSIDE:
+ return isSetWindowsizeInside();
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_LEFT:
+ return isSetWindowsizeLeft();
+ case ConfigPackage.FEATURE_OBJECT_MATCHER_XML__WINDOWSIZE_RIGHT:
+ return isSetWindowsizeRight();
+ }
+ 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(" (distance: ");
+ if (distanceESet) result.append(distance); else result.append("<unset>");
+ result.append(", orientation: ");
+ if (orientationESet) result.append(orientation); else result.append("<unset>");
+ result.append(", windowFlags: ");
+ if (windowFlagsESet) result.append(windowFlags); else result.append("<unset>");
+ result.append(", windowsizeEnclosed: ");
+ if (windowsizeEnclosedESet) result.append(windowsizeEnclosed); else result.append("<unset>");
+ result.append(", windowsizeInside: ");
+ if (windowsizeInsideESet) result.append(windowsizeInside); else result.append("<unset>");
+ result.append(", windowsizeLeft: ");
+ if (windowsizeLeftESet) result.append(windowsizeLeft); else result.append("<unset>");
+ result.append(", windowsizeRight: ");
+ if (windowsizeRightESet) result.append(windowsizeRight); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //FeatureObjectMatcherXMLImpl
\ No newline at end of file
Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/GroupFeatureMatcherXMLImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/GroupFeatureMatcherXMLImpl.java?rev=786255&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/GroupFeatureMatcherXMLImpl.java (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/GroupFeatureMatcherXMLImpl.java Thu Jun 18 20:39:50 2009
@@ -0,0 +1,283 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.uima.tools.cfe.config.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.uima.tools.cfe.config.ConfigPackage;
+import org.apache.uima.tools.cfe.config.GroupFeatureMatcherXML;
+import org.apache.uima.tools.cfe.config.SingleFeatureMatcherXML;
+
+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.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Group Feature Matcher XML</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.GroupFeatureMatcherXMLImpl#getFeatureMatchers <em>Feature Matchers</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.GroupFeatureMatcherXMLImpl#isExclude <em>Exclude</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GroupFeatureMatcherXMLImpl extends EObjectImpl implements GroupFeatureMatcherXML
+{
+ /**
+ * The cached value of the '{@link #getFeatureMatchers() <em>Feature Matchers</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFeatureMatchers()
+ * @generated
+ * @ordered
+ */
+ protected EList<SingleFeatureMatcherXML> featureMatchers;
+
+ /**
+ * The default value of the '{@link #isExclude() <em>Exclude</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isExclude()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean EXCLUDE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isExclude() <em>Exclude</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isExclude()
+ * @generated
+ * @ordered
+ */
+ protected boolean exclude = EXCLUDE_EDEFAULT;
+
+ /**
+ * This is true if the Exclude attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean excludeESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GroupFeatureMatcherXMLImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.GROUP_FEATURE_MATCHER_XML;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<SingleFeatureMatcherXML> getFeatureMatchers()
+ {
+ if (featureMatchers == null)
+ {
+ featureMatchers = new EObjectContainmentEList<SingleFeatureMatcherXML>(SingleFeatureMatcherXML.class, this, ConfigPackage.GROUP_FEATURE_MATCHER_XML__FEATURE_MATCHERS);
+ }
+ return featureMatchers;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isExclude()
+ {
+ return exclude;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExclude(boolean newExclude)
+ {
+ boolean oldExclude = exclude;
+ exclude = newExclude;
+ boolean oldExcludeESet = excludeESet;
+ excludeESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.GROUP_FEATURE_MATCHER_XML__EXCLUDE, oldExclude, exclude, !oldExcludeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetExclude()
+ {
+ boolean oldExclude = exclude;
+ boolean oldExcludeESet = excludeESet;
+ exclude = EXCLUDE_EDEFAULT;
+ excludeESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.GROUP_FEATURE_MATCHER_XML__EXCLUDE, oldExclude, EXCLUDE_EDEFAULT, oldExcludeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetExclude()
+ {
+ return excludeESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.GROUP_FEATURE_MATCHER_XML__FEATURE_MATCHERS:
+ return ((InternalEList<?>)getFeatureMatchers()).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 ConfigPackage.GROUP_FEATURE_MATCHER_XML__FEATURE_MATCHERS:
+ return getFeatureMatchers();
+ case ConfigPackage.GROUP_FEATURE_MATCHER_XML__EXCLUDE:
+ return isExclude() ? Boolean.TRUE : Boolean.FALSE;
+ }
+ 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 ConfigPackage.GROUP_FEATURE_MATCHER_XML__FEATURE_MATCHERS:
+ getFeatureMatchers().clear();
+ getFeatureMatchers().addAll((Collection<? extends SingleFeatureMatcherXML>)newValue);
+ return;
+ case ConfigPackage.GROUP_FEATURE_MATCHER_XML__EXCLUDE:
+ setExclude(((Boolean)newValue).booleanValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.GROUP_FEATURE_MATCHER_XML__FEATURE_MATCHERS:
+ getFeatureMatchers().clear();
+ return;
+ case ConfigPackage.GROUP_FEATURE_MATCHER_XML__EXCLUDE:
+ unsetExclude();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.GROUP_FEATURE_MATCHER_XML__FEATURE_MATCHERS:
+ return featureMatchers != null && !featureMatchers.isEmpty();
+ case ConfigPackage.GROUP_FEATURE_MATCHER_XML__EXCLUDE:
+ return isSetExclude();
+ }
+ 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(" (exclude: ");
+ if (excludeESet) result.append(exclude); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //GroupFeatureMatcherXMLImpl
\ No newline at end of file
Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/ObjectPathFeatureValuesXMLImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/ObjectPathFeatureValuesXMLImpl.java?rev=786255&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/ObjectPathFeatureValuesXMLImpl.java (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/ObjectPathFeatureValuesXMLImpl.java Thu Jun 18 20:39:50 2009
@@ -0,0 +1,183 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.uima.tools.cfe.config.impl;
+
+import org.apache.uima.tools.cfe.config.ConfigPackage;
+import org.apache.uima.tools.cfe.config.ObjectPathFeatureValuesXML;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Object Path Feature Values XML</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.ObjectPathFeatureValuesXMLImpl#getObjectPath <em>Object Path</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ObjectPathFeatureValuesXMLImpl extends EObjectImpl implements ObjectPathFeatureValuesXML
+{
+ /**
+ * The default value of the '{@link #getObjectPath() <em>Object Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getObjectPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String OBJECT_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getObjectPath() <em>Object Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getObjectPath()
+ * @generated
+ * @ordered
+ */
+ protected String objectPath = OBJECT_PATH_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ObjectPathFeatureValuesXMLImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.OBJECT_PATH_FEATURE_VALUES_XML;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getObjectPath()
+ {
+ return objectPath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setObjectPath(String newObjectPath)
+ {
+ String oldObjectPath = objectPath;
+ objectPath = newObjectPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.OBJECT_PATH_FEATURE_VALUES_XML__OBJECT_PATH, oldObjectPath, objectPath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.OBJECT_PATH_FEATURE_VALUES_XML__OBJECT_PATH:
+ return getObjectPath();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.OBJECT_PATH_FEATURE_VALUES_XML__OBJECT_PATH:
+ setObjectPath((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.OBJECT_PATH_FEATURE_VALUES_XML__OBJECT_PATH:
+ setObjectPath(OBJECT_PATH_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.OBJECT_PATH_FEATURE_VALUES_XML__OBJECT_PATH:
+ return OBJECT_PATH_EDEFAULT == null ? objectPath != null : !OBJECT_PATH_EDEFAULT.equals(objectPath);
+ }
+ 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(" (objectPath: ");
+ result.append(objectPath);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ObjectPathFeatureValuesXMLImpl
\ No newline at end of file
Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/PartialObjectMatcherXMLImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/PartialObjectMatcherXMLImpl.java?rev=786255&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/PartialObjectMatcherXMLImpl.java (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/PartialObjectMatcherXMLImpl.java Thu Jun 18 20:39:50 2009
@@ -0,0 +1,303 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.uima.tools.cfe.config.impl;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.uima.tools.cfe.config.ConfigPackage;
+import org.apache.uima.tools.cfe.config.GroupFeatureMatcherXML;
+import org.apache.uima.tools.cfe.config.PartialObjectMatcherXML;
+
+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.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Partial Object Matcher XML</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.PartialObjectMatcherXMLImpl#getGroupFeatureMatchers <em>Group Feature Matchers</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.PartialObjectMatcherXMLImpl#getAnnotationTypeName <em>Annotation Type Name</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.PartialObjectMatcherXMLImpl#getFullPath <em>Full Path</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PartialObjectMatcherXMLImpl extends EObjectImpl implements PartialObjectMatcherXML
+{
+ /**
+ * The cached value of the '{@link #getGroupFeatureMatchers() <em>Group Feature Matchers</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroupFeatureMatchers()
+ * @generated
+ * @ordered
+ */
+ protected EList<GroupFeatureMatcherXML> groupFeatureMatchers;
+
+ /**
+ * The default value of the '{@link #getAnnotationTypeName() <em>Annotation Type Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnnotationTypeName()
+ * @generated
+ * @ordered
+ */
+ protected static final String ANNOTATION_TYPE_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAnnotationTypeName() <em>Annotation Type Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAnnotationTypeName()
+ * @generated
+ * @ordered
+ */
+ protected String annotationTypeName = ANNOTATION_TYPE_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getFullPath() <em>Full Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFullPath()
+ * @generated
+ * @ordered
+ */
+ protected static final String FULL_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFullPath() <em>Full Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFullPath()
+ * @generated
+ * @ordered
+ */
+ protected String fullPath = FULL_PATH_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PartialObjectMatcherXMLImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.PARTIAL_OBJECT_MATCHER_XML;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<GroupFeatureMatcherXML> getGroupFeatureMatchers()
+ {
+ if (groupFeatureMatchers == null)
+ {
+ groupFeatureMatchers = new EObjectContainmentEList<GroupFeatureMatcherXML>(GroupFeatureMatcherXML.class, this, ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__GROUP_FEATURE_MATCHERS);
+ }
+ return groupFeatureMatchers;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getAnnotationTypeName()
+ {
+ return annotationTypeName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAnnotationTypeName(String newAnnotationTypeName)
+ {
+ String oldAnnotationTypeName = annotationTypeName;
+ annotationTypeName = newAnnotationTypeName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__ANNOTATION_TYPE_NAME, oldAnnotationTypeName, annotationTypeName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getFullPath()
+ {
+ return fullPath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFullPath(String newFullPath)
+ {
+ String oldFullPath = fullPath;
+ fullPath = newFullPath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__FULL_PATH, oldFullPath, fullPath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__GROUP_FEATURE_MATCHERS:
+ return ((InternalEList<?>)getGroupFeatureMatchers()).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 ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__GROUP_FEATURE_MATCHERS:
+ return getGroupFeatureMatchers();
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__ANNOTATION_TYPE_NAME:
+ return getAnnotationTypeName();
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__FULL_PATH:
+ return getFullPath();
+ }
+ 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 ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__GROUP_FEATURE_MATCHERS:
+ getGroupFeatureMatchers().clear();
+ getGroupFeatureMatchers().addAll((Collection<? extends GroupFeatureMatcherXML>)newValue);
+ return;
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__ANNOTATION_TYPE_NAME:
+ setAnnotationTypeName((String)newValue);
+ return;
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__FULL_PATH:
+ setFullPath((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__GROUP_FEATURE_MATCHERS:
+ getGroupFeatureMatchers().clear();
+ return;
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__ANNOTATION_TYPE_NAME:
+ setAnnotationTypeName(ANNOTATION_TYPE_NAME_EDEFAULT);
+ return;
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__FULL_PATH:
+ setFullPath(FULL_PATH_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__GROUP_FEATURE_MATCHERS:
+ return groupFeatureMatchers != null && !groupFeatureMatchers.isEmpty();
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__ANNOTATION_TYPE_NAME:
+ return ANNOTATION_TYPE_NAME_EDEFAULT == null ? annotationTypeName != null : !ANNOTATION_TYPE_NAME_EDEFAULT.equals(annotationTypeName);
+ case ConfigPackage.PARTIAL_OBJECT_MATCHER_XML__FULL_PATH:
+ return FULL_PATH_EDEFAULT == null ? fullPath != null : !FULL_PATH_EDEFAULT.equals(fullPath);
+ }
+ 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(" (annotationTypeName: ");
+ result.append(annotationTypeName);
+ result.append(", fullPath: ");
+ result.append(fullPath);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PartialObjectMatcherXMLImpl
\ No newline at end of file
Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/PatternFeatureValuesXMLImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/PatternFeatureValuesXMLImpl.java?rev=786255&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/PatternFeatureValuesXMLImpl.java (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/PatternFeatureValuesXMLImpl.java Thu Jun 18 20:39:50 2009
@@ -0,0 +1,183 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.uima.tools.cfe.config.impl;
+
+import org.apache.uima.tools.cfe.config.ConfigPackage;
+import org.apache.uima.tools.cfe.config.PatternFeatureValuesXML;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Pattern Feature Values XML</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.PatternFeatureValuesXMLImpl#getPattern <em>Pattern</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PatternFeatureValuesXMLImpl extends EObjectImpl implements PatternFeatureValuesXML
+{
+ /**
+ * The default value of the '{@link #getPattern() <em>Pattern</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPattern()
+ * @generated
+ * @ordered
+ */
+ protected static final String PATTERN_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPattern() <em>Pattern</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPattern()
+ * @generated
+ * @ordered
+ */
+ protected String pattern = PATTERN_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PatternFeatureValuesXMLImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.PATTERN_FEATURE_VALUES_XML;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPattern()
+ {
+ return pattern;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPattern(String newPattern)
+ {
+ String oldPattern = pattern;
+ pattern = newPattern;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.PATTERN_FEATURE_VALUES_XML__PATTERN, oldPattern, pattern));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PATTERN_FEATURE_VALUES_XML__PATTERN:
+ return getPattern();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PATTERN_FEATURE_VALUES_XML__PATTERN:
+ setPattern((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PATTERN_FEATURE_VALUES_XML__PATTERN:
+ setPattern(PATTERN_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PATTERN_FEATURE_VALUES_XML__PATTERN:
+ return PATTERN_EDEFAULT == null ? pattern != null : !PATTERN_EDEFAULT.equals(pattern);
+ }
+ 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(" (pattern: ");
+ result.append(pattern);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PatternFeatureValuesXMLImpl
\ No newline at end of file
Added: incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/RangeFeatureValuesXMLImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/RangeFeatureValuesXMLImpl.java?rev=786255&view=auto
==============================================================================
--- incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/RangeFeatureValuesXMLImpl.java (added)
+++ incubator/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/config/impl/RangeFeatureValuesXMLImpl.java Thu Jun 18 20:39:50 2009
@@ -0,0 +1,423 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.uima.tools.cfe.config.impl;
+
+import org.apache.uima.tools.cfe.config.ConfigPackage;
+import org.apache.uima.tools.cfe.config.RangeFeatureValuesXML;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Range Feature Values XML</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.RangeFeatureValuesXMLImpl#getLowerBoundary <em>Lower Boundary</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.RangeFeatureValuesXMLImpl#isLowerBoundaryInclusive <em>Lower Boundary Inclusive</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.RangeFeatureValuesXMLImpl#getUpperBoundary <em>Upper Boundary</em>}</li>
+ * <li>{@link org.apache.uima.tools.cfe.config.impl.RangeFeatureValuesXMLImpl#isUpperBoundaryInclusive <em>Upper Boundary Inclusive</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class RangeFeatureValuesXMLImpl extends EObjectImpl implements RangeFeatureValuesXML
+{
+ /**
+ * The default value of the '{@link #getLowerBoundary() <em>Lower Boundary</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLowerBoundary()
+ * @generated
+ * @ordered
+ */
+ protected static final Object LOWER_BOUNDARY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getLowerBoundary() <em>Lower Boundary</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLowerBoundary()
+ * @generated
+ * @ordered
+ */
+ protected Object lowerBoundary = LOWER_BOUNDARY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isLowerBoundaryInclusive() <em>Lower Boundary Inclusive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isLowerBoundaryInclusive()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean LOWER_BOUNDARY_INCLUSIVE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isLowerBoundaryInclusive() <em>Lower Boundary Inclusive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isLowerBoundaryInclusive()
+ * @generated
+ * @ordered
+ */
+ protected boolean lowerBoundaryInclusive = LOWER_BOUNDARY_INCLUSIVE_EDEFAULT;
+
+ /**
+ * This is true if the Lower Boundary Inclusive attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean lowerBoundaryInclusiveESet;
+
+ /**
+ * The default value of the '{@link #getUpperBoundary() <em>Upper Boundary</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUpperBoundary()
+ * @generated
+ * @ordered
+ */
+ protected static final Object UPPER_BOUNDARY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUpperBoundary() <em>Upper Boundary</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUpperBoundary()
+ * @generated
+ * @ordered
+ */
+ protected Object upperBoundary = UPPER_BOUNDARY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isUpperBoundaryInclusive() <em>Upper Boundary Inclusive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isUpperBoundaryInclusive()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean UPPER_BOUNDARY_INCLUSIVE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isUpperBoundaryInclusive() <em>Upper Boundary Inclusive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isUpperBoundaryInclusive()
+ * @generated
+ * @ordered
+ */
+ protected boolean upperBoundaryInclusive = UPPER_BOUNDARY_INCLUSIVE_EDEFAULT;
+
+ /**
+ * This is true if the Upper Boundary Inclusive attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean upperBoundaryInclusiveESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected RangeFeatureValuesXMLImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.RANGE_FEATURE_VALUES_XML;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getLowerBoundary()
+ {
+ return lowerBoundary;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLowerBoundary(Object newLowerBoundary)
+ {
+ Object oldLowerBoundary = lowerBoundary;
+ lowerBoundary = newLowerBoundary;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY, oldLowerBoundary, lowerBoundary));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isLowerBoundaryInclusive()
+ {
+ return lowerBoundaryInclusive;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setLowerBoundaryInclusive(boolean newLowerBoundaryInclusive)
+ {
+ boolean oldLowerBoundaryInclusive = lowerBoundaryInclusive;
+ lowerBoundaryInclusive = newLowerBoundaryInclusive;
+ boolean oldLowerBoundaryInclusiveESet = lowerBoundaryInclusiveESet;
+ lowerBoundaryInclusiveESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY_INCLUSIVE, oldLowerBoundaryInclusive, lowerBoundaryInclusive, !oldLowerBoundaryInclusiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetLowerBoundaryInclusive()
+ {
+ boolean oldLowerBoundaryInclusive = lowerBoundaryInclusive;
+ boolean oldLowerBoundaryInclusiveESet = lowerBoundaryInclusiveESet;
+ lowerBoundaryInclusive = LOWER_BOUNDARY_INCLUSIVE_EDEFAULT;
+ lowerBoundaryInclusiveESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY_INCLUSIVE, oldLowerBoundaryInclusive, LOWER_BOUNDARY_INCLUSIVE_EDEFAULT, oldLowerBoundaryInclusiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetLowerBoundaryInclusive()
+ {
+ return lowerBoundaryInclusiveESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getUpperBoundary()
+ {
+ return upperBoundary;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUpperBoundary(Object newUpperBoundary)
+ {
+ Object oldUpperBoundary = upperBoundary;
+ upperBoundary = newUpperBoundary;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY, oldUpperBoundary, upperBoundary));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isUpperBoundaryInclusive()
+ {
+ return upperBoundaryInclusive;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUpperBoundaryInclusive(boolean newUpperBoundaryInclusive)
+ {
+ boolean oldUpperBoundaryInclusive = upperBoundaryInclusive;
+ upperBoundaryInclusive = newUpperBoundaryInclusive;
+ boolean oldUpperBoundaryInclusiveESet = upperBoundaryInclusiveESet;
+ upperBoundaryInclusiveESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY_INCLUSIVE, oldUpperBoundaryInclusive, upperBoundaryInclusive, !oldUpperBoundaryInclusiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetUpperBoundaryInclusive()
+ {
+ boolean oldUpperBoundaryInclusive = upperBoundaryInclusive;
+ boolean oldUpperBoundaryInclusiveESet = upperBoundaryInclusiveESet;
+ upperBoundaryInclusive = UPPER_BOUNDARY_INCLUSIVE_EDEFAULT;
+ upperBoundaryInclusiveESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY_INCLUSIVE, oldUpperBoundaryInclusive, UPPER_BOUNDARY_INCLUSIVE_EDEFAULT, oldUpperBoundaryInclusiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetUpperBoundaryInclusive()
+ {
+ return upperBoundaryInclusiveESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY:
+ return getLowerBoundary();
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY_INCLUSIVE:
+ return isLowerBoundaryInclusive() ? Boolean.TRUE : Boolean.FALSE;
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY:
+ return getUpperBoundary();
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY_INCLUSIVE:
+ return isUpperBoundaryInclusive() ? Boolean.TRUE : Boolean.FALSE;
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY:
+ setLowerBoundary(newValue);
+ return;
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY_INCLUSIVE:
+ setLowerBoundaryInclusive(((Boolean)newValue).booleanValue());
+ return;
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY:
+ setUpperBoundary(newValue);
+ return;
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY_INCLUSIVE:
+ setUpperBoundaryInclusive(((Boolean)newValue).booleanValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY:
+ setLowerBoundary(LOWER_BOUNDARY_EDEFAULT);
+ return;
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY_INCLUSIVE:
+ unsetLowerBoundaryInclusive();
+ return;
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY:
+ setUpperBoundary(UPPER_BOUNDARY_EDEFAULT);
+ return;
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY_INCLUSIVE:
+ unsetUpperBoundaryInclusive();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY:
+ return LOWER_BOUNDARY_EDEFAULT == null ? lowerBoundary != null : !LOWER_BOUNDARY_EDEFAULT.equals(lowerBoundary);
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__LOWER_BOUNDARY_INCLUSIVE:
+ return isSetLowerBoundaryInclusive();
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY:
+ return UPPER_BOUNDARY_EDEFAULT == null ? upperBoundary != null : !UPPER_BOUNDARY_EDEFAULT.equals(upperBoundary);
+ case ConfigPackage.RANGE_FEATURE_VALUES_XML__UPPER_BOUNDARY_INCLUSIVE:
+ return isSetUpperBoundaryInclusive();
+ }
+ 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(" (lowerBoundary: ");
+ result.append(lowerBoundary);
+ result.append(", lowerBoundaryInclusive: ");
+ if (lowerBoundaryInclusiveESet) result.append(lowerBoundaryInclusive); else result.append("<unset>");
+ result.append(", upperBoundary: ");
+ result.append(upperBoundary);
+ result.append(", upperBoundaryInclusive: ");
+ if (upperBoundaryInclusiveESet) result.append(upperBoundaryInclusive); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //RangeFeatureValuesXMLImpl
\ No newline at end of file