super(Command.class);
}
@Override
public Map<String, String> mapFromObject(Object o) {
// TODO Auto-generated method stub
Command c = (Command) o;
Map<String, String> myMapping;
myMapping = new HashMap<String, String>();
myMapping.put(NAME_TAG, "command");
if(c.getCommand() != null)
myMapping.put(VALUE_TAG, c.getCommand());
if(c.getInterpereter()!= null)
myMapping.put("interpreter", c.getInterpereter());
return myMapping;
}