Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/environment/command/CommandDescription.java')
-rw-r--r--plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/environment/command/CommandDescription.java63
1 files changed, 0 insertions, 63 deletions
diff --git a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/environment/command/CommandDescription.java b/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/environment/command/CommandDescription.java
deleted file mode 100644
index 89900f7f893..00000000000
--- a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/environment/command/CommandDescription.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * 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:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ote.core.environment.command;
-
-import java.io.Serializable;
-import org.eclipse.osee.framework.jdk.core.util.GUID;
-
-/**
- * @author Robert A. Fisher
- */
-public class CommandDescription implements Serializable {
- private static final long serialVersionUID = 538355585678229304L;
- protected final String guid;
- protected final String description;
-
- /**
- * CommandDescription Constructor. Sets the command's description.
- */
- public CommandDescription(String description) {
- super();
- this.guid = GUID.create();
- this.description = description;
- }
-
- /**
- * @return Returns the description.
- */
- public String getDescription() {
- return description;
- }
-
- @Override
- public boolean equals(Object obj) {
-
- if (obj instanceof GUID) {
- return guid.equals(obj);
- } else if (obj instanceof CommandDescription) {
- return guid.equals(((CommandDescription) obj).guid);
- }
-
- return false;
- }
-
- /**
- * @return Returns the guid.
- */
- public String getGuid() {
- return guid;
- }
-
- @Override
- public String toString() {
- return "GUID: " + guid + "\n" + "Desc: " + description;
- }
-}

Back to the top