edu.stanford.protege.webprotege.entity.CreateAnnotationPropertiesAction Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
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.ProjectId;
import org.semanticweb.owlapi.model.OWLAnnotationProperty;
import javax.annotation.Nonnull;
/**
* Author: Matthew Horridge
* Stanford University
* Bio-Medical Informatics Research Group
* Date: 25/03/2013
*/
@JsonTypeName("webprotege.entities.CreateAnnotationProperties")
public record CreateAnnotationPropertiesAction(@JsonProperty("changeRequestId") ChangeRequestId changeRequestId,
@JsonProperty("projectId") @Nonnull ProjectId projectId,
@JsonProperty("sourceText") @Nonnull String sourceText,
@JsonProperty("langTag") @Nonnull String langTag,
@JsonProperty("parents") @Nonnull ImmutableSet parents) implements CreateEntitiesInHierarchyAction {
public static final String CHANNEL = "webprotege.entities.CreateAnnotationProperties";
@Override
public String getChannel() {
return CHANNEL;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy