All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.takari.bpm.model.diagram.ProcessDiagram Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package io.takari.bpm.model.diagram;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

public class ProcessDiagram implements Serializable {

    private static final long serialVersionUID = 1L;

    private final String id;
    private final List shapes;
    private final List edges;

    public ProcessDiagram(String id) {
        this(id, Collections.emptyList(), Collections.emptyList());
    }

    public ProcessDiagram(String id, List shapes, List edges) {
        this.id = id;
        this.shapes = shapes;
        this.edges = edges;
    }

    public List getEdges() {
        return edges;
    }

    public List getShapes() {
        return shapes;
    }

    public String getId() {
        return id;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy