@NumberProperty(negative = false) int minimumLength = 0; @NumberProperty(negative = false) int maximumLength = 10;
private boolean isNegativeAllowed() { final NumberProperty numberProperty = getPropertyDescriptor().getAnnotation(NumberProperty.class); if (numberProperty != null) { return numberProperty.negative(); } return true; }
@Description( "Defines the factor of rounding. A factor of 1 will round to the nearest integer. " + "A factor of 1000 will round the number to the nearest thousand.") @NumberProperty(zero = false, positive = true, negative = false) int _roundFactor = 1;
@NumberProperty(zero = false) int _increment = 1;
@Configured("Number of tokens") @Description("Defines the max amount of tokens to expect") @NumberProperty(zero = false, negative = false) Integer numTokens = 2;
@NumberProperty(negative = false, zero = false, positive = true) @Description("The maximum number of requests that may be fired at the same time.\n" + "Higher values may provide better throughput while it may also add load to the HTTP server.")
@NumberProperty(negative = false) @Description("The number of field to expect in the output") int outputFields = 2;
InputColumn<Date>[] dateColumns; @Configured(order = 10) @NumberProperty(negative = false, positive = true) int minimalDaysInFirstWeek = Calendar.getInstance().getMinimalDaysInFirstWeek(); @Configured(order = 11)
private final AtomicInteger counter = new AtomicInteger(); @Configured @NumberProperty(negative = false, zero = false) @Description("The maximum number of rows to process.") int maxRows = 1000; @Configured @NumberProperty(negative = false, zero = false) @Description("The first row (aka 'offset') to process.") int firstRow = 1;
@NumberProperty(negative = false) @Description("The number of field to expect in the output") int outputFields = 2;