package com.visenze.visearch;

import java.util.Map;

public class ImageResult {

    private final String imName;
    private final Map<String, Object> metadata;
    private final Float score;

    public ImageResult(String imName, Map<String, Object> metatdata, Float score) {
        this.imName = imName;
        this.metadata = metatdata;
        this.score = score;
    }

    public String getImName() {
        return imName;
    }

    public Map<String, Object> getMetadata() {
        return metadata;
    }

    public Float getScore() {
        return score;
    }

}

@@ -134,30 +134,30 @@
 Map%3CString, 
-Object
+String
 %3E metadata;%0A
@@ -238,22 +238,22 @@
 String, 
-Object
+String
 %3E metatd
@@ -461,14 +461,14 @@
 ng, 
-Object
+String
 %3E ge

Use string value for metadata map in image result for now