Here is such scenario.
First I create a party instance, which has a Set attribute. The set contains all avariable contact mechnism for the party.
Here is the Bean class:
 
public class Party{
 private Set contracts;
}

public   class Contact {
 private ContactType contactType;
 private String contactValue;

}

public   class ContactType {
 private String name;
 private String comments;
}
 
 
Now at rule, I want to select these Parties whose contact type support mobile phone..
Could you share such a sample ?
 
Thanks
Best Regards
Weily
 

Reply via email to