edu.stanford.protege.webprotege.change.description.MergedEntities Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.change.description;
import com.google.auto.value.AutoValue;
import com.google.common.collect.ImmutableSet;
import org.semanticweb.owlapi.model.IRI;
import javax.annotation.Nonnull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 2018-12-10
*/
@AutoValue
public abstract class MergedEntities implements StructuredChangeDescription {
private static final String MERGED_ENTITIES = "MergedEntities";
public static MergedEntities get(@Nonnull ImmutableSet mergedEntities,
@Nonnull IRI targetEntity) {
return new AutoValue_MergedEntities(mergedEntities, targetEntity);
}
public abstract ImmutableSet getMergedEntities();
public abstract IRI getTargetEntity();
@Nonnull
public static String getAssociatedTypeName() {
return MERGED_ENTITIES;
}
@Nonnull
@Override
public String getTypeName() {
return MERGED_ENTITIES;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy