edu.stanford.protege.webprotege.ontology.GetOntologyAnnotationsAction Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.ontology;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import edu.stanford.protege.webprotege.common.ProjectId;
import edu.stanford.protege.webprotege.dispatch.ProjectAction;
import org.semanticweb.owlapi.model.OWLOntologyID;
import javax.annotation.Nonnull;
import java.util.Optional;
/**
* Author: Matthew Horridge
* Stanford University
* Bio-Medical Informatics Research Group
* Date: 21/02/2013
*/
@JsonTypeName("webprotege.ontologies.GetOntologyAnnotations")
public record GetOntologyAnnotationsAction(@JsonProperty("projectId") @Nonnull ProjectId projectId,
@JsonProperty("ontologyId") @Nonnull Optional ontologyId) implements ProjectAction {
public static final String CHANNEL = "webprotege.ontologies.GetOntologyAnnotations";
@Override
public String getChannel() {
return CHANNEL;
}
}