/*
* Copyright (C) 2006-2016 DLR, Germany
*
* All rights reserved
*
* http://www.rcenvironment.de/
*/
package de.rcenvironment.core.component.datamanagement.api;
import java.io.IOException;
import java.io.Serializable;
import de.rcenvironment.core.datamodel.api.TypedDatumSerializer;
/**
* Defines a data point generated by workflow components and mainly shows in the Workflow Data Browser
* .
* @author Doreen Seider
*/
public interface ComponentHistoryDataItem extends Serializable {
/**
* @return identifier of this data point object. With the help of this identifier the appropriate sub tree builder is found.
*/
String getIdentifier();
/**
* @param serializer {@link TypedDatumSerializer}
* @return serialized representation of this object
* @throws IOException if serialization failed
*/
String serialize(TypedDatumSerializer serializer) throws IOException;
}