Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Avila2014-08-04 16:06:25 -0400
committerRoberto E. Escobar2014-09-29 18:54:58 -0400
commit402a8fd52714cb8abdc65340a1f39d1f09d9742b (patch)
treef44ef94d2b9e8de1da3d11efec8936203bd4d089 /plugins/org.eclipse.osee.disposition.rest.model
parent973913c112d5b2ec363b141a93a6038ef91845ca (diff)
downloadorg.eclipse.osee-402a8fd52714cb8abdc65340a1f39d1f09d9742b.tar.gz
org.eclipse.osee-402a8fd52714cb8abdc65340a1f39d1f09d9742b.tar.xz
org.eclipse.osee-402a8fd52714cb8abdc65340a1f39d1f09d9742b.zip
feature[ats_ATS72580]: Make Dispo configurable
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/DispoConfig.java77
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSet.java2
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java10
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetDescriptorData.java17
4 files changed, 102 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoConfig.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoConfig.java
new file mode 100644
index 0000000000..ee00495b30
--- /dev/null
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoConfig.java
@@ -0,0 +1,77 @@
+/*******************************************************************************
+ * Copyright (c) 2014 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 Angel Avila
+ */
+
+public class DispoConfig {
+
+ private String type;
+ private String name;
+ private String resolutionType;
+ private String resolutionTitle;
+ private String peerNotes;
+ private String customerNotes;
+
+ public DispoConfig() {
+
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public String getResolutionType() {
+ return resolutionType;
+ }
+
+ public String getResolutionTitle() {
+ return resolutionTitle;
+ }
+
+ public String getPeerNotes() {
+ return peerNotes;
+ }
+
+ public String getCustomerNotes() {
+ return customerNotes;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public void setResolutionType(String resolutionType) {
+ this.resolutionType = resolutionType;
+ }
+
+ public void setResolutionTitle(String resolutionTitle) {
+ this.resolutionTitle = resolutionTitle;
+ }
+
+ public void setPeerNotes(String peerNotes) {
+ this.peerNotes = peerNotes;
+ }
+
+ public void setCustomerNotes(String customerNotes) {
+ this.customerNotes = customerNotes;
+ }
+}
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSet.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSet.java
index 995e0933f3..8846e5a316 100644
--- a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSet.java
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSet.java
@@ -25,4 +25,6 @@ public interface DispoSet extends Identifiable<String> {
JSONArray getNotesList();
String getImportState();
+
+ DispoConfig getDispoConfig();
}
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java
index 2a7b923c2e..e777a013e0 100644
--- a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java
@@ -26,6 +26,7 @@ public class DispoSetData extends DispoSetDescriptorData implements DispoSet {
private String operation;
private JSONArray notesList;
private String importState;
+ private DispoConfig dispoConfig;
public DispoSetData() {
@@ -52,6 +53,10 @@ public class DispoSetData extends DispoSetDescriptorData implements DispoSet {
this.notesList = notesList;
}
+ public void setDispoConfig(DispoConfig dispoConfig) {
+ this.dispoConfig = dispoConfig;
+ }
+
@Override
public JSONArray getNotesList() {
return notesList;
@@ -75,4 +80,9 @@ public class DispoSetData extends DispoSetDescriptorData implements DispoSet {
}
return false;
}
+
+ @Override
+ public DispoConfig getDispoConfig() {
+ return dispoConfig;
+ }
}
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetDescriptorData.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetDescriptorData.java
index 3f1f90170d..d73c8ff031 100644
--- a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetDescriptorData.java
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetDescriptorData.java
@@ -22,21 +22,30 @@ public class DispoSetDescriptorData {
private String name;
private String importPath;
+ private String dispoType;
public String getName() {
return name;
}
- public void setName(String name) {
- this.name = name;
- }
-
public String getImportPath() {
return importPath;
}
+ public String getDispoType() {
+ return dispoType;
+ }
+
public void setImportPath(String importPath) {
this.importPath = importPath;
}
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public void setDispoType(String dispoType) {
+ this.dispoType = dispoType;
+ }
+
} \ No newline at end of file

Back to the top