Interface SettableAttributeHandler


  • public interface SettableAttributeHandler
    Describes logic to determine whether an attribute is settable. Also contains an isApplicable call to determine whether the criteria should be considered in the first place.
    • Method Detail

      • isApplicable

        boolean isApplicable​(ItemModel item)
        Determines if the handler's logic should be considered
        Parameters:
        item - Item model to be evaluated
        Returns:
        If the given handler should run
      • isSettable

        boolean isSettable​(AttributeDescriptorModel descriptor)
        Determines if the given attribute descriptor is settable.
        Parameters:
        descriptor - Attribute descriptor to be evaluated
        Returns:
        Whether or not the attribute descriptor is settable