summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-04-26 15:09:48 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-04-26 15:09:48 +0530
commitcefb231b6be16cf461e12e6eb7767ed639610773 (patch)
treee92bcc08707c0711b2ac018e2d4e48569727fe27 /framework
parent1dd8affa2b15d40392b538c16b2e1d8ea658bb1b (diff)
Add method for retrieving raw data from Parameter
Issue-ID: CLI-100 Change-Id: I83b049e6d71ef2daa1ef3cf66e0c99e1c3ad827c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java b/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java
index 3b689b10..23263c12 100644
--- a/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java
+++ b/framework/src/main/java/org/onap/cli/fw/input/OnapCommandParameter.java
@@ -270,7 +270,6 @@ public class OnapCommandParameter {
* @throws OnapCommandInvalidParameterValue
* exception
*/
- //mrkanag return value in the type format instead of string format
public Object getValue() {
if (value != null) {
return value;
@@ -278,6 +277,14 @@ public class OnapCommandParameter {
return getDefaultValue();
}
+ /**
+ * Returns the raw value
+ * @return
+ */
+ public Object getRawValue() {
+ return this.rawValue;
+ }
+
public void setValue(Object value) throws OnapCommandInvalidParameterValue {
this.rawValue = value;