edu.stanford.protege.webprotege.project.SetProjectPrefixDeclarationsResult Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.project;
import com.fasterxml.jackson.annotation.JsonTypeName;
import edu.stanford.protege.webprotege.common.ProjectId;
import edu.stanford.protege.webprotege.dispatch.Result;
import javax.annotation.Nonnull;
import java.util.List;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 1 Mar 2018
*/
@JsonTypeName("webprotege.projects.SetProjectPrefixDeclarations")
public record SetProjectPrefixDeclarationsResult(@Nonnull ProjectId projectId,
@Nonnull List prefixDeclarations) implements Result {
public SetProjectPrefixDeclarationsResult(@Nonnull ProjectId projectId,
@Nonnull List prefixDeclarations) {
this.projectId = checkNotNull(projectId);
this.prefixDeclarations = checkNotNull(prefixDeclarations);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy