/* * Copyright (C) 2006-2016 DLR, Germany * * All rights reserved * * http://www.rcenvironment.de/ */ package de.rcenvironment.core.datamanagement.commons; import java.io.Serializable; import de.rcenvironment.core.datamodel.api.TimelineIntervalType; /** * Identifier for a timeline interval of a component run. * * @author Jan Flink */ public class ComponentRunInterval extends TimelineInterval implements Serializable { private static final long serialVersionUID = 8007213873078241795L; private final String componentID; private final String componentInstanceName; public ComponentRunInterval(String componentID, String componentInstanceName, TimelineIntervalType type, Long starttime, Long endtime) { super(type, starttime, endtime); this.componentID = componentID; this.componentInstanceName = componentInstanceName; } public String getComponentID() { return componentID; } public String getComponentInstanceName() { return componentInstanceName; } }