public String getUnity(PmiStatsType pmiStatsType, E statistic) {
   String unity = (pmiStatsType.isUnit()) ? "_" + statistic.getUnit() + " " : " ";
   if ("N/A".equals(statistic.getUnit()) || statistic.getUnit() == null) {
     unity = " ";
   }
   return unity.toLowerCase();
 }
 public String getMetricSeparator(PmiStatsType pmiStatsType) {
   if (pmiStatsType.isSeparateMetric()) {
     return ".";
   } else {
     return "_";
   }
 }
 public ParserDoubleStatistic(
     PmiStatsType pmiStatsType,
     WSStatistic wsStatistic,
     String node,
     String prefix,
     String metricName) {
   this.metricName = metricName;
   this.metricSeparator = getMetricSeparator(pmiStatsType);
   this.parserStatistic = (E) wsStatistic;
   this.unity = this.getUnity(pmiStatsType, this.parserStatistic);
   this.mapPmiStatsType = pmiStatsType.getDoubleStatisc();
   this.prefix = prefix;
   this.node = node;
 }