edu.stanford.protege.webprotege.entity.CreateObjectPropertiesAction Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.entity;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.common.collect.ImmutableSet;
import edu.stanford.protege.webprotege.common.ChangeRequestId;
import edu.stanford.protege.webprotege.common.ContentChangeRequest;
import edu.stanford.protege.webprotege.common.ProjectId;
import edu.stanford.protege.webprotege.dispatch.ProjectAction;
import org.semanticweb.owlapi.model.OWLObjectProperty;
import javax.annotation.Nonnull;
/**
* Author: Matthew Horridge
* Stanford University
* Bio-Medical Informatics Research Group
* Date: 25/03/2013
*/
@JsonTypeName("webprotege.entities.CreateObjectProperties")
public record CreateObjectPropertiesAction(@Nonnull ChangeRequestId changeRequestId,
@Nonnull ProjectId projectId,
@Nonnull String sourceText,
@Nonnull String langTag,
@Nonnull ImmutableSet parents) implements ProjectAction, ContentChangeRequest {
public static final String CHANNEL = "webprotege.entities.CreateObjectProperties";
@Override
public String getChannel() {
return CHANNEL;
}
}