01: package com.completex.objective.persistency.examples.ex004a.domain;
02:
03: import com.completex.objective.persistency.examples.ex004a.beans.DefaultBeanToPoMapper;
04:
05: /**
06: * @author Gennady Krizhevsky
07: */
08: public class BeanToPoMapper extends DefaultBeanToPoMapper {
09:
10: protected void mapCpxCustomerPO() {
11: map(
12: CpxCustomer.class,
13: com.completex.objective.persistency.examples.ex004a.cpxpos.CpxCustomerPO.class);
14: }
15:
16: protected void mapContactPO() {
17: map(
18: Contact.class,
19: com.completex.objective.persistency.examples.ex004a.pos.ContactPO.class);
20: }
21: }
|