edu.stanford.protege.webprotege.perspective.GetPerspectiveLayoutAction Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.perspective;
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.ProjectAction;
import edu.stanford.protege.webprotege.project.HasProjectId;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 17/02/16
*/
@JsonTypeName("webprotege.perspectives.GetPerspectiveLayout")
public record GetPerspectiveLayoutAction(ProjectId projectId, UserId userId, PerspectiveId perspectiveId) implements ProjectAction, HasProjectId {
public static final String CHANNEL = "webprotege.perspectives.GetPerspectiveLayout";
@Override
public String getChannel() {
return CHANNEL;
}
public GetPerspectiveLayoutAction(ProjectId projectId, UserId userId, PerspectiveId perspectiveId) {
this.projectId = checkNotNull(projectId);
this.userId = checkNotNull(userId);
this.perspectiveId = checkNotNull(perspectiveId);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy