setAllowEnums

public final void setAllowEnums(boolean value)

Enable enum constraints for fields with a small closed set of known values. Default is true.

Parameters

value

The value to set for the AllowEnums property.