// 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;
// }


import com.springsource.petclinic.domain.Owner;
import org.springframework.roo.addon.web.mvc.controller.annotations.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.gvnix.addon.web.mvc.annotations.jquery.GvNIXWebJQuery;
import org.gvnix.addon.datatables.annotations.GvNIXDatatables;
package com.springsource.petclinic.web;

@RequestMapping("/owners")
@Controller
// 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-repository-app/src/main/java/com/springsource/petclinic/web/OwnerController.java
import com.springsource.petclinic.domain.Owner;
import org.springframework.roo.addon.web.mvc.controller.annotations.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.gvnix.addon.web.mvc.annotations.jquery.GvNIXWebJQuery;
import org.gvnix.addon.datatables.annotations.GvNIXDatatables;

package com.springsource.petclinic.web;

@RequestMapping("/owners")
@Controller
@RooWebScaffold(path = "owners", formBackingObject = Owner.class)