edu.stanford.protege.webprotege.entity.CreateDataPropertiesAction 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.OWLDataProperty;
import javax.annotation.Nonnull;
/**
* Author: Matthew Horridge
* Stanford University
* Bio-Medical Informatics Research Group
* Date: 25/03/2013
*/
@JsonTypeName("webprotege.entities.CreateDataProperties")
public record CreateDataPropertiesAction(@Nonnull ChangeRequestId changeRequestId,
@Nonnull ProjectId projectId,
@Nonnull String sourceText,
@Nonnull String langTag,
ImmutableSet parents) implements ProjectAction, ContentChangeRequest {
public static final String CHANNEL = "webprotege.entities.CreateDataProperties";
@Override
public String getChannel() {
return CHANNEL;
}
}