commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gu...@apache.org
Subject svn commit: r946880 [3/3] - in /commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling: model/ src/org/apache/commons/scxml/modeling/ src/org/apache/commons/scxml/modeling/impl/ src/org/apache/commons/scxml/modeli...
Date Fri, 21 May 2010 05:43:12 GMT
Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ModelingPackageImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ModelingPackageImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ModelingPackageImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ModelingPackageImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */
@@ -36,7 +48,7 @@ import org.apache.commons.scxml.modeling
 import org.apache.commons.scxml.modeling.Send;
 import org.apache.commons.scxml.modeling.ServiceTemplate;
 import org.apache.commons.scxml.modeling.State;
-import org.apache.commons.scxml.modeling.Translation;
+import org.apache.commons.scxml.modeling.Transition;
 import org.apache.commons.scxml.modeling.Validate;
 
 import org.eclipse.emf.ecore.EAttribute;
@@ -72,7 +84,7 @@ public class ModelingPackageImpl extends
 	 * <!-- end-user-doc -->
 	 * @generated
 	 */
-	private EClass translationEClass = null;
+	private EClass transitionEClass = null;
 
 	/**
 	 * <!-- begin-user-doc -->
@@ -480,8 +492,8 @@ public class ModelingPackageImpl extends
 	 * <!-- end-user-doc -->
 	 * @generated
 	 */
-	public EClass getTranslation() {
-		return translationEClass;
+	public EClass getTransition() {
+		return transitionEClass;
 	}
 
 	/**
@@ -489,8 +501,8 @@ public class ModelingPackageImpl extends
 	 * <!-- end-user-doc -->
 	 * @generated
 	 */
-	public EReference getTranslation_TargetStatus() {
-		return (EReference)translationEClass.getEStructuralFeatures().get(0);
+	public EReference getTransition_TargetStatus() {
+		return (EReference)transitionEClass.getEStructuralFeatures().get(0);
 	}
 
 	/**
@@ -498,8 +510,8 @@ public class ModelingPackageImpl extends
 	 * <!-- end-user-doc -->
 	 * @generated
 	 */
-	public EReference getTranslation_SourceStatus() {
-		return (EReference)translationEClass.getEStructuralFeatures().get(1);
+	public EReference getTransition_SourceStatus() {
+		return (EReference)transitionEClass.getEStructuralFeatures().get(1);
 	}
 
 	/**
@@ -507,8 +519,8 @@ public class ModelingPackageImpl extends
 	 * <!-- end-user-doc -->
 	 * @generated
 	 */
-	public EAttribute getTranslation_Event() {
-		return (EAttribute)translationEClass.getEStructuralFeatures().get(2);
+	public EAttribute getTransition_Event() {
+		return (EAttribute)transitionEClass.getEStructuralFeatures().get(2);
 	}
 
 	/**
@@ -516,8 +528,8 @@ public class ModelingPackageImpl extends
 	 * <!-- end-user-doc -->
 	 * @generated
 	 */
-	public EAttribute getTranslation_Cond() {
-		return (EAttribute)translationEClass.getEStructuralFeatures().get(3);
+	public EAttribute getTransition_Cond() {
+		return (EAttribute)transitionEClass.getEStructuralFeatures().get(3);
 	}
 
 	/**
@@ -525,8 +537,8 @@ public class ModelingPackageImpl extends
 	 * <!-- end-user-doc -->
 	 * @generated
 	 */
-	public EAttribute getTranslation_Target() {
-		return (EAttribute)translationEClass.getEStructuralFeatures().get(4);
+	public EAttribute getTransition_Target() {
+		return (EAttribute)transitionEClass.getEStructuralFeatures().get(4);
 	}
 
 	/**
@@ -534,8 +546,8 @@ public class ModelingPackageImpl extends
 	 * <!-- end-user-doc -->
 	 * @generated
 	 */
-	public EAttribute getTranslation_Anchor() {
-		return (EAttribute)translationEClass.getEStructuralFeatures().get(5);
+	public EAttribute getTransition_Anchor() {
+		return (EAttribute)transitionEClass.getEStructuralFeatures().get(5);
 	}
 
 	/**
@@ -1592,13 +1604,13 @@ public class ModelingPackageImpl extends
 		createEReference(stateEClass, STATE__ANCHOR);
 		createEReference(stateEClass, STATE__INVOKE);
 
-		translationEClass = createEClass(TRANSLATION);
-		createEReference(translationEClass, TRANSLATION__TARGET_STATUS);
-		createEReference(translationEClass, TRANSLATION__SOURCE_STATUS);
-		createEAttribute(translationEClass, TRANSLATION__EVENT);
-		createEAttribute(translationEClass, TRANSLATION__COND);
-		createEAttribute(translationEClass, TRANSLATION__TARGET);
-		createEAttribute(translationEClass, TRANSLATION__ANCHOR);
+		transitionEClass = createEClass(TRANSITION);
+		createEReference(transitionEClass, TRANSITION__TARGET_STATUS);
+		createEReference(transitionEClass, TRANSITION__SOURCE_STATUS);
+		createEAttribute(transitionEClass, TRANSITION__EVENT);
+		createEAttribute(transitionEClass, TRANSITION__COND);
+		createEAttribute(transitionEClass, TRANSITION__TARGET);
+		createEAttribute(transitionEClass, TRANSITION__ANCHOR);
 
 		assignEClass = createEClass(ASSIGN);
 		createEAttribute(assignEClass, ASSIGN__LOCATION);
@@ -1783,8 +1795,8 @@ public class ModelingPackageImpl extends
 
 		// Initialize classes and features; add operations and parameters
 		initEClass(namedElementEClass, NamedElement.class, "NamedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-		initEReference(getNamedElement_SourceConnection(), this.getTranslation(), null, "sourceConnection", null, 0, -1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-		initEReference(getNamedElement_TargetConnection(), this.getTranslation(), null, "targetConnection", null, 0, -1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+		initEReference(getNamedElement_SourceConnection(), this.getTransition(), null, "sourceConnection", null, 0, -1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+		initEReference(getNamedElement_TargetConnection(), this.getTransition(), null, "targetConnection", null, 0, -1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
 		initEReference(getNamedElement_DataModel(), this.getDataModel(), null, "dataModel", null, 0, -1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
 
 		initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -1800,13 +1812,13 @@ public class ModelingPackageImpl extends
 		initEReference(getState_Anchor(), this.getAnchor(), null, "anchor", null, 0, -1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
 		initEReference(getState_Invoke(), this.getInvoke(), null, "invoke", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
 
-		initEClass(translationEClass, Translation.class, "Translation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-		initEReference(getTranslation_TargetStatus(), this.getNamedElement(), null, "targetStatus", null, 0, 1, Translation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-		initEReference(getTranslation_SourceStatus(), this.getNamedElement(), null, "sourceStatus", null, 0, 1, Translation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-		initEAttribute(getTranslation_Event(), ecorePackage.getEString(), "event", null, 0, 1, Translation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-		initEAttribute(getTranslation_Cond(), ecorePackage.getEString(), "cond", null, 0, 1, Translation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-		initEAttribute(getTranslation_Target(), ecorePackage.getEString(), "target", null, 0, 1, Translation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-		initEAttribute(getTranslation_Anchor(), ecorePackage.getEString(), "anchor", null, 0, 1, Translation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+		initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+		initEReference(getTransition_TargetStatus(), this.getNamedElement(), null, "targetStatus", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+		initEReference(getTransition_SourceStatus(), this.getNamedElement(), null, "sourceStatus", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+		initEAttribute(getTransition_Event(), ecorePackage.getEString(), "event", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+		initEAttribute(getTransition_Cond(), ecorePackage.getEString(), "cond", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+		initEAttribute(getTransition_Target(), ecorePackage.getEString(), "target", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+		initEAttribute(getTransition_Anchor(), ecorePackage.getEString(), "anchor", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
 
 		initEClass(assignEClass, Assign.class, "Assign", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
 		initEAttribute(getAssign_Location(), ecorePackage.getEString(), "location", null, 0, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1814,7 +1826,7 @@ public class ModelingPackageImpl extends
 		initEAttribute(getAssign_Expr(), ecorePackage.getEString(), "expr", null, 0, 1, Assign.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
 
 		initEClass(serviceTemplateEClass, ServiceTemplate.class, "ServiceTemplate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-		initEReference(getServiceTemplate_TransList(), this.getTranslation(), null, "transList", null, 0, -1, ServiceTemplate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+		initEReference(getServiceTemplate_TransList(), this.getTransition(), null, "transList", null, 0, -1, ServiceTemplate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
 		initEReference(getServiceTemplate_StateList(), this.getState(), null, "stateList", null, 0, -1, ServiceTemplate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
 		initEAttribute(getServiceTemplate_Initial(), ecorePackage.getEString(), "initial", null, 0, 1, ServiceTemplate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
 		initEAttribute(getServiceTemplate_Name(), ecorePackage.getEString(), "name", null, 0, 1, ServiceTemplate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/NamedElementImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/NamedElementImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/NamedElementImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/NamedElementImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */
@@ -11,7 +23,7 @@ import java.util.Collection;
 import org.apache.commons.scxml.modeling.DataModel;
 import org.apache.commons.scxml.modeling.ModelingPackage;
 import org.apache.commons.scxml.modeling.NamedElement;
-import org.apache.commons.scxml.modeling.Translation;
+import org.apache.commons.scxml.modeling.Transition;
 
 import org.eclipse.emf.common.notify.NotificationChain;
 
@@ -96,7 +108,7 @@ public class NamedElementImpl extends EO
 	 */
 	public EList getSourceConnection() {
 		if (sourceConnection == null) {
-			sourceConnection = new EObjectContainmentEList(Translation.class, this, ModelingPackage.NAMED_ELEMENT__SOURCE_CONNECTION);
+			sourceConnection = new EObjectContainmentEList(Transition.class, this, ModelingPackage.NAMED_ELEMENT__SOURCE_CONNECTION);
 		}
 		return sourceConnection;
 	}
@@ -108,7 +120,7 @@ public class NamedElementImpl extends EO
 	 */
 	public EList getTargetConnection() {
 		if (targetConnection == null) {
-			targetConnection = new EObjectContainmentEList(Translation.class, this, ModelingPackage.NAMED_ELEMENT__TARGET_CONNECTION);
+			targetConnection = new EObjectContainmentEList(Transition.class, this, ModelingPackage.NAMED_ELEMENT__TARGET_CONNECTION);
 		}
 		return targetConnection;
 	}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/OnEntryImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/OnEntryImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/OnEntryImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/OnEntryImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/OnExitImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/OnExitImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/OnExitImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/OnExitImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ParallelImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ParallelImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ParallelImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ParallelImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ParamImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ParamImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ParamImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ParamImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/RaiseImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/RaiseImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/RaiseImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/RaiseImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ScriptImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ScriptImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ScriptImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ScriptImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/SendImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/SendImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/SendImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/SendImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ServiceTemplateImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ServiceTemplateImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ServiceTemplateImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ServiceTemplateImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */
@@ -16,7 +28,7 @@ import org.apache.commons.scxml.modeling
 import org.apache.commons.scxml.modeling.Script;
 import org.apache.commons.scxml.modeling.ServiceTemplate;
 import org.apache.commons.scxml.modeling.State;
-import org.apache.commons.scxml.modeling.Translation;
+import org.apache.commons.scxml.modeling.Transition;
 
 import org.eclipse.emf.common.notify.Notification;
 import org.eclipse.emf.common.notify.NotificationChain;
@@ -273,7 +285,7 @@ public class ServiceTemplateImpl extends
 	 */
 	public EList getTransList() {
 		if (transList == null) {
-			transList = new EObjectContainmentEList(Translation.class, this, ModelingPackage.SERVICE_TEMPLATE__TRANS_LIST);
+			transList = new EObjectContainmentEList(Transition.class, this, ModelingPackage.SERVICE_TEMPLATE__TRANS_LIST);
 		}
 		return transList;
 	}

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/StateImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/StateImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/StateImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/StateImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */

Added: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/TransitionImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/TransitionImpl.java?rev=946880&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/TransitionImpl.java (added)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/TransitionImpl.java Fri May 21 05:43:10 2010
@@ -0,0 +1,457 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Id$
+ */
+package org.apache.commons.scxml.modeling.impl;
+
+import org.apache.commons.scxml.modeling.ModelingPackage;
+import org.apache.commons.scxml.modeling.NamedElement;
+import org.apache.commons.scxml.modeling.Transition;
+
+import org.eclipse.emf.common.notify.Notification;
+
+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>Transition</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.commons.scxml.modeling.impl.TransitionImpl#getTargetStatus <em>Target Status</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.modeling.impl.TransitionImpl#getSourceStatus <em>Source Status</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.modeling.impl.TransitionImpl#getEvent <em>Event</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.modeling.impl.TransitionImpl#getCond <em>Cond</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.modeling.impl.TransitionImpl#getTarget <em>Target</em>}</li>
+ *   <li>{@link org.apache.commons.scxml.modeling.impl.TransitionImpl#getAnchor <em>Anchor</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TransitionImpl extends EObjectImpl implements Transition {
+	/**
+	 * The cached value of the '{@link #getTargetStatus() <em>Target Status</em>}' reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getTargetStatus()
+	 * @generated
+	 * @ordered
+	 */
+	protected NamedElement targetStatus;
+
+	/**
+	 * The cached value of the '{@link #getSourceStatus() <em>Source Status</em>}' reference.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getSourceStatus()
+	 * @generated
+	 * @ordered
+	 */
+	protected NamedElement sourceStatus;
+
+	/**
+	 * The default value of the '{@link #getEvent() <em>Event</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getEvent()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String EVENT_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getEvent() <em>Event</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getEvent()
+	 * @generated
+	 * @ordered
+	 */
+	protected String event = EVENT_EDEFAULT;
+
+	/**
+	 * The default value of the '{@link #getCond() <em>Cond</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getCond()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String COND_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getCond() <em>Cond</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getCond()
+	 * @generated
+	 * @ordered
+	 */
+	protected String cond = COND_EDEFAULT;
+
+	/**
+	 * The default value of the '{@link #getTarget() <em>Target</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getTarget()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String TARGET_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getTarget() <em>Target</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getTarget()
+	 * @generated
+	 * @ordered
+	 */
+	protected String target = TARGET_EDEFAULT;
+
+	/**
+	 * The default value of the '{@link #getAnchor() <em>Anchor</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getAnchor()
+	 * @generated
+	 * @ordered
+	 */
+	protected static final String ANCHOR_EDEFAULT = null;
+
+	/**
+	 * The cached value of the '{@link #getAnchor() <em>Anchor</em>}' attribute.
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @see #getAnchor()
+	 * @generated
+	 * @ordered
+	 */
+	protected String anchor = ANCHOR_EDEFAULT;
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected TransitionImpl() {
+		super();
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	protected EClass eStaticClass() {
+		return ModelingPackage.Literals.TRANSITION;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public NamedElement getTargetStatus() {
+		if (targetStatus != null && targetStatus.eIsProxy()) {
+			InternalEObject oldTargetStatus = (InternalEObject)targetStatus;
+			targetStatus = (NamedElement)eResolveProxy(oldTargetStatus);
+			if (targetStatus != oldTargetStatus) {
+				if (eNotificationRequired())
+					eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelingPackage.TRANSITION__TARGET_STATUS, oldTargetStatus, targetStatus));
+			}
+		}
+		return targetStatus;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public NamedElement basicGetTargetStatus() {
+		return targetStatus;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setTargetStatus(NamedElement newTargetStatus) {
+		NamedElement oldTargetStatus = targetStatus;
+		targetStatus = newTargetStatus;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.TRANSITION__TARGET_STATUS, oldTargetStatus, targetStatus));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public NamedElement getSourceStatus() {
+		if (sourceStatus != null && sourceStatus.eIsProxy()) {
+			InternalEObject oldSourceStatus = (InternalEObject)sourceStatus;
+			sourceStatus = (NamedElement)eResolveProxy(oldSourceStatus);
+			if (sourceStatus != oldSourceStatus) {
+				if (eNotificationRequired())
+					eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelingPackage.TRANSITION__SOURCE_STATUS, oldSourceStatus, sourceStatus));
+			}
+		}
+		return sourceStatus;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public NamedElement basicGetSourceStatus() {
+		return sourceStatus;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setSourceStatus(NamedElement newSourceStatus) {
+		NamedElement oldSourceStatus = sourceStatus;
+		sourceStatus = newSourceStatus;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.TRANSITION__SOURCE_STATUS, oldSourceStatus, sourceStatus));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getEvent() {
+		return event;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setEvent(String newEvent) {
+		String oldEvent = event;
+		event = newEvent;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.TRANSITION__EVENT, oldEvent, event));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getCond() {
+		return cond;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setCond(String newCond) {
+		String oldCond = cond;
+		cond = newCond;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.TRANSITION__COND, oldCond, cond));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getTarget() {
+		return target;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setTarget(String newTarget) {
+		String oldTarget = target;
+		target = newTarget;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.TRANSITION__TARGET, oldTarget, target));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public String getAnchor() {
+		return anchor;
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void setAnchor(String newAnchor) {
+		String oldAnchor = anchor;
+		anchor = newAnchor;
+		if (eNotificationRequired())
+			eNotify(new ENotificationImpl(this, Notification.SET, ModelingPackage.TRANSITION__ANCHOR, oldAnchor, anchor));
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public Object eGet(int featureID, boolean resolve, boolean coreType) {
+		switch (featureID) {
+			case ModelingPackage.TRANSITION__TARGET_STATUS:
+				if (resolve) return getTargetStatus();
+				return basicGetTargetStatus();
+			case ModelingPackage.TRANSITION__SOURCE_STATUS:
+				if (resolve) return getSourceStatus();
+				return basicGetSourceStatus();
+			case ModelingPackage.TRANSITION__EVENT:
+				return getEvent();
+			case ModelingPackage.TRANSITION__COND:
+				return getCond();
+			case ModelingPackage.TRANSITION__TARGET:
+				return getTarget();
+			case ModelingPackage.TRANSITION__ANCHOR:
+				return getAnchor();
+		}
+		return super.eGet(featureID, resolve, coreType);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eSet(int featureID, Object newValue) {
+		switch (featureID) {
+			case ModelingPackage.TRANSITION__TARGET_STATUS:
+				setTargetStatus((NamedElement)newValue);
+				return;
+			case ModelingPackage.TRANSITION__SOURCE_STATUS:
+				setSourceStatus((NamedElement)newValue);
+				return;
+			case ModelingPackage.TRANSITION__EVENT:
+				setEvent((String)newValue);
+				return;
+			case ModelingPackage.TRANSITION__COND:
+				setCond((String)newValue);
+				return;
+			case ModelingPackage.TRANSITION__TARGET:
+				setTarget((String)newValue);
+				return;
+			case ModelingPackage.TRANSITION__ANCHOR:
+				setAnchor((String)newValue);
+				return;
+		}
+		super.eSet(featureID, newValue);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public void eUnset(int featureID) {
+		switch (featureID) {
+			case ModelingPackage.TRANSITION__TARGET_STATUS:
+				setTargetStatus((NamedElement)null);
+				return;
+			case ModelingPackage.TRANSITION__SOURCE_STATUS:
+				setSourceStatus((NamedElement)null);
+				return;
+			case ModelingPackage.TRANSITION__EVENT:
+				setEvent(EVENT_EDEFAULT);
+				return;
+			case ModelingPackage.TRANSITION__COND:
+				setCond(COND_EDEFAULT);
+				return;
+			case ModelingPackage.TRANSITION__TARGET:
+				setTarget(TARGET_EDEFAULT);
+				return;
+			case ModelingPackage.TRANSITION__ANCHOR:
+				setAnchor(ANCHOR_EDEFAULT);
+				return;
+		}
+		super.eUnset(featureID);
+	}
+
+	/**
+	 * <!-- begin-user-doc -->
+	 * <!-- end-user-doc -->
+	 * @generated
+	 */
+	public boolean eIsSet(int featureID) {
+		switch (featureID) {
+			case ModelingPackage.TRANSITION__TARGET_STATUS:
+				return targetStatus != null;
+			case ModelingPackage.TRANSITION__SOURCE_STATUS:
+				return sourceStatus != null;
+			case ModelingPackage.TRANSITION__EVENT:
+				return EVENT_EDEFAULT == null ? event != null : !EVENT_EDEFAULT.equals(event);
+			case ModelingPackage.TRANSITION__COND:
+				return COND_EDEFAULT == null ? cond != null : !COND_EDEFAULT.equals(cond);
+			case ModelingPackage.TRANSITION__TARGET:
+				return TARGET_EDEFAULT == null ? target != null : !TARGET_EDEFAULT.equals(target);
+			case ModelingPackage.TRANSITION__ANCHOR:
+				return ANCHOR_EDEFAULT == null ? anchor != null : !ANCHOR_EDEFAULT.equals(anchor);
+		}
+		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(" (event: ");
+		result.append(event);
+		result.append(", cond: ");
+		result.append(cond);
+		result.append(", target: ");
+		result.append(target);
+		result.append(", anchor: ");
+		result.append(anchor);
+		result.append(')');
+		return result.toString();
+	}
+
+} //TransitionImpl

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

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ValidateImpl.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ValidateImpl.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ValidateImpl.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/impl/ValidateImpl.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/util/ModelingAdapterFactory.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/util/ModelingAdapterFactory.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/util/ModelingAdapterFactory.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/util/ModelingAdapterFactory.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */
@@ -76,8 +88,8 @@ public class ModelingAdapterFactory exte
 			public Object caseState(State object) {
 				return createStateAdapter();
 			}
-			public Object caseTranslation(Translation object) {
-				return createTranslationAdapter();
+			public Object caseTransition(Transition object) {
+				return createTransitionAdapter();
 			}
 			public Object caseAssign(Assign object) {
 				return createAssignAdapter();
@@ -207,16 +219,16 @@ public class ModelingAdapterFactory exte
 	}
 
 	/**
-	 * Creates a new adapter for an object of class '{@link org.apache.commons.scxml.modeling.Translation <em>Translation</em>}'.
+	 * Creates a new adapter for an object of class '{@link org.apache.commons.scxml.modeling.Transition <em>Transition</em>}'.
 	 * <!-- begin-user-doc -->
 	 * This default implementation returns null so that we can easily ignore cases;
 	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
 	 * <!-- end-user-doc -->
 	 * @return the new adapter.
-	 * @see org.apache.commons.scxml.modeling.Translation
+	 * @see org.apache.commons.scxml.modeling.Transition
 	 * @generated
 	 */
-	public Adapter createTranslationAdapter() {
+	public Adapter createTransitionAdapter() {
 		return null;
 	}
 

Modified: commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/util/ModelingSwitch.java
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/util/ModelingSwitch.java?rev=946880&r1=946879&r2=946880&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/util/ModelingSwitch.java (original)
+++ commons/sandbox/gsoc/2010/scxml-eclipse/trunk/src/main/java/org.apache.commons.scxml.modeling/src/org/apache/commons/scxml/modeling/util/ModelingSwitch.java Fri May 21 05:43:10 2010
@@ -1,6 +1,18 @@
 /**
- * <copyright>
- * </copyright>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  *
  * $Id$
  */
@@ -100,9 +112,9 @@ public class ModelingSwitch {
 				if (result == null) result = defaultCase(theEObject);
 				return result;
 			}
-			case ModelingPackage.TRANSLATION: {
-				Translation translation = (Translation)theEObject;
-				Object result = caseTranslation(translation);
+			case ModelingPackage.TRANSITION: {
+				Transition transition = (Transition)theEObject;
+				Object result = caseTransition(transition);
 				if (result == null) result = defaultCase(theEObject);
 				return result;
 			}
@@ -318,17 +330,17 @@ public class ModelingSwitch {
 	}
 
 	/**
-	 * Returns the result of interpreting the object as an instance of '<em>Translation</em>'.
+	 * Returns the result of interpreting the object as an instance of '<em>Transition</em>'.
 	 * <!-- begin-user-doc -->
 	 * This implementation returns null;
 	 * returning a non-null result will terminate the switch.
 	 * <!-- end-user-doc -->
 	 * @param object the target of the switch.
-	 * @return the result of interpreting the object as an instance of '<em>Translation</em>'.
+	 * @return the result of interpreting the object as an instance of '<em>Transition</em>'.
 	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
 	 * @generated
 	 */
-	public Object caseTranslation(Translation object) {
+	public Object caseTransition(Transition object) {
 		return null;
 	}
 



Mime
View raw message