Interface SettableAttributeHandler
-
public interface SettableAttributeHandlerDescribes 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisApplicable(ItemModel item)Determines if the handler's logic should be consideredbooleanisSettable(AttributeDescriptorModel descriptor)Determines if the given attribute descriptor is settable.
-
-
-
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
-
-