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 Summary
Modifier and TypeMethodDescriptionbooleanisApplicable(ItemModel item) Determines if the handler's logic should be consideredbooleanisSettable(AttributeDescriptorModel descriptor) Determines if the given attribute descriptor is settable.
-
Method Details
-
isApplicable
Determines if the handler's logic should be considered- Parameters:
item- Item model to be evaluated- Returns:
- If the given handler should run
-
isSettable
Determines if the given attribute descriptor is settable.- Parameters:
descriptor- Attribute descriptor to be evaluated- Returns:
- Whether or not the attribute descriptor is settable
-