Rule Builder > Technical Rule Language Reference > Tokens for the Condition Part of a Rule > the collection of

The token the collection of implements a "collection condition". When you click this token and expand the square brackets, the following code is displayed:

 WHEN
  •  the collection of <select a class> [ from <enter a value> ] [ called <enter a variable> ]
    
  • [ stored in ( <enter a value> ) ]
  •  [where]
    
  •  [such that]
    
  •  [verifies]
    
  • The token the collection of is composed of the subtokens given in Table 24.4:

    Table 24.4   Subtokens for the collection of
    Subtoken 
    Function 
    <select a class>  Declare the name of a class. 
    [from <enter a value>]  Insert a from or in expression. 
    [called <enter a variable>]  Bind the object to a variable. 
    [stored in (<enter a value>)]  Define a collector object other than the default IlrDefaultCollector. 
    [where]  Insert attributes of the class and bind them to local variables. 
    [such that]  Insert tests on attribute values. 
    [verifies]  Insert tests on the objects in the collection. 


    Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT