edu.stanford.protege.webprotege.event.EntityDeprecationStatusChangedEvent Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.event;
import com.fasterxml.jackson.annotation.JsonTypeName;
import edu.stanford.protege.webprotege.common.EventId;
import edu.stanford.protege.webprotege.common.ProjectEvent;
import edu.stanford.protege.webprotege.common.ProjectId;
import org.semanticweb.owlapi.model.OWLEntity;
/**
* Author: Matthew Horridge
* Stanford University
* Bio-Medical Informatics Research Group
* Date: 21/03/2013
*/
@JsonTypeName("webprotege.events.entities.EntityDeprecationStatusChanged")
public record EntityDeprecationStatusChangedEvent(EventId eventId,
ProjectId projectId,
OWLEntity entity,
boolean deprecated) implements ProjectEvent {
public static final String CHANNEL = "webprotege.events.entities.EntityDeprecationStatusChanged";
@Override
public String getChannel() {
return CHANNEL;
}
}