// Path: quickstart-geo-app/src/main/java/com/springsource/petclinic/domain/Owner.java
// @RooJavaBean
// @RooToString
// @RooJpaActiveRecord
// @GvNIXJpaAudit
// @GvNIXEntityMapLayer
// public class Owner extends AbstractPerson {
// 
//     /**
//      */
//     @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
//     private Set<Pet> pets = new HashSet<Pet>();
// 
//     /**
//      */
//     @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
//     private Set<Vet> vets = new HashSet<Vet>();
// 
//     @Type(type = "org.hibernate.spatial.GeometryType")
//     private Point location;
// 
//     @Type(type = "org.hibernate.spatial.GeometryType")
//     private LineString distance;
// 
//     @Type(type = "org.hibernate.spatial.GeometryType")
//     private Polygon area;
// }
// 
// Path: quickstart-geo-app/src/main/java/com/springsource/petclinic/domain/OwnerBatchService.java
// @Service
// @GvNIXJpaBatch(entity = Owner.class)
// @MonitoredWithSpring
// public class OwnerBatchService {
// }


import com.springsource.petclinic.domain.Owner;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.springsource.petclinic.domain.OwnerBatchService;
import org.gvnix.addon.web.mvc.annotations.batch.GvNIXWebJpaBatch;
import org.gvnix.addon.web.mvc.annotations.jquery.GvNIXWebJQuery;
import org.gvnix.addon.datatables.annotations.GvNIXDatatables;
import org.gvnix.web.report.roo.addon.annotations.GvNIXReports;
import net.bull.javamelody.MonitoredWithSpring;
import org.gvnix.addon.geo.annotations.GvNIXWebEntityMapLayer;
package com.springsource.petclinic.web;

@RequestMapping("/owners")
@Controller
@RooWebScaffold(path = "owners", formBackingObject = Owner.class)
@GvNIXWebJpaBatch(service = OwnerBatchService.class)
@GvNIXWebJQuery
@GvNIXDatatables(ajax = true, detailFields = { "pets", "vets" })
@GvNIXReports({ "report_owners|pdf" })
@MonitoredWithSpring
@GvNIXWebEntityMapLayer
// Path: quickstart-geo-app/src/main/java/com/springsource/petclinic/domain/Owner.java
// @RooJavaBean
// @RooToString
// @RooJpaActiveRecord
// @GvNIXJpaAudit
// @GvNIXEntityMapLayer
// public class Owner extends AbstractPerson {
// 
//     /**
//      */
//     @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
//     private Set<Pet> pets = new HashSet<Pet>();
// 
//     /**
//      */
//     @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
//     private Set<Vet> vets = new HashSet<Vet>();
// 
//     @Type(type = "org.hibernate.spatial.GeometryType")
//     private Point location;
// 
//     @Type(type = "org.hibernate.spatial.GeometryType")
//     private LineString distance;
// 
//     @Type(type = "org.hibernate.spatial.GeometryType")
//     private Polygon area;
// }
// 
// Path: quickstart-geo-app/src/main/java/com/springsource/petclinic/domain/OwnerBatchService.java
// @Service
// @GvNIXJpaBatch(entity = Owner.class)
// @MonitoredWithSpring
// public class OwnerBatchService {
// }


// Path: quickstart-geo-app/src/main/java/com/springsource/petclinic/web/OwnerController.java
import com.springsource.petclinic.domain.Owner;
import org.springframework.roo.addon.web.mvc.controller.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.springsource.petclinic.domain.OwnerBatchService;
import org.gvnix.addon.web.mvc.annotations.batch.GvNIXWebJpaBatch;
import org.gvnix.addon.web.mvc.annotations.jquery.GvNIXWebJQuery;
import org.gvnix.addon.datatables.annotations.GvNIXDatatables;
import org.gvnix.web.report.roo.addon.annotations.GvNIXReports;
import net.bull.javamelody.MonitoredWithSpring;
import org.gvnix.addon.geo.annotations.GvNIXWebEntityMapLayer;

package com.springsource.petclinic.web;

@RequestMapping("/owners")
@Controller
@RooWebScaffold(path = "owners", formBackingObject = Owner.class)
@GvNIXWebJpaBatch(service = OwnerBatchService.class)
@GvNIXWebJQuery
@GvNIXDatatables(ajax = true, detailFields = { "pets", "vets" })
@GvNIXReports({ "report_owners|pdf" })
@MonitoredWithSpring
@GvNIXWebEntityMapLayer
public class OwnerController {