Jessy J

Need to populate attributes of datatype string/int/bool but not List of another class

Discussion created by Jessy J on Mar 14, 2013
Latest reply on Apr 10, 2013 by Sandesh Hiremath

Hi All,


am working in generic templates, where am supposed to create quantified conditions at least or exactly or at most condition.

Class structure will be ParentObject -> Employer

child object - EmployeeDetail

(for object - EmployeeDetail) -> List<Employees> EmployeeList

(for object Employees) -> Employee,

(for object Employee) -> List<PreviousExperience> Experience, EmployeeName string, EmpId int, etc..


aEmployer is some Employer initially a Employer;

when we write at least condition ->

at least 1 Employee in aEmployer.EmployeeDetail.EmployeeList.Employee satisfies (EmployeeName = 'Fico' and EmpId = 0001) - in side satisfies it should populate only EmpName and EmpId, it should not contain EmployeeList while framing through generic way.


Now I used to load Employee with ClassProvider and EmployeeName/EmpId with ClassPropertiesProviders, so it populates all the properties available in the Class Employee.


Can anyone help me to resolve this issue?


Thanks in Advance:smileysad: