Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2014-03-17 14:36:49 -0400
committerRyan D. Brooks2014-03-17 14:36:49 -0400
commit9d00587a56d20ed83eb38f37b4df949dc6739232 (patch)
tree69ad67317db14247f90efb19f6ff942b545dc0a2 /plugins/org.eclipse.osee.disposition.rest.model
parentc965addc7aaf78ec4dd913f15fb8454e8d34464f (diff)
downloadorg.eclipse.osee-9d00587a56d20ed83eb38f37b4df949dc6739232.tar.gz
org.eclipse.osee-9d00587a56d20ed83eb38f37b4df949dc6739232.tar.xz
org.eclipse.osee-9d00587a56d20ed83eb38f37b4df949dc6739232.zip
feature[ats_ATS19845]: Convert Dispo to use Program tokens
Diffstat (limited to 'plugins/org.eclipse.osee.disposition.rest.model')
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoProgram.java24
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoProgramImpl.java54
2 files changed, 78 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoProgram.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoProgram.java
new file mode 100644
index 0000000000..0bbf314f2d
--- /dev/null
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoProgram.java
@@ -0,0 +1,24 @@
+/*******************************************************************************
+ * Copyright (c) 2013 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.disposition.model;
+
+/**
+ * @author Donald G. Dunne
+ */
+public interface DispoProgram {
+
+ public String getGuid();
+
+ public Long getUuid();
+
+ public String getName();
+
+}
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoProgramImpl.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoProgramImpl.java
new file mode 100644
index 0000000000..b040bacf5a
--- /dev/null
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoProgramImpl.java
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (c) 2013 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.disposition.model;
+
+/**
+ * @author Donald G. Dunne
+ */
+public class DispoProgramImpl implements DispoProgram {
+
+ private String name;
+ private String guid;
+ private Long uuid;
+
+ public DispoProgramImpl(String name, String guid, Long uuid) {
+ this.name = name;
+ this.guid = guid;
+ this.uuid = uuid;
+ }
+
+ @Override
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ @Override
+ public String getGuid() {
+ return guid;
+ }
+
+ public void setGuid(String guid) {
+ this.guid = guid;
+ }
+
+ @Override
+ public Long getUuid() {
+ return uuid;
+ }
+
+ public void setUuid(Long uuid) {
+ this.uuid = uuid;
+ }
+}

Back to the top