|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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.
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 |
---|
public abstract int min
public abstract boolean minIncluded
true
if the lower bound should be included in the domain.
By default, it is true.
public abstract int max
public abstract boolean maxIncluded
true
if the higher bound should be included in the domain.
By default it is true.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |