Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAudrey Denk2021-07-08 22:33:36 +0000
committerRyan T. Baldwin2021-07-08 22:33:36 +0000
commitee656a245e684e8fb1b9fbfbdaf3a79210d63664 (patch)
treeb7220efb6720dd558c7ea1efe5c7b6fbefa400f6 /plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee
parent9bb12cd3d645a3ccd788e536837eb4d735183c27 (diff)
downloadorg.eclipse.osee-ee656a245e684e8fb1b9fbfbdaf3a79210d63664.tar.gz
org.eclipse.osee-ee656a245e684e8fb1b9fbfbdaf3a79210d63664.tar.xz
org.eclipse.osee-ee656a245e684e8fb1b9fbfbdaf3a79210d63664.zip
feature[TW19363]: Add support for multi-valued features on PLE Web
Change-Id: I0c3b1fb63bcc7627f5f039d19b24d37a9fc72ebb Signed-off-by: Audrey Denk <audrey.e.denk@boeing.com>
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee')
-rw-r--r--plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/applicability/NameValuePair.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/applicability/NameValuePair.java b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/applicability/NameValuePair.java
index 370115b5aae..5449942ab82 100644
--- a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/applicability/NameValuePair.java
+++ b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/applicability/NameValuePair.java
@@ -16,9 +16,13 @@
*/
package org.eclipse.osee.framework.core.applicability;
+import java.util.Arrays;
+import java.util.List;
+
public class NameValuePair {
private String Name;
private String Value;
+ private List<String> Values;
public NameValuePair() {
this("", "");
@@ -27,6 +31,7 @@ public class NameValuePair {
public NameValuePair(String name, String value) {
this.setName(name);
this.setValue(value);
+ this.setValues(Arrays.asList(value.split(",")));
}
public void setName(String name) {
@@ -44,4 +49,12 @@ public class NameValuePair {
public String getValue() {
return this.Value;
}
+
+ public List<String> getValues() {
+ return Values;
+ }
+
+ public void setValues(List<String> values) {
+ Values = values;
+ }
} \ No newline at end of file

Back to the top