class Flow {

    public FlowPart getPart(String path, FlowStatus status) {
        for (FlowPart part : getParts()) {
            if (path.equals(part.getPath()) && (status == part.getStatus())) {
                return part;
            }
        }
        return null;
    }

    public  Flow();
    public  Flow(String application);

}