Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java')
-rw-r--r--bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java83
1 files changed, 0 insertions, 83 deletions
diff --git a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java b/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java
deleted file mode 100644
index 0eccf1dd5..000000000
--- a/bundles/org.eclipse.wst.ws/src/org/eclipse/wst/ws/internal/wsrt/WebServiceScenario.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 2006 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * yyyymmdd bug Email and other contact information
- * -------- -------- -----------------------------------------------------------
- * 20060324 116750 rsinha@ca.ibm.com - Rupam Kuehner
- *******************************************************************************/
-package org.eclipse.wst.ws.internal.wsrt;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.AbstractEnumerator;
-
-
-public final class WebServiceScenario extends AbstractEnumerator
-{
-
- public static final int BOTTOMUP = 0;
- public static final int TOPDOWN = 1;
- public static final int CLIENT = 2;
-
- public static final WebServiceScenario BOTTOMUP_LITERAL = new WebServiceScenario(BOTTOMUP, "BOTTOMUP");
- public static final WebServiceScenario TOPDOWN_LITERAL = new WebServiceScenario(TOPDOWN, "TOPDOWN");
- public static final WebServiceScenario CLIENT_LITERAL = new WebServiceScenario(CLIENT, "CLIENT");
-
-
- private static final WebServiceScenario[] VALUES_ARRAY =
- new WebServiceScenario[]
- {
- BOTTOMUP_LITERAL,
- TOPDOWN_LITERAL,
- CLIENT_LITERAL,
- };
-
- public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
-
- public static WebServiceScenario get(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- WebServiceScenario result = VALUES_ARRAY[i];
- if (result.toString().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
-
- public static WebServiceScenario get(int value)
- {
- switch (value)
- {
- case BOTTOMUP: return BOTTOMUP_LITERAL;
- case TOPDOWN: return TOPDOWN_LITERAL;
- case CLIENT: return CLIENT_LITERAL;
- }
- return null;
- }
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private WebServiceScenario(int value, String name)
- {
- super(value, name);
- }
-
-
-} //WebServiceScenario

Back to the top