package org.yournamehere.client;

import java.util.LinkedHashMap;

public class Cell {
    private String value;
    private LinkedHashMap<String, String> valueMap;

    public Cell(String value) { setData(value); }
    public Cell(LinkedHashMap<String, String> value, String id) { valueMap = value; this.value = id; }
    public void setData(String value) { this.value = value; }
    public String data() { return value; }
    public boolean hasValueMap() { return valueMap != null; }
    public LinkedHashMap<String, String> valueMap() { return valueMap; }
    @Override
    public String toString() { return value; }
}
