diff options
author | xuegao <xue.gao@intl.att.com> | 2021-03-11 20:04:46 +0100 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2021-03-12 11:52:36 +0000 |
commit | 6387653c4058694b0cb6bf53efc64e79918b87e2 (patch) | |
tree | 1e394a398da1893c422b5c327317d14a9b69d298 /openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src | |
parent | f54b124ccfcf596e19d19ba2d24fd2702cd73c8d (diff) |
Adding unit tests
Adding unit tests to improve test coverage.
Issue-ID: SDC-3428
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: I685f01886b314dea9b8507afd93937e070d7501d
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/dao/types/xml/LimitXml.java | 53 |
1 files changed, 5 insertions, 48 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/dao/types/xml/LimitXml.java b/openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/dao/types/xml/LimitXml.java index 9cc1aed72b..0c989cb3f9 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/dao/types/xml/LimitXml.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-license-lib/openecomp-sdc-vendor-license-api/src/main/java/org/openecomp/sdc/vendorlicense/dao/types/xml/LimitXml.java @@ -20,6 +20,11 @@ package org.openecomp.sdc.vendorlicense.dao.types.xml; +import lombok.Getter; +import lombok.Setter; + +@Getter +@Setter public class LimitXml { String description; String metric; @@ -28,54 +33,6 @@ public class LimitXml { String time; String aggregationFunction; - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getMetric() { - return metric; - } - - public void setMetric(String metric) { - this.metric = metric; - } - - public String getValues() { - return values; - } - - public void setValues(String values) { - this.values = values; - } - - public String getUnit() { - return unit; - } - - public void setUnit(String unit) { - this.unit = unit; - } - - public String getTime() { - return time; - } - - public void setTime(String time) { - this.time = time; - } - - public String getAggregationFunction() { - return aggregationFunction; - } - - public void setAggregationFunction(String aggregationFunction) { - this.aggregationFunction = aggregationFunction; - } - public EntitlementTimeForXml getTimeForArtifact() { EntitlementTimeForXml timeForXml = new EntitlementTimeForXml(); if (time != null) { |