I have a class and its controller.In the controller i am defining as below:
//controller
def empData = new Employee(name:'test',joinDate:'03-Jan-2010',qualifications:['Developer','Tester'])
println("emp Info:"+empData);
//class
import groovy.transform.ToString
@ToString
class Employee{
public String name
public Date joinDate
public Map<String,String[]> qualifications
}
In the println
i see the path of the object like com.Employee@515
How to
get all the details of the empData
object instead of path?