use of eu.europa.ec.fisheries.ers.service.dto.FluxCharacteristicsDto in project UVMS-ActivityModule-APP by UnionVMS.
the class ActivityDetailsDto method getCharacteristics.
@JsonProperty("characteristics")
@JsonView({ CommonView.class })
public Map<String, Set<Object>> getCharacteristics() {
Map<String, Set<Object>> characMap = null;
if (fluxCharacteristics != null) {
characMap = Maps.newHashMap();
for (FluxCharacteristicsDto fluxCharacteristicsDto : fluxCharacteristics) {
Double calculatedValueMeasure = fluxCharacteristicsDto.getCalculatedValueMeasure();
add("calculatedValueMeasure", calculatedValueMeasure, characMap);
Double calculatedValueQuantity = fluxCharacteristicsDto.getCalculatedValueQuantity();
add("calculatedValueQuantity", calculatedValueQuantity, characMap);
String description = fluxCharacteristicsDto.getDescription();
add("description", description, characMap);
String descriptionLanguageId = fluxCharacteristicsDto.getDescriptionLanguageId();
add("descriptionLanguageId", descriptionLanguageId, characMap);
String typeCode = fluxCharacteristicsDto.getTypeCode();
add("typeCode", typeCode, characMap);
String typeCodeListId = fluxCharacteristicsDto.getTypeCodeListId();
add("typeCodeListId", typeCodeListId, characMap);
Date valueDateTime = fluxCharacteristicsDto.getValueDateTime();
add("valueDateTime", valueDateTime, characMap);
String valueIndicator = fluxCharacteristicsDto.getValueIndicator();
add("valueIndicator", valueIndicator, characMap);
Double valueMeasure = fluxCharacteristicsDto.getValueMeasure();
add("valueMeasure", valueMeasure, characMap);
String valueMeasureUnitCode = fluxCharacteristicsDto.getValueMeasureUnitCode();
add("valueMeasureUnitCode", valueMeasureUnitCode, characMap);
Double valueQuantity = fluxCharacteristicsDto.getValueQuantity();
add("valueQuantity", valueQuantity, characMap);
String valueQuantityCode = fluxCharacteristicsDto.getValueQuantityCode();
add("valueQuantityCode", valueQuantityCode, characMap);
String valueLanguageId = fluxCharacteristicsDto.getValueLanguageId();
add("valueLanguageId", valueLanguageId, characMap);
String valueCode = fluxCharacteristicsDto.getValueCode();
add("valueCode", valueCode, characMap);
}
}
return characMap;
}
Aggregations