edu.stanford.protege.webprotege.criteria.RelationshipValueEqualsLiteralCriteria Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webprotege-criteria Show documentation
Show all versions of webprotege-criteria Show documentation
Data structures for representing matching criteria
package edu.stanford.protege.webprotege.criteria;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.auto.value.AutoValue;
import org.semanticweb.owlapi.model.OWLLiteral;
import javax.annotation.Nonnull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 2019-12-04
*/
@AutoValue
@JsonTypeName("ValueEqualToLiteral")
public abstract class RelationshipValueEqualsLiteralCriteria implements RelationshipValueEqualsCriteria {
@Nonnull
@JsonCreator
public static RelationshipValueEqualsLiteralCriteria get(@Nonnull @JsonProperty("value") OWLLiteral literal) {
return new AutoValue_RelationshipValueEqualsLiteralCriteria(literal);
}
@Nonnull
@Override
public abstract OWLLiteral getValue();
@Override
public R accept(@Nonnull RelationshipValueCriteriaVisitor visitor) {
return visitor.visit(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy