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/OSEEPerson1_4.java')
-rw-r--r--plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OSEEPerson1_4.java71
1 files changed, 0 insertions, 71 deletions
diff --git a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OSEEPerson1_4.java b/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OSEEPerson1_4.java
deleted file mode 100644
index 9c0d1f55bf1..00000000000
--- a/plugins/org.eclipse.osee.ote.core/src/org/eclipse/osee/ote/core/OSEEPerson1_4.java
+++ /dev/null
@@ -1,71 +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;
-
-import java.io.Serializable;
-
-public class OSEEPerson1_4 implements Serializable {
-
- private static final long serialVersionUID = 6345874159597384661L;
-
- private final String name;
-
- private final String email;
-
- private final String id;
-
- public OSEEPerson1_4(String name, String email, String id) {
- this.name = name;
- this.email = email;
- this.id = id;
- }
-
- public String getEmail() {
- return email;
- }
-
- public String getId() {
- return id;
- }
-
- public String getName() {
- return name;
- }
-
- @Override
- public boolean equals(Object arg0) {
- if (arg0 instanceof OSEEPerson1_4) {
- OSEEPerson1_4 person = (OSEEPerson1_4) arg0;
- return person.name.equals(this.name) && person.email.equals(this.email) && person.id.equals(this.id);
- }
- return false;
- }
-
- @Override
- public int hashCode() {
- int hashCode = 0;
- if (name != null) {
- hashCode += name.hashCode();
- }
- if (email != null) {
- hashCode += email.hashCode();
- }
- if (id != null) {
- hashCode += id.hashCode();
- }
- return hashCode;
- }
-
- @Override
- public String toString() {
- return name + ":" + email + ":" + id + " hash=" + hashCode();
- }
-}

Back to the top