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

edu.stanford.protege.webprotege.project.GetProjectPrefixDeclarationsResponse Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.common.collect.ImmutableList;
import edu.stanford.protege.webprotege.common.ProjectId;
import edu.stanford.protege.webprotege.dispatch.Result;

import static com.google.common.base.Preconditions.checkNotNull;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 27 Feb 2018
 */
@JsonTypeName("webprotege.projects.GetProjectPrefixDeclarations")
public record GetProjectPrefixDeclarationsResponse(ProjectId projectId, ImmutableList prefixDeclarations) implements Result {

    public GetProjectPrefixDeclarationsResponse(ProjectId projectId,
                                                ImmutableList prefixDeclarations) {
        this.projectId = checkNotNull(projectId);
        this.prefixDeclarations = checkNotNull(prefixDeclarations);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy