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

edu.stanford.protege.webprotege.change.description.MovedDataProperties 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.OWLDataProperty;

import javax.annotation.Nonnull;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 2018-12-10
 */
@AutoValue
public abstract class MovedDataProperties extends AbstractMovedProperties {


    public static MovedDataProperties get(@Nonnull ImmutableSet properties,
                                          @Nonnull ImmutableSet from,
                                          @Nonnull OWLDataProperty to) {
        return new AutoValue_MovedDataProperties(properties, from, to);
    }

    @Nonnull
    @Override
    public String getTypeName() {
        return "MovedDataProperties";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy