com.netgrif.application.engine.petrinet.domain.events.Event Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.petrinet.domain.events;
import com.netgrif.application.engine.petrinet.domain.dataset.logic.action.Action;
import lombok.Data;
import java.util.stream.Collectors;
@Data
public class Event extends BaseEvent {
private EventType type;
@Override
public Event clone() {
Event clone = new Event();
clone.setId(this.getId());
clone.setTitle(this.getTitle() == null ? null : this.getTitle().clone());
clone.setMessage(this.getMessage() == null ? null : this.getMessage().clone());
clone.setPreActions(this.getPreActions() == null ? null : getPreActions().stream().map(Action::clone).collect(Collectors.toList()));
clone.setPostActions(this.getPostActions() == null ? null : getPostActions().stream().map(Action::clone).collect(Collectors.toList()));
clone.setType(this.type);
return clone;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy