Hi Friends,

How do we generate tags like below through xdoclet?
//------------XML code Mapping file-----------//
        <component name="employeeSalary"
class="com.cklear.employee.EmployeeSalary" >
                        <property name="hra" />
                        <property name="basic" />
                        <property name="allowance" />

        </component>
//----------Source Code ------Java------------------//

This doesnt work friends
    private EmployeeSalary employeeSalary;
    /**
     * @hibernate.component class = "com.cklear.employee.EmployeeSalary"
     * @hibernate.property name = "hra"
     * @hibernate.property name = "basic"
     * @hibernate.property name = "allowance"
     */
    public EmployeeSalary getEmployeeSalary() {
        return employeeSalary;
    }
    public void setEmployeeSalary(EmployeeSalary employeeSalary) {
        this.employeeSalary = employeeSalary;
    }


thanks and regards
Piyush Garg


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to