All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.protege.webprotege.merge_add.MergeOntologiesAction Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.merge_add;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
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.csv.DocumentId;
import edu.stanford.protege.webprotege.dispatch.ProjectAction;
import org.semanticweb.owlapi.model.OWLOntologyID;

import java.util.List;



@JsonTypeName("webprotege.ontologies.MergeOntologies")
public record MergeOntologiesAction(@JsonProperty("changeRequestId") ChangeRequestId changeRequestId,
                                    @JsonProperty("projectId") ProjectId projectId,
                                    @JsonProperty("documentId") DocumentId documentId,
                                    @JsonProperty("iri") String iri,
                                    @JsonProperty("ontologyList") List ontologyList) implements ProjectAction, ContentChangeRequest {

    public static final String CHANNEL = "webprotege.ontologies.MergeOntologies";

    @Override
    public String getChannel() {
        return CHANNEL;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy