![JAR search and dependency download from the Maven repository](/logo.png)
edu.stanford.protege.webprotege.change.description.SetDataPropertyFunctional Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.change.description;
import com.google.auto.value.AutoValue;
import edu.stanford.protege.webprotege.owlapi.OWLObjectStringFormatter;
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 SetDataPropertyFunctional implements StructuredChangeDescription {
public static SetDataPropertyFunctional get(@Nonnull OWLDataProperty property) {
return new AutoValue_SetDataPropertyFunctional(property);
}
@Nonnull
public abstract OWLDataProperty getProperty();
@Nonnull
@Override
public String getTypeName() {
return "SetDataPropertyFunctional";
}
@Nonnull
@Override
public String formatDescription(@Nonnull OWLObjectStringFormatter formatter) {
return formatter.formatString("Made property %s functional", getProperty());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy