commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gu...@apache.org
Subject svn commit: r945179 [8/13] - in /commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml: ./ .settings/ META-INF/ bin/ model/ src/ src/org/ src/org/apache/ src/org/apache/commons/ src/org/apache/commons/scxml/ src/org/apach...
Date Mon, 17 May 2010 14:27:35 GMT
Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/ScxmlPackage.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Send.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Send.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Send.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Send.java Mon May 17 14:27:33 2010
@@ -0,0 +1,422 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Send</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.Send#getEvent <em>Event</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getEventexpr <em>Eventexpr</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getTarget <em>Target</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getTargetexpr <em>Targetexpr</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getType <em>Type</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getTypeexpr <em>Typeexpr</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getId <em>Id</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getIdlocation <em>Idlocation</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getDelay <em>Delay</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getDelayexpr <em>Delayexpr</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getNamelist <em>Namelist</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getHints <em>Hints</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getHintsexpr <em>Hintsexpr</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getParam <em>Param</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Send#getContent <em>Content</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.commons.scxml.ScxmlPackage#getSend()
+ * @model
+ * @generated
+ */
+public interface Send extends ExecutableContent {
+	/**
+	 * Returns the value of the '<em><b>Event</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Event</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Event</em>' attribute.
+	 * @see #setEvent(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Event()
+	 * @model
+	 * @generated
+	 */
+	String getEvent();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getEvent <em>Event</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Event</em>' attribute.
+	 * @see #getEvent()
+	 * @generated
+	 */
+	void setEvent(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Eventexpr</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Eventexpr</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Eventexpr</em>' attribute.
+	 * @see #setEventexpr(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Eventexpr()
+	 * @model
+	 * @generated
+	 */
+	String getEventexpr();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getEventexpr <em>Eventexpr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Eventexpr</em>' attribute.
+	 * @see #getEventexpr()
+	 * @generated
+	 */
+	void setEventexpr(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Target</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Target</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Target</em>' attribute.
+	 * @see #setTarget(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Target()
+	 * @model
+	 * @generated
+	 */
+	String getTarget();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getTarget <em>Target</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Target</em>' attribute.
+	 * @see #getTarget()
+	 * @generated
+	 */
+	void setTarget(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Targetexpr</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Targetexpr</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Targetexpr</em>' attribute.
+	 * @see #setTargetexpr(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Targetexpr()
+	 * @model
+	 * @generated
+	 */
+	String getTargetexpr();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getTargetexpr <em>Targetexpr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Targetexpr</em>' attribute.
+	 * @see #getTargetexpr()
+	 * @generated
+	 */
+	void setTargetexpr(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Type</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Type</em>' attribute.
+	 * @see #setType(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Type()
+	 * @model
+	 * @generated
+	 */
+	String getType();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getType <em>Type</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Type</em>' attribute.
+	 * @see #getType()
+	 * @generated
+	 */
+	void setType(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Typeexpr</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Typeexpr</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Typeexpr</em>' attribute.
+	 * @see #setTypeexpr(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Typeexpr()
+	 * @model
+	 * @generated
+	 */
+	String getTypeexpr();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getTypeexpr <em>Typeexpr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Typeexpr</em>' attribute.
+	 * @see #getTypeexpr()
+	 * @generated
+	 */
+	void setTypeexpr(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Id</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Id</em>' attribute.
+	 * @see #setId(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Id()
+	 * @model
+	 * @generated
+	 */
+	String getId();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getId <em>Id</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Id</em>' attribute.
+	 * @see #getId()
+	 * @generated
+	 */
+	void setId(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Idlocation</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Idlocation</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Idlocation</em>' attribute.
+	 * @see #setIdlocation(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Idlocation()
+	 * @model
+	 * @generated
+	 */
+	String getIdlocation();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getIdlocation <em>Idlocation</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Idlocation</em>' attribute.
+	 * @see #getIdlocation()
+	 * @generated
+	 */
+	void setIdlocation(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Delay</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Delay</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Delay</em>' attribute.
+	 * @see #setDelay(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Delay()
+	 * @model
+	 * @generated
+	 */
+	String getDelay();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getDelay <em>Delay</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Delay</em>' attribute.
+	 * @see #getDelay()
+	 * @generated
+	 */
+	void setDelay(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Delayexpr</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Delayexpr</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Delayexpr</em>' attribute.
+	 * @see #setDelayexpr(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Delayexpr()
+	 * @model
+	 * @generated
+	 */
+	String getDelayexpr();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getDelayexpr <em>Delayexpr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Delayexpr</em>' attribute.
+	 * @see #getDelayexpr()
+	 * @generated
+	 */
+	void setDelayexpr(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Namelist</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Namelist</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Namelist</em>' attribute.
+	 * @see #setNamelist(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Namelist()
+	 * @model
+	 * @generated
+	 */
+	String getNamelist();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getNamelist <em>Namelist</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Namelist</em>' attribute.
+	 * @see #getNamelist()
+	 * @generated
+	 */
+	void setNamelist(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Hints</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Hints</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Hints</em>' attribute.
+	 * @see #setHints(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Hints()
+	 * @model
+	 * @generated
+	 */
+	String getHints();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getHints <em>Hints</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Hints</em>' attribute.
+	 * @see #getHints()
+	 * @generated
+	 */
+	void setHints(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Hintsexpr</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Hintsexpr</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Hintsexpr</em>' attribute.
+	 * @see #setHintsexpr(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Hintsexpr()
+	 * @model
+	 * @generated
+	 */
+	String getHintsexpr();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getHintsexpr <em>Hintsexpr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Hintsexpr</em>' attribute.
+	 * @see #getHintsexpr()
+	 * @generated
+	 */
+	void setHintsexpr(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Param</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.Param}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Param</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Param</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Param()
+	 * @model type="org.apache.commons.scxml.Param" containment="true"
+	 * @generated
+	 */
+	EList getParam();
+
+	/**
+	 * Returns the value of the '<em><b>Content</b></em>' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Content</em>' containment reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Content</em>' containment reference.
+	 * @see #setContent(Content)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getSend_Content()
+	 * @model containment="true"
+	 * @generated
+	 */
+	Content getContent();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Send#getContent <em>Content</em>}' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Content</em>' containment reference.
+	 * @see #getContent()
+	 * @generated
+	 */
+	void setContent(Content value);
+
+} // Send

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Send.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/ServiceTemplate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/ServiceTemplate.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/ServiceTemplate.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/ServiceTemplate.java Mon May 17 14:27:33 2010
@@ -0,0 +1,330 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Service Template</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getTransList <em>Trans List</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getStateList <em>State List</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getInitial <em>Initial</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getName <em>Name</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getXmlns <em>Xmlns</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getVersion <em>Version</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getProfile <em>Profile</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getExmode <em>Exmode</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getInitialState <em>Initial State</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getFinalState <em>Final State</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getParallel <em>Parallel</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getDataModel <em>Data Model</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.ServiceTemplate#getScript <em>Script</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate()
+ * @model
+ * @generated
+ */
+public interface ServiceTemplate extends EObject {
+	/**
+	 * Returns the value of the '<em><b>Trans List</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.Translation}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Trans List</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Trans List</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_TransList()
+	 * @model type="org.apache.commons.scxml.Translation" containment="true"
+	 * @generated
+	 */
+	EList getTransList();
+
+	/**
+	 * Returns the value of the '<em><b>State List</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.State}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>State List</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>State List</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_StateList()
+	 * @model type="org.apache.commons.scxml.State" containment="true"
+	 * @generated
+	 */
+	EList getStateList();
+
+	/**
+	 * Returns the value of the '<em><b>Initial</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Initial</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Initial</em>' attribute.
+	 * @see #setInitial(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_Initial()
+	 * @model
+	 * @generated
+	 */
+	String getInitial();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.ServiceTemplate#getInitial <em>Initial</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Initial</em>' attribute.
+	 * @see #getInitial()
+	 * @generated
+	 */
+	void setInitial(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Name</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Name</em>' attribute.
+	 * @see #setName(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_Name()
+	 * @model
+	 * @generated
+	 */
+	String getName();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.ServiceTemplate#getName <em>Name</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Name</em>' attribute.
+	 * @see #getName()
+	 * @generated
+	 */
+	void setName(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Xmlns</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Xmlns</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Xmlns</em>' attribute.
+	 * @see #setXmlns(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_Xmlns()
+	 * @model
+	 * @generated
+	 */
+	String getXmlns();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.ServiceTemplate#getXmlns <em>Xmlns</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Xmlns</em>' attribute.
+	 * @see #getXmlns()
+	 * @generated
+	 */
+	void setXmlns(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Version</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Version</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Version</em>' attribute.
+	 * @see #setVersion(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_Version()
+	 * @model
+	 * @generated
+	 */
+	String getVersion();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.ServiceTemplate#getVersion <em>Version</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Version</em>' attribute.
+	 * @see #getVersion()
+	 * @generated
+	 */
+	void setVersion(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Profile</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Profile</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Profile</em>' attribute.
+	 * @see #setProfile(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_Profile()
+	 * @model
+	 * @generated
+	 */
+	String getProfile();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.ServiceTemplate#getProfile <em>Profile</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Profile</em>' attribute.
+	 * @see #getProfile()
+	 * @generated
+	 */
+	void setProfile(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Exmode</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Exmode</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Exmode</em>' attribute.
+	 * @see #setExmode(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_Exmode()
+	 * @model
+	 * @generated
+	 */
+	String getExmode();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.ServiceTemplate#getExmode <em>Exmode</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Exmode</em>' attribute.
+	 * @see #getExmode()
+	 * @generated
+	 */
+	void setExmode(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Initial State</b></em>' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Initial State</em>' containment reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Initial State</em>' containment reference.
+	 * @see #setInitialState(InitialState)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_InitialState()
+	 * @model containment="true"
+	 * @generated
+	 */
+	InitialState getInitialState();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.ServiceTemplate#getInitialState <em>Initial State</em>}' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Initial State</em>' containment reference.
+	 * @see #getInitialState()
+	 * @generated
+	 */
+	void setInitialState(InitialState value);
+
+	/**
+	 * Returns the value of the '<em><b>Final State</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.FinalState}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Final State</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Final State</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_FinalState()
+	 * @model type="org.apache.commons.scxml.FinalState" containment="true"
+	 * @generated
+	 */
+	EList getFinalState();
+
+	/**
+	 * Returns the value of the '<em><b>Parallel</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.Parallel}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Parallel</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Parallel</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_Parallel()
+	 * @model type="org.apache.commons.scxml.Parallel" containment="true"
+	 * @generated
+	 */
+	EList getParallel();
+
+	/**
+	 * Returns the value of the '<em><b>Data Model</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.DataModel}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Data Model</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Data Model</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_DataModel()
+	 * @model type="org.apache.commons.scxml.DataModel" containment="true"
+	 * @generated
+	 */
+	EList getDataModel();
+
+	/**
+	 * Returns the value of the '<em><b>Script</b></em>' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Script</em>' containment reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Script</em>' containment reference.
+	 * @see #setScript(Script)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getServiceTemplate_Script()
+	 * @model containment="true"
+	 * @generated
+	 */
+	Script getScript();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.ServiceTemplate#getScript <em>Script</em>}' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Script</em>' containment reference.
+	 * @see #getScript()
+	 * @generated
+	 */
+	void setScript(Script value);
+
+} // ServiceTemplate

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/ServiceTemplate.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/State.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/State.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/State.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/State.java Mon May 17 14:27:33 2010
@@ -0,0 +1,284 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>State</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.State#getId <em>Id</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getInitial <em>Initial</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getOnEntry <em>On Entry</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getOnExit <em>On Exit</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getInitState <em>Init State</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getSubState <em>Sub State</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getFinalState <em>Final State</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getSubParallel <em>Sub Parallel</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getHistoryState <em>History State</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getAnchor <em>Anchor</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.State#getInvoke <em>Invoke</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.commons.scxml.ScxmlPackage#getState()
+ * @model
+ * @generated
+ */
+public interface State extends NamedElement {
+	/**
+	 * Returns the value of the '<em><b>Id</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Id</em>' attribute.
+	 * @see #setId(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_Id()
+	 * @model
+	 * @generated
+	 */
+	String getId();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.State#getId <em>Id</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Id</em>' attribute.
+	 * @see #getId()
+	 * @generated
+	 */
+	void setId(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Initial</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Initial</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Initial</em>' attribute.
+	 * @see #setInitial(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_Initial()
+	 * @model
+	 * @generated
+	 */
+	String getInitial();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.State#getInitial <em>Initial</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Initial</em>' attribute.
+	 * @see #getInitial()
+	 * @generated
+	 */
+	void setInitial(String value);
+
+	/**
+	 * Returns the value of the '<em><b>On Entry</b></em>' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>On Entry</em>' containment reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>On Entry</em>' containment reference.
+	 * @see #setOnEntry(OnEntry)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_OnEntry()
+	 * @model containment="true"
+	 * @generated
+	 */
+	OnEntry getOnEntry();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.State#getOnEntry <em>On Entry</em>}' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>On Entry</em>' containment reference.
+	 * @see #getOnEntry()
+	 * @generated
+	 */
+	void setOnEntry(OnEntry value);
+
+	/**
+	 * Returns the value of the '<em><b>On Exit</b></em>' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>On Exit</em>' containment reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>On Exit</em>' containment reference.
+	 * @see #setOnExit(OnExit)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_OnExit()
+	 * @model containment="true"
+	 * @generated
+	 */
+	OnExit getOnExit();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.State#getOnExit <em>On Exit</em>}' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>On Exit</em>' containment reference.
+	 * @see #getOnExit()
+	 * @generated
+	 */
+	void setOnExit(OnExit value);
+
+	/**
+	 * Returns the value of the '<em><b>Init State</b></em>' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Init State</em>' containment reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Init State</em>' containment reference.
+	 * @see #setInitState(InitialState)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_InitState()
+	 * @model containment="true"
+	 * @generated
+	 */
+	InitialState getInitState();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.State#getInitState <em>Init State</em>}' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Init State</em>' containment reference.
+	 * @see #getInitState()
+	 * @generated
+	 */
+	void setInitState(InitialState value);
+
+	/**
+	 * Returns the value of the '<em><b>Sub State</b></em>' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Sub State</em>' containment reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Sub State</em>' containment reference.
+	 * @see #setSubState(State)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_SubState()
+	 * @model containment="true"
+	 * @generated
+	 */
+	State getSubState();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.State#getSubState <em>Sub State</em>}' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Sub State</em>' containment reference.
+	 * @see #getSubState()
+	 * @generated
+	 */
+	void setSubState(State value);
+
+	/**
+	 * Returns the value of the '<em><b>Final State</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.FinalState}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Final State</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Final State</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_FinalState()
+	 * @model type="org.apache.commons.scxml.FinalState" containment="true"
+	 * @generated
+	 */
+	EList getFinalState();
+
+	/**
+	 * Returns the value of the '<em><b>Sub Parallel</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.Parallel}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Sub Parallel</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Sub Parallel</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_SubParallel()
+	 * @model type="org.apache.commons.scxml.Parallel" containment="true"
+	 * @generated
+	 */
+	EList getSubParallel();
+
+	/**
+	 * Returns the value of the '<em><b>History State</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.HistoryState}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>History State</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>History State</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_HistoryState()
+	 * @model type="org.apache.commons.scxml.HistoryState" containment="true"
+	 * @generated
+	 */
+	EList getHistoryState();
+
+	/**
+	 * Returns the value of the '<em><b>Anchor</b></em>' containment reference list.
+	 * The list contents are of type {@link org.apache.commons.scxml.Anchor}.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Anchor</em>' containment reference list isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Anchor</em>' containment reference list.
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_Anchor()
+	 * @model type="org.apache.commons.scxml.Anchor" containment="true"
+	 * @generated
+	 */
+	EList getAnchor();
+
+	/**
+	 * Returns the value of the '<em><b>Invoke</b></em>' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Invoke</em>' containment reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Invoke</em>' containment reference.
+	 * @see #setInvoke(Invoke)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getState_Invoke()
+	 * @model containment="true"
+	 * @generated
+	 */
+	Invoke getInvoke();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.State#getInvoke <em>Invoke</em>}' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Invoke</em>' containment reference.
+	 * @see #getInvoke()
+	 * @generated
+	 */
+	void setInvoke(Invoke value);
+
+} // State

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/State.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Translation.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Translation.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Translation.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Translation.java Mon May 17 14:27:33 2010
@@ -0,0 +1,189 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Translation</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.Translation#getTargetStatus <em>Target Status</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Translation#getSourceStatus <em>Source Status</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Translation#getEvent <em>Event</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Translation#getCond <em>Cond</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Translation#getTarget <em>Target</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Translation#getAnchor <em>Anchor</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.commons.scxml.ScxmlPackage#getTranslation()
+ * @model
+ * @generated
+ */
+public interface Translation extends EObject {
+	/**
+	 * Returns the value of the '<em><b>Target Status</b></em>' reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Target Status</em>' reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Target Status</em>' reference.
+	 * @see #setTargetStatus(NamedElement)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getTranslation_TargetStatus()
+	 * @model
+	 * @generated
+	 */
+	NamedElement getTargetStatus();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Translation#getTargetStatus <em>Target Status</em>}' reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Target Status</em>' reference.
+	 * @see #getTargetStatus()
+	 * @generated
+	 */
+	void setTargetStatus(NamedElement value);
+
+	/**
+	 * Returns the value of the '<em><b>Source Status</b></em>' reference.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Source Status</em>' reference isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Source Status</em>' reference.
+	 * @see #setSourceStatus(NamedElement)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getTranslation_SourceStatus()
+	 * @model
+	 * @generated
+	 */
+	NamedElement getSourceStatus();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Translation#getSourceStatus <em>Source Status</em>}' reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Source Status</em>' reference.
+	 * @see #getSourceStatus()
+	 * @generated
+	 */
+	void setSourceStatus(NamedElement value);
+
+	/**
+	 * Returns the value of the '<em><b>Event</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Event</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Event</em>' attribute.
+	 * @see #setEvent(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getTranslation_Event()
+	 * @model
+	 * @generated
+	 */
+	String getEvent();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Translation#getEvent <em>Event</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Event</em>' attribute.
+	 * @see #getEvent()
+	 * @generated
+	 */
+	void setEvent(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Cond</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Cond</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Cond</em>' attribute.
+	 * @see #setCond(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getTranslation_Cond()
+	 * @model
+	 * @generated
+	 */
+	String getCond();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Translation#getCond <em>Cond</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Cond</em>' attribute.
+	 * @see #getCond()
+	 * @generated
+	 */
+	void setCond(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Target</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Target</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Target</em>' attribute.
+	 * @see #setTarget(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getTranslation_Target()
+	 * @model
+	 * @generated
+	 */
+	String getTarget();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Translation#getTarget <em>Target</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Target</em>' attribute.
+	 * @see #getTarget()
+	 * @generated
+	 */
+	void setTarget(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Anchor</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Anchor</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Anchor</em>' attribute.
+	 * @see #setAnchor(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getTranslation_Anchor()
+	 * @model
+	 * @generated
+	 */
+	String getAnchor();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Translation#getAnchor <em>Anchor</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Anchor</em>' attribute.
+	 * @see #getAnchor()
+	 * @generated
+	 */
+	void setAnchor(String value);
+
+} // Translation

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Translation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Validate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Validate.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Validate.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Validate.java Mon May 17 14:27:33 2010
@@ -0,0 +1,80 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Validate</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.Validate#getLocation <em>Location</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.Validate#getSchema <em>Schema</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.commons.scxml.ScxmlPackage#getValidate()
+ * @model
+ * @generated
+ */
+public interface Validate extends ExecutableContent {
+	/**
+	 * Returns the value of the '<em><b>Location</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Location</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Location</em>' attribute.
+	 * @see #setLocation(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getValidate_Location()
+	 * @model
+	 * @generated
+	 */
+	String getLocation();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Validate#getLocation <em>Location</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Location</em>' attribute.
+	 * @see #getLocation()
+	 * @generated
+	 */
+	void setLocation(String value);
+
+	/**
+	 * Returns the value of the '<em><b>Schema</b></em>' attribute.
+	 * <!-- begin-user-doc -->
+	 * <p>
+	 * If the meaning of the '<em>Schema</em>' attribute isn't clear,
+	 * there really should be more of a description here...
+	 * </p>
+	 * <!-- end-user-doc -->
+	 * @return the value of the '<em>Schema</em>' attribute.
+	 * @see #setSchema(String)
+	 * @see org.apache.commons.scxml.ScxmlPackage#getValidate_Schema()
+	 * @model
+	 * @generated
+	 */
+	String getSchema();
+
+	/**
+	 * Sets the value of the '{@link org.apache.commons.scxml.Validate#getSchema <em>Schema</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @param value the new value of the '<em>Schema</em>' attribute.
+	 * @see #getSchema()
+	 * @generated
+	 */
+	void setSchema(String value);
+
+} // Validate

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/Validate.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AnchorImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AnchorImpl.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AnchorImpl.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AnchorImpl.java Mon May 17 14:27:33 2010
@@ -0,0 +1,215 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml.impl;
+
+import org.apache.commons.scxml.Anchor;
+import org.apache.commons.scxml.ScxmlPackage;
+
+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;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Anchor</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.impl.AnchorImpl#getType <em>Type</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.impl.AnchorImpl#getSnapshot <em>Snapshot</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AnchorImpl extends EObjectImpl implements Anchor {
+	/**
+	 * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getType()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String TYPE_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getType()
+	 * @generated
+	 * @ordered
+	 */
+	protected String type = TYPE_EDEFAULT;
+
+	/**
+	 * The default value of the '{@link #getSnapshot() <em>Snapshot</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSnapshot()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String SNAPSHOT_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getSnapshot() <em>Snapshot</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSnapshot()
+	 * @generated
+	 * @ordered
+	 */
+	protected String snapshot = SNAPSHOT_EDEFAULT;
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected AnchorImpl() {
+		super();
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected EClass eStaticClass() {
+		return ScxmlPackage.Literals.ANCHOR;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getType() {
+		return type;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setType(String newType) {
+		String oldType = type;
+		type = newType;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.ANCHOR__TYPE, oldType, type));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getSnapshot() {
+		return snapshot;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setSnapshot(String newSnapshot) {
+		String oldSnapshot = snapshot;
+		snapshot = newSnapshot;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.ANCHOR__SNAPSHOT, oldSnapshot, snapshot));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Object eGet(int featureID, boolean resolve, boolean coreType) {
+		switch (featureID) {
+			case ScxmlPackage.ANCHOR__TYPE:
+				return getType();
+			case ScxmlPackage.ANCHOR__SNAPSHOT:
+				return getSnapshot();
+		}
+		return super.eGet(featureID, resolve, coreType);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eSet(int featureID, Object newValue) {
+		switch (featureID) {
+			case ScxmlPackage.ANCHOR__TYPE:
+				setType((String)newValue);
+				return;
+			case ScxmlPackage.ANCHOR__SNAPSHOT:
+				setSnapshot((String)newValue);
+				return;
+		}
+		super.eSet(featureID, newValue);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eUnset(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.ANCHOR__TYPE:
+				setType(TYPE_EDEFAULT);
+				return;
+			case ScxmlPackage.ANCHOR__SNAPSHOT:
+				setSnapshot(SNAPSHOT_EDEFAULT);
+				return;
+		}
+		super.eUnset(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public boolean eIsSet(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.ANCHOR__TYPE:
+				return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+			case ScxmlPackage.ANCHOR__SNAPSHOT:
+				return SNAPSHOT_EDEFAULT == null ? snapshot != null : !SNAPSHOT_EDEFAULT.equals(snapshot);
+		}
+		return super.eIsSet(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String toString() {
+		if (eIsProxy()) return super.toString();
+
+		StringBuffer result = new StringBuffer(super.toString());
+		result.append(" (type: ");
+		result.append(type);
+		result.append(", snapshot: ");
+		result.append(snapshot);
+		result.append(')');
+		return result.toString();
+	}
+
+} //AnchorImpl

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AnchorImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AssignImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AssignImpl.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AssignImpl.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AssignImpl.java Mon May 17 14:27:33 2010
@@ -0,0 +1,268 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml.impl;
+
+import org.apache.commons.scxml.Assign;
+import org.apache.commons.scxml.ScxmlPackage;
+
+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>Assign</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.impl.AssignImpl#getLocation <em>Location</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.impl.AssignImpl#getDataid <em>Dataid</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.impl.AssignImpl#getExpr <em>Expr</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AssignImpl extends ExecutableContentImpl implements Assign {
+	/**
+	 * The default value of the '{@link #getLocation() <em>Location</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getLocation()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String LOCATION_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getLocation()
+	 * @generated
+	 * @ordered
+	 */
+	protected String location = LOCATION_EDEFAULT;
+
+	/**
+	 * The default value of the '{@link #getDataid() <em>Dataid</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getDataid()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String DATAID_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getDataid() <em>Dataid</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getDataid()
+	 * @generated
+	 * @ordered
+	 */
+	protected String dataid = DATAID_EDEFAULT;
+
+	/**
+	 * The default value of the '{@link #getExpr() <em>Expr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getExpr()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String EXPR_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getExpr() <em>Expr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getExpr()
+	 * @generated
+	 * @ordered
+	 */
+	protected String expr = EXPR_EDEFAULT;
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected AssignImpl() {
+		super();
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected EClass eStaticClass() {
+		return ScxmlPackage.Literals.ASSIGN;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getLocation() {
+		return location;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setLocation(String newLocation) {
+		String oldLocation = location;
+		location = newLocation;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.ASSIGN__LOCATION, oldLocation, location));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getDataid() {
+		return dataid;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setDataid(String newDataid) {
+		String oldDataid = dataid;
+		dataid = newDataid;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.ASSIGN__DATAID, oldDataid, dataid));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getExpr() {
+		return expr;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setExpr(String newExpr) {
+		String oldExpr = expr;
+		expr = newExpr;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.ASSIGN__EXPR, oldExpr, expr));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Object eGet(int featureID, boolean resolve, boolean coreType) {
+		switch (featureID) {
+			case ScxmlPackage.ASSIGN__LOCATION:
+				return getLocation();
+			case ScxmlPackage.ASSIGN__DATAID:
+				return getDataid();
+			case ScxmlPackage.ASSIGN__EXPR:
+				return getExpr();
+		}
+		return super.eGet(featureID, resolve, coreType);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eSet(int featureID, Object newValue) {
+		switch (featureID) {
+			case ScxmlPackage.ASSIGN__LOCATION:
+				setLocation((String)newValue);
+				return;
+			case ScxmlPackage.ASSIGN__DATAID:
+				setDataid((String)newValue);
+				return;
+			case ScxmlPackage.ASSIGN__EXPR:
+				setExpr((String)newValue);
+				return;
+		}
+		super.eSet(featureID, newValue);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eUnset(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.ASSIGN__LOCATION:
+				setLocation(LOCATION_EDEFAULT);
+				return;
+			case ScxmlPackage.ASSIGN__DATAID:
+				setDataid(DATAID_EDEFAULT);
+				return;
+			case ScxmlPackage.ASSIGN__EXPR:
+				setExpr(EXPR_EDEFAULT);
+				return;
+		}
+		super.eUnset(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public boolean eIsSet(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.ASSIGN__LOCATION:
+				return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location);
+			case ScxmlPackage.ASSIGN__DATAID:
+				return DATAID_EDEFAULT == null ? dataid != null : !DATAID_EDEFAULT.equals(dataid);
+			case ScxmlPackage.ASSIGN__EXPR:
+				return EXPR_EDEFAULT == null ? expr != null : !EXPR_EDEFAULT.equals(expr);
+		}
+		return super.eIsSet(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String toString() {
+		if (eIsProxy()) return super.toString();
+
+		StringBuffer result = new StringBuffer(super.toString());
+		result.append(" (location: ");
+		result.append(location);
+		result.append(", dataid: ");
+		result.append(dataid);
+		result.append(", expr: ");
+		result.append(expr);
+		result.append(')');
+		return result.toString();
+	}
+
+} //AssignImpl

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/AssignImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/CancelImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/CancelImpl.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/CancelImpl.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/CancelImpl.java Mon May 17 14:27:33 2010
@@ -0,0 +1,214 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml.impl;
+
+import org.apache.commons.scxml.Cancel;
+import org.apache.commons.scxml.ScxmlPackage;
+
+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>Cancel</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.impl.CancelImpl#getSendid <em>Sendid</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.impl.CancelImpl#getSendidexpr <em>Sendidexpr</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CancelImpl extends ExecutableContentImpl implements Cancel {
+	/**
+	 * The default value of the '{@link #getSendid() <em>Sendid</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSendid()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String SENDID_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getSendid() <em>Sendid</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSendid()
+	 * @generated
+	 * @ordered
+	 */
+	protected String sendid = SENDID_EDEFAULT;
+
+	/**
+	 * The default value of the '{@link #getSendidexpr() <em>Sendidexpr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSendidexpr()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String SENDIDEXPR_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getSendidexpr() <em>Sendidexpr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSendidexpr()
+	 * @generated
+	 * @ordered
+	 */
+	protected String sendidexpr = SENDIDEXPR_EDEFAULT;
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected CancelImpl() {
+		super();
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected EClass eStaticClass() {
+		return ScxmlPackage.Literals.CANCEL;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getSendid() {
+		return sendid;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setSendid(String newSendid) {
+		String oldSendid = sendid;
+		sendid = newSendid;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.CANCEL__SENDID, oldSendid, sendid));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getSendidexpr() {
+		return sendidexpr;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setSendidexpr(String newSendidexpr) {
+		String oldSendidexpr = sendidexpr;
+		sendidexpr = newSendidexpr;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.CANCEL__SENDIDEXPR, oldSendidexpr, sendidexpr));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Object eGet(int featureID, boolean resolve, boolean coreType) {
+		switch (featureID) {
+			case ScxmlPackage.CANCEL__SENDID:
+				return getSendid();
+			case ScxmlPackage.CANCEL__SENDIDEXPR:
+				return getSendidexpr();
+		}
+		return super.eGet(featureID, resolve, coreType);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eSet(int featureID, Object newValue) {
+		switch (featureID) {
+			case ScxmlPackage.CANCEL__SENDID:
+				setSendid((String)newValue);
+				return;
+			case ScxmlPackage.CANCEL__SENDIDEXPR:
+				setSendidexpr((String)newValue);
+				return;
+		}
+		super.eSet(featureID, newValue);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eUnset(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.CANCEL__SENDID:
+				setSendid(SENDID_EDEFAULT);
+				return;
+			case ScxmlPackage.CANCEL__SENDIDEXPR:
+				setSendidexpr(SENDIDEXPR_EDEFAULT);
+				return;
+		}
+		super.eUnset(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public boolean eIsSet(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.CANCEL__SENDID:
+				return SENDID_EDEFAULT == null ? sendid != null : !SENDID_EDEFAULT.equals(sendid);
+			case ScxmlPackage.CANCEL__SENDIDEXPR:
+				return SENDIDEXPR_EDEFAULT == null ? sendidexpr != null : !SENDIDEXPR_EDEFAULT.equals(sendidexpr);
+		}
+		return super.eIsSet(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String toString() {
+		if (eIsProxy()) return super.toString();
+
+		StringBuffer result = new StringBuffer(super.toString());
+		result.append(" (sendid: ");
+		result.append(sendid);
+		result.append(", sendidexpr: ");
+		result.append(sendidexpr);
+		result.append(')');
+		return result.toString();
+	}
+
+} //CancelImpl

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/CancelImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/ContentImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/ContentImpl.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/ContentImpl.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/ContentImpl.java Mon May 17 14:27:33 2010
@@ -0,0 +1,148 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml.impl;
+
+import java.util.Collection;
+
+import org.apache.commons.scxml.Content;
+import org.apache.commons.scxml.ScxmlPackage;
+
+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.EObjectImpl;
+
+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>Content</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.impl.ContentImpl#getContent <em>Content</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ContentImpl extends EObjectImpl implements Content {
+	/**
+	 * The cached value of the '{@link #getContent() <em>Content</em>}' containment reference list.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getContent()
+	 * @generated
+	 * @ordered
+	 */
+	protected EList content;
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected ContentImpl() {
+		super();
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected EClass eStaticClass() {
+		return ScxmlPackage.Literals.CONTENT;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public EList getContent() {
+		if (content == null) {
+			content = new EObjectContainmentEList(Content.class, this, ScxmlPackage.CONTENT__CONTENT);
+		}
+		return content;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+		switch (featureID) {
+			case ScxmlPackage.CONTENT__CONTENT:
+				return ((InternalEList)getContent()).basicRemove(otherEnd, msgs);
+		}
+		return super.eInverseRemove(otherEnd, featureID, msgs);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Object eGet(int featureID, boolean resolve, boolean coreType) {
+		switch (featureID) {
+			case ScxmlPackage.CONTENT__CONTENT:
+				return getContent();
+		}
+		return super.eGet(featureID, resolve, coreType);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eSet(int featureID, Object newValue) {
+		switch (featureID) {
+			case ScxmlPackage.CONTENT__CONTENT:
+				getContent().clear();
+				getContent().addAll((Collection)newValue);
+				return;
+		}
+		super.eSet(featureID, newValue);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eUnset(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.CONTENT__CONTENT:
+				getContent().clear();
+				return;
+		}
+		super.eUnset(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public boolean eIsSet(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.CONTENT__CONTENT:
+				return content != null && !content.isEmpty();
+		}
+		return super.eIsSet(featureID);
+	}
+
+} //ContentImpl

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/ContentImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataImpl.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataImpl.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataImpl.java Mon May 17 14:27:33 2010
@@ -0,0 +1,349 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml.impl;
+
+import org.apache.commons.scxml.Content;
+import org.apache.commons.scxml.Data;
+import org.apache.commons.scxml.ScxmlPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+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;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.impl.DataImpl#getId <em>Id</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.impl.DataImpl#getSrc <em>Src</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.impl.DataImpl#getExpr <em>Expr</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.impl.DataImpl#getContent <em>Content</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataImpl extends EObjectImpl implements Data {
+	/**
+	 * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getId()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String ID_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getId()
+	 * @generated
+	 * @ordered
+	 */
+	protected String id = ID_EDEFAULT;
+
+	/**
+	 * The default value of the '{@link #getSrc() <em>Src</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSrc()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String SRC_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getSrc() <em>Src</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSrc()
+	 * @generated
+	 * @ordered
+	 */
+	protected String src = SRC_EDEFAULT;
+
+	/**
+	 * The default value of the '{@link #getExpr() <em>Expr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getExpr()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String EXPR_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getExpr() <em>Expr</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getExpr()
+	 * @generated
+	 * @ordered
+	 */
+	protected String expr = EXPR_EDEFAULT;
+
+	/**
+	 * The cached value of the '{@link #getContent() <em>Content</em>}' containment reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getContent()
+	 * @generated
+	 * @ordered
+	 */
+	protected Content content;
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected DataImpl() {
+		super();
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected EClass eStaticClass() {
+		return ScxmlPackage.Literals.DATA;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getId() {
+		return id;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setId(String newId) {
+		String oldId = id;
+		id = newId;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.DATA__ID, oldId, id));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getSrc() {
+		return src;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setSrc(String newSrc) {
+		String oldSrc = src;
+		src = newSrc;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.DATA__SRC, oldSrc, src));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getExpr() {
+		return expr;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setExpr(String newExpr) {
+		String oldExpr = expr;
+		expr = newExpr;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.DATA__EXPR, oldExpr, expr));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Content getContent() {
+		return content;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public NotificationChain basicSetContent(Content newContent, NotificationChain msgs) {
+		Content oldContent = content;
+		content = newContent;
+		if (eNotificationRequired()) {
+			ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ScxmlPackage.DATA__CONTENT, oldContent, newContent);
+			if (msgs == null) msgs = notification; else msgs.add(notification);
+		}
+		return msgs;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setContent(Content newContent) {
+		if (newContent != content) {
+			NotificationChain msgs = null;
+			if (content != null)
+				msgs = ((InternalEObject)content).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ScxmlPackage.DATA__CONTENT, null, msgs);
+			if (newContent != null)
+				msgs = ((InternalEObject)newContent).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ScxmlPackage.DATA__CONTENT, null, msgs);
+			msgs = basicSetContent(newContent, msgs);
+			if (msgs != null) msgs.dispatch();
+		}
+		else if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.DATA__CONTENT, newContent, newContent));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+		switch (featureID) {
+			case ScxmlPackage.DATA__CONTENT:
+				return basicSetContent(null, msgs);
+		}
+		return super.eInverseRemove(otherEnd, featureID, msgs);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Object eGet(int featureID, boolean resolve, boolean coreType) {
+		switch (featureID) {
+			case ScxmlPackage.DATA__ID:
+				return getId();
+			case ScxmlPackage.DATA__SRC:
+				return getSrc();
+			case ScxmlPackage.DATA__EXPR:
+				return getExpr();
+			case ScxmlPackage.DATA__CONTENT:
+				return getContent();
+		}
+		return super.eGet(featureID, resolve, coreType);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eSet(int featureID, Object newValue) {
+		switch (featureID) {
+			case ScxmlPackage.DATA__ID:
+				setId((String)newValue);
+				return;
+			case ScxmlPackage.DATA__SRC:
+				setSrc((String)newValue);
+				return;
+			case ScxmlPackage.DATA__EXPR:
+				setExpr((String)newValue);
+				return;
+			case ScxmlPackage.DATA__CONTENT:
+				setContent((Content)newValue);
+				return;
+		}
+		super.eSet(featureID, newValue);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eUnset(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.DATA__ID:
+				setId(ID_EDEFAULT);
+				return;
+			case ScxmlPackage.DATA__SRC:
+				setSrc(SRC_EDEFAULT);
+				return;
+			case ScxmlPackage.DATA__EXPR:
+				setExpr(EXPR_EDEFAULT);
+				return;
+			case ScxmlPackage.DATA__CONTENT:
+				setContent((Content)null);
+				return;
+		}
+		super.eUnset(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public boolean eIsSet(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.DATA__ID:
+				return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+			case ScxmlPackage.DATA__SRC:
+				return SRC_EDEFAULT == null ? src != null : !SRC_EDEFAULT.equals(src);
+			case ScxmlPackage.DATA__EXPR:
+				return EXPR_EDEFAULT == null ? expr != null : !EXPR_EDEFAULT.equals(expr);
+			case ScxmlPackage.DATA__CONTENT:
+				return content != null;
+		}
+		return super.eIsSet(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String toString() {
+		if (eIsProxy()) return super.toString();
+
+		StringBuffer result = new StringBuffer(super.toString());
+		result.append(" (id: ");
+		result.append(id);
+		result.append(", src: ");
+		result.append(src);
+		result.append(", expr: ");
+		result.append(expr);
+		result.append(')');
+		return result.toString();
+	}
+
+} //DataImpl

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataModelImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataModelImpl.java?rev=945179&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataModelImpl.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataModelImpl.java Mon May 17 14:27:33 2010
@@ -0,0 +1,218 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml.impl;
+
+import java.util.Collection;
+
+import org.apache.commons.scxml.Data;
+import org.apache.commons.scxml.DataModel;
+import org.apache.commons.scxml.ScxmlPackage;
+
+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.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Model</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.impl.DataModelImpl#getSchema <em>Schema</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.impl.DataModelImpl#getData <em>Data</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataModelImpl extends EObjectImpl implements DataModel {
+	/**
+	 * The default value of the '{@link #getSchema() <em>Schema</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSchema()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String SCHEMA_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getSchema() <em>Schema</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSchema()
+	 * @generated
+	 * @ordered
+	 */
+	protected String schema = SCHEMA_EDEFAULT;
+
+	/**
+	 * The cached value of the '{@link #getData() <em>Data</em>}' containment reference list.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getData()
+	 * @generated
+	 * @ordered
+	 */
+	protected EList data;
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected DataModelImpl() {
+		super();
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected EClass eStaticClass() {
+		return ScxmlPackage.Literals.DATA_MODEL;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getSchema() {
+		return schema;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setSchema(String newSchema) {
+		String oldSchema = schema;
+		schema = newSchema;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ScxmlPackage.DATA_MODEL__SCHEMA, oldSchema, schema));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public EList getData() {
+		if (data == null) {
+			data = new EObjectContainmentEList(Data.class, this, ScxmlPackage.DATA_MODEL__DATA);
+		}
+		return data;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+		switch (featureID) {
+			case ScxmlPackage.DATA_MODEL__DATA:
+				return ((InternalEList)getData()).basicRemove(otherEnd, msgs);
+		}
+		return super.eInverseRemove(otherEnd, featureID, msgs);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Object eGet(int featureID, boolean resolve, boolean coreType) {
+		switch (featureID) {
+			case ScxmlPackage.DATA_MODEL__SCHEMA:
+				return getSchema();
+			case ScxmlPackage.DATA_MODEL__DATA:
+				return getData();
+		}
+		return super.eGet(featureID, resolve, coreType);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eSet(int featureID, Object newValue) {
+		switch (featureID) {
+			case ScxmlPackage.DATA_MODEL__SCHEMA:
+				setSchema((String)newValue);
+				return;
+			case ScxmlPackage.DATA_MODEL__DATA:
+				getData().clear();
+				getData().addAll((Collection)newValue);
+				return;
+		}
+		super.eSet(featureID, newValue);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eUnset(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.DATA_MODEL__SCHEMA:
+				setSchema(SCHEMA_EDEFAULT);
+				return;
+			case ScxmlPackage.DATA_MODEL__DATA:
+				getData().clear();
+				return;
+		}
+		super.eUnset(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public boolean eIsSet(int featureID) {
+		switch (featureID) {
+			case ScxmlPackage.DATA_MODEL__SCHEMA:
+				return SCHEMA_EDEFAULT == null ? schema != null : !SCHEMA_EDEFAULT.equals(schema);
+			case ScxmlPackage.DATA_MODEL__DATA:
+				return data != null && !data.isEmpty();
+		}
+		return super.eIsSet(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String toString() {
+		if (eIsProxy()) return super.toString();
+
+		StringBuffer result = new StringBuffer(super.toString());
+		result.append(" (schema: ");
+		result.append(schema);
+		result.append(')');
+		return result.toString();
+	}
+
+} //DataModelImpl

Propchange: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml/src/org/apache/commons/scxml/impl/DataModelImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message