Enum Class ValueTooLongBehavior

java.lang.Object
java.lang.Enum<ValueTooLongBehavior>
com.kingsrook.qqq.backend.core.model.metadata.fields.ValueTooLongBehavior
All Implemented Interfaces:
FieldBehavior<ValueTooLongBehavior>, FieldBehaviorForFrontend, Serializable, Comparable<ValueTooLongBehavior>, Constable

public enum ValueTooLongBehavior extends Enum<ValueTooLongBehavior> implements FieldBehavior<ValueTooLongBehavior>, FieldBehaviorForFrontend
Behaviors for string fields, if their value is too long. Sent to frontends (as the constant's name in the field's behaviors), so that a form can cap typing when the behavior is ERROR, and note trimming when it is TRUNCATE. Note: This was the first implementation of a FieldBehavior, so its test coverage is provided in ValueBehaviorApplierTest.