Bookshelf Home | Contents | Index | PDF |
Product Administration Guide > Configuration Constraint Template Reference > Attribute Value (Advanced) TemplateThe Attribute Value (Advanced) template has the following form: You can toggle between [any] and [all]. The Attribute Value (Advanced) template can be used only within a require constraint, and it changes the logic for conditions involving attributes. This template does not display in the Pick a Constraint list. Instead, it displays in the list for inserting a condition. The following require constraint contains two attribute conditions: Attribute C = M in Relationship A requires Attribute D=P in Relationship B This constraint works as follows: If any item from Relationship A has Attribute C=M in the solution, then all the items from Relationship B must have Attribute D=P in the solution. This is the default behavior of the require template when it contains attribute conditions and is called the Any-All form. By inserting the Attribute (Advanced) template into the constraint, you can create all the other combinations of Any-All logic:
To create this logic in other constraint types, such as exclude constraints, use one of the Advanced Constraint Templates to create the constraint. Then insert a numAttr condition in the constraint. |
Product Administration Guide | Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |