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

edu.stanford.protege.webprotege.hierarchy.GraphModelChangedEvent Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.auto.value.AutoValue;
import com.google.common.collect.ImmutableList;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 2021-04-20
 */
@AutoValue
public abstract class GraphModelChangedEvent {

    public abstract ImmutableList> getChanges();

    @JsonCreator
    public static  GraphModelChangedEvent create(@JsonProperty("changes") ImmutableList> changes) {
        return new AutoValue_GraphModelChangedEvent<>(changes);
    }

}