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

com.netgrif.application.engine.history.domain.caseevents.CreateCaseEventLog 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.petrinet.domain.events.EventPhase;
import com.netgrif.application.engine.workflow.domain.Case;
import com.netgrif.application.engine.workflow.domain.DataField;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Map;

public class CreateCaseEventLog extends CaseEventLog {

    @Field("activePlaces")
    private Map activePlaces;

    @Field("dataSetValues")
    private Map dataSetValues;

    public CreateCaseEventLog(Case useCase, EventPhase eventPhase) {
        super(useCase, eventPhase);
        this.activePlaces = useCase.getActivePlaces();
        this.dataSetValues = useCase.getDataSet();
    }

    public void setActivePlaces(Map places) {
        this.activePlaces = places;
    }

    public void setDataSetValues(Map values) {
        this.dataSetValues = values;
    }

    public Map getActivePlaces() {
        return activePlaces;
    }

    public Map getDataSetValues() {
        return dataSetValues;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy