// Path: src/main/java/org/springframework/extensions/workflow/instance/FlowInstanceDescriptor.java
// public interface FlowInstanceDescriptor {
// 
//     String getFlowDefinitionId();
// 
//     String getStateDefinitionId();
// 
//     void setStateDefinitionId(String stateDefinitionId);
// 
//     void setFlowDefinitionId(String flowDefinitionId);
// 
//     void setDateEntered(Date date);
// 
//     Date getDateEntered();
// 
//     boolean isWithTimeouts();
// 
//     void setWithTimeouts(boolean hasTimeouts);
//     
// }
// 
// Path: src/main/java/org/springframework/extensions/workflow/instance/FlowInstanceDescriptorPersister.java
// public interface FlowInstanceDescriptorPersister {
// 
//     void persist(FlowInstanceDescriptor descriptor);
// 
//     Iterator<? extends FlowInstanceDescriptor> getDescriptorsWithTimeoutsAndDateInPast();
// 
// }


import org.springframework.extensions.workflow.instance.FlowInstanceDescriptor;
import org.springframework.extensions.workflow.instance.FlowInstanceDescriptorPersister;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
package org.springframework.extensions.workflow.flow;



/**
 * @author janm
 */
public class LongFlowInstanceDescriptorPersister implements FlowInstanceDescriptorPersister {
    private LongFlowInstanceDescriptor descriptor;

    public LongFlowInstanceDescriptor getDescriptor() {
        return descriptor;
    }

// Path: src/main/java/org/springframework/extensions/workflow/instance/FlowInstanceDescriptor.java
// public interface FlowInstanceDescriptor {
// 
//     String getFlowDefinitionId();
// 
//     String getStateDefinitionId();
// 
//     void setStateDefinitionId(String stateDefinitionId);
// 
//     void setFlowDefinitionId(String flowDefinitionId);
// 
//     void setDateEntered(Date date);
// 
//     Date getDateEntered();
// 
//     boolean isWithTimeouts();
// 
//     void setWithTimeouts(boolean hasTimeouts);
//     
// }
// 
// Path: src/main/java/org/springframework/extensions/workflow/instance/FlowInstanceDescriptorPersister.java
// public interface FlowInstanceDescriptorPersister {
// 
//     void persist(FlowInstanceDescriptor descriptor);
// 
//     Iterator<? extends FlowInstanceDescriptor> getDescriptorsWithTimeoutsAndDateInPast();
// 
// }


// Path: src/test/java/org/springframework/extensions/workflow/flow/LongFlowInstanceDescriptorPersister.java
import org.springframework.extensions.workflow.instance.FlowInstanceDescriptor;
import org.springframework.extensions.workflow.instance.FlowInstanceDescriptorPersister;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

package org.springframework.extensions.workflow.flow;



/**
 * @author janm
 */
public class LongFlowInstanceDescriptorPersister implements FlowInstanceDescriptorPersister {
    private LongFlowInstanceDescriptor descriptor;

    public LongFlowInstanceDescriptor getDescriptor() {
        return descriptor;
    }

    public void persist(FlowInstanceDescriptor descriptor) {