org.swrlapi.owl2rl.OWL2RLPersistenceLayer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swrlapi Show documentation
Show all versions of swrlapi Show documentation
Java API for working with SWRL rules and SQWRL queries
package org.swrlapi.owl2rl;
import org.checkerframework.checker.nullness.qual.NonNull;
import java.util.Set;
/**
* Interface defining methods necessary to persist OWL 2 RL rule selections. Implementations will likely use OWL
* annotation properties to store these selections.
*
* @see org.swrlapi.factory.DefaultOWL2RLPersistenceLayer
*/
public interface OWL2RLPersistenceLayer
{
/**
* @return The enabled OWL 2 RL rules
*/
@NonNull Set getEnabledRules();
/**
* @param rules The OWL 2 RL rule to enable
*/
void setEnabledRules(@NonNull Set rules);
/**
* @param rule The OWL 2 RL rule to disable
*/
void setDisabledRule(OWL2RLNames.OWL2RLRule rule);
/**
* @param rules The OWL 2 RL rules to disable
*/
void setDisabledRules(@NonNull Set rules);
/**
* Disable all rules
*/
void disableAll();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy