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

com.netgrif.application.engine.history.domain.caseevents.CaseEventLog Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.4.0
Show newest version
package com.netgrif.application.engine.history.domain.caseevents;

import com.netgrif.application.engine.history.domain.petrinetevents.PetriNetEventLog;
import com.netgrif.application.engine.petrinet.domain.events.EventPhase;
import com.netgrif.application.engine.workflow.domain.Case;
import org.bson.types.ObjectId;

public abstract class CaseEventLog extends PetriNetEventLog {

    protected String caseId;

    protected String caseTitle;

    protected CaseEventLog() {
        super();
    }

    protected CaseEventLog(ObjectId triggerId, Case useCase, EventPhase eventPhase) {
        super(triggerId, eventPhase, useCase.getPetriNetObjectId());
        this.caseId = useCase.getStringId();
        this.caseTitle = useCase.getTitle();
    }

    protected CaseEventLog(Case useCase, EventPhase eventPhase) {
        this(useCase.get_id(), useCase, eventPhase);
        this.caseId = useCase.getStringId();
        this.caseTitle = useCase.getTitle();
    }

    public void setCaseId(String caseId) {
        this.caseId = caseId;
    }

    public void setCaseTitle(String caseTitle) {
        this.caseTitle = caseTitle;
    }

    public String getCaseId() {
        return caseId;
    }

    public String getCaseTitle() {
        return caseTitle;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy