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

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

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

import com.fasterxml.jackson.annotation.JsonIgnore;
import edu.stanford.protege.webprotege.common.ProjectId;

import javax.annotation.Nonnull;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 2020-08-24
 */
public interface WithProjectId {

    /**
     * Generate a copy replacing the projectId in this object with the specified id.
     * @param projectId The project id to replace the current project Id
     * @return A copy of this object with the project id replaced with the specified project id
     */
    @JsonIgnore
    T withProjectId(@Nonnull ProjectId projectId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy