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

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

There is a newer version: 2.1.0
Show newest version
package edu.stanford.protege.webprotege.project;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import edu.stanford.protege.webprotege.common.ProjectId;
import edu.stanford.protege.webprotege.common.UserId;
import edu.stanford.protege.webprotege.dispatch.Result;

import javax.annotation.Nonnull;

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

/**
 * Author: Matthew Horridge
* Stanford University
* Bio-Medical Informatics Research Group
* Date: 05/04/2013 */ @JsonTypeName("webprotege.projects.LoadProject") public record LoadProjectResult(@JsonProperty("projectId") @Nonnull ProjectId projectId, @JsonProperty("userId") @Nonnull UserId loadedBy, @JsonProperty("projectDetails") @Nonnull ProjectDetails projectDetails) implements Result { public LoadProjectResult(@JsonProperty("projectId") @Nonnull ProjectId projectId, @JsonProperty("userId") @Nonnull UserId loadedBy, @JsonProperty("projectDetails") @Nonnull ProjectDetails projectDetails) { this.projectId = checkNotNull(projectId); this.loadedBy = checkNotNull(loadedBy); this.projectDetails = checkNotNull(projectDetails); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy