Interface EditAvailabilityProvider<T>


  • public interface EditAvailabilityProvider<T>
    The interface defines methods to evaluate if an instance attribute is editable or not.
    • Method Detail

      • isAllowedToEdit

        boolean isAllowedToEdit​(DataAttribute attribute,
                                T instance)
        Returns true if property of the specified attribute at the given instance is allowed to be edited.
        Parameters:
        attribute - attribute of object
        instance - object which property is change
        Returns:
        true if instance attribute is editable, false otherwise