Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java')
-rw-r--r--plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java36
1 files changed, 18 insertions, 18 deletions
diff --git a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java
index acea8aa2a03..ead420c56aa 100644
--- a/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java
+++ b/plugins/sysml/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/interactions/internal/impl/InteractionsFactoryImpl.java
@@ -1,7 +1,7 @@
/*****************************************************************************
* Copyright (c) 2009 CEA LIST.
*
- *
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -25,14 +25,14 @@ import org.eclipse.papyrus.sysml.interactions.InteractionsPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public class InteractionsFactoryImpl extends EFactoryImpl implements InteractionsFactory {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @deprecated
* @generated
*/
@@ -45,13 +45,13 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
* Creates the default factory implementation.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public static InteractionsFactory init() {
try {
- InteractionsFactory theInteractionsFactory = (InteractionsFactory)EPackage.Registry.INSTANCE.getEFactory(InteractionsPackage.eNS_URI);
- if(theInteractionsFactory != null) {
+ InteractionsFactory theInteractionsFactory = (InteractionsFactory) EPackage.Registry.INSTANCE.getEFactory(InteractionsPackage.eNS_URI);
+ if (theInteractionsFactory != null) {
return theInteractionsFactory;
}
} catch (Exception exception) {
@@ -64,7 +64,7 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
* Creates an instance of the factory.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
+ *
* @generated
*/
public InteractionsFactoryImpl() {
@@ -73,7 +73,7 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String convertDummyToString(EDataType eDataType, Object instanceValue) {
@@ -82,12 +82,12 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case InteractionsPackage.DUMMY:
return convertDummyToString(eDataType, instanceValue);
default:
@@ -97,12 +97,12 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
+ switch (eClass.getClassifierID()) {
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -110,21 +110,21 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public String createDummyFromString(EDataType eDataType, String initialValue) {
- return (String)super.createFromString(eDataType, initialValue);
+ return (String) super.createFromString(eDataType, initialValue);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
+ switch (eDataType.getClassifierID()) {
case InteractionsPackage.DUMMY:
return createDummyFromString(eDataType, initialValue);
default:
@@ -134,11 +134,11 @@ public class InteractionsFactoryImpl extends EFactoryImpl implements Interaction
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
public InteractionsPackage getInteractionsPackage() {
- return (InteractionsPackage)getEPackage();
+ return (InteractionsPackage) getEPackage();
}
} // InteractionsFactoryImpl

Back to the top