Rule Execution Server API

ilog.rules.bom.annotations
Annotation Type BoundedIntDomain


@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER,METHOD})
public @interface BoundedIntDomain

Annotation for declaring a bounded domain of integers. This annotation leads to the creation of an IlrBoundedDomain in the BOM.

Since:
JRules 7.0

Required Element Summary
 int min
          The lower bound of the domain.
 
Optional Element Summary
 int max
          The higher bound of the domain.
 boolean maxIncluded
          true if the higher bound should be included in the domain.
 boolean minIncluded
          true if the lower bound should be included in the domain.
 

Element Detail

min

public abstract int min
The lower bound of the domain.

minIncluded

public abstract boolean minIncluded
true if the lower bound should be included in the domain. By default, it is true.

Default:
true

max

public abstract int max
The higher bound of the domain. By default there is no higher bound.

Default:
2147483647

maxIncluded

public abstract boolean maxIncluded
true if the higher bound should be included in the domain. By default it is true.

Default:
true

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013