class Checkpoint extends InternalDatabusEventsListenerAbstract implements Serializable, Cloneable {

  @SuppressWarnings("unchecked")
  public Checkpoint(String serializedCheckpoint) throws JsonParseException,
      JsonMappingException,
      IOException
  {
    this();
    internalData.putAll(mapper.readValue(new ByteArrayInputStream(serializedCheckpoint.getBytes(Charset.defaultCharset())),
                                         Map.class));
    // copy from map to local state variables
    mapToInternalState();

  }

  @SuppressWarnings("unchecked") public  Checkpoint(String serializedCheckpoint);
  public  Checkpoint();

}