net.anotheria.access.impl.Constraint Maven / Gradle / Ivy
package net.anotheria.access.impl;
import java.io.Serializable;
/**
* Constraint is a guarding condition which can be applied to a role or permission.
* Constraint must be met, otherwise the target to which the constraint has been applied should be considered invalid.
*
* @author Leon Rosenberg
*/
public interface Constraint extends Serializable {
/**
* Returns true
if the constraint is met.
*
* @return true
if the constraint is met or false
*/
public boolean isMet();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy