// Path: presentation/src/main/java/sergio/vasco/androidforexample/presentation/mappers/PresentationContactMapper.java
// public class PresentationContactMapper {
// 
//   public Contact presentationContactToContact(PresentationContact presentationContact){
//     Contact contact = new Contact();
//     contact.setIdContact(presentationContact.getIdContact());
//     contact.setFirstName(presentationContact.getFirstName());
//     contact.setLastName(presentationContact.getLastName());
//     contact.setEmail(presentationContact.getEmail());
//     contact.setPhone(presentationContact.getPhone());
//     return contact;
//   }
// 
//   public PresentationContact contactToPresentationContact(Contact contact){
//     PresentationContact presentationContact = new PresentationContact();
//     presentationContact.setIdContact(contact.getIdContact());
//     presentationContact.setFirstName(contact.getFirstName());
//     presentationContact.setLastName(contact.getLastName());
//     presentationContact.setEmail(contact.getEmail());
//     presentationContact.setPhone(contact.getPhone());
//     return presentationContact;
//   }
// 
//   public List<PresentationContact> ContactsListToPresentationContactList(List<Contact> contactList){
//     List<PresentationContact> presentationContactList = new ArrayList<>();
// 
//     for (Contact contact : contactList) {
//       PresentationContact presentationContact = contactToPresentationContact(contact);
//       presentationContactList.add(presentationContact);
//     }
//     return presentationContactList;
//   }
// }
// 
// Path: data/src/main/java/sergio/vasco/realmforandroid/data/repository/database/model/mappers/DataContactMapper.java
// public class DataContactMapper {
// 
//   public Contact dataBaseContactToContact(DataBaseContact dataBaseContact){
//     Contact contact = new Contact();
//     contact.setIdContact(dataBaseContact.getIdContact());
//     contact.setFirstName(dataBaseContact.getFirstName());
//     contact.setLastName(dataBaseContact.getLastName());
//     contact.setEmail(dataBaseContact.getEmail());
//     contact.setPhone(dataBaseContact.getPhone());
//     return contact;
//   }
// 
//   public DataBaseContact contactToDataBaseContact(Contact contact){
//     DataBaseContact dataBaseContact = new DataBaseContact();
//     dataBaseContact.setIdContact(contact.getIdContact());
//     dataBaseContact.setFirstName(contact.getFirstName());
//     dataBaseContact.setLastName(contact.getLastName());
//     dataBaseContact.setEmail(contact.getEmail());
//     dataBaseContact.setPhone(contact.getPhone());
//     return dataBaseContact;
//   }
// }


import sergio.vasco.androidforexample.presentation.mappers.PresentationContactMapper;
import sergio.vasco.realmforandroid.data.repository.database.model.mappers.DataContactMapper;
package sergio.vasco.realmforandroid.app.di.components;


/**
 * Name: Sergio Vasco
 * Date: 1/2/16.
 */
public interface MapperComponent {
  DataContactMapper provideDataContactMapper();
// Path: presentation/src/main/java/sergio/vasco/androidforexample/presentation/mappers/PresentationContactMapper.java
// public class PresentationContactMapper {
// 
//   public Contact presentationContactToContact(PresentationContact presentationContact){
//     Contact contact = new Contact();
//     contact.setIdContact(presentationContact.getIdContact());
//     contact.setFirstName(presentationContact.getFirstName());
//     contact.setLastName(presentationContact.getLastName());
//     contact.setEmail(presentationContact.getEmail());
//     contact.setPhone(presentationContact.getPhone());
//     return contact;
//   }
// 
//   public PresentationContact contactToPresentationContact(Contact contact){
//     PresentationContact presentationContact = new PresentationContact();
//     presentationContact.setIdContact(contact.getIdContact());
//     presentationContact.setFirstName(contact.getFirstName());
//     presentationContact.setLastName(contact.getLastName());
//     presentationContact.setEmail(contact.getEmail());
//     presentationContact.setPhone(contact.getPhone());
//     return presentationContact;
//   }
// 
//   public List<PresentationContact> ContactsListToPresentationContactList(List<Contact> contactList){
//     List<PresentationContact> presentationContactList = new ArrayList<>();
// 
//     for (Contact contact : contactList) {
//       PresentationContact presentationContact = contactToPresentationContact(contact);
//       presentationContactList.add(presentationContact);
//     }
//     return presentationContactList;
//   }
// }
// 
// Path: data/src/main/java/sergio/vasco/realmforandroid/data/repository/database/model/mappers/DataContactMapper.java
// public class DataContactMapper {
// 
//   public Contact dataBaseContactToContact(DataBaseContact dataBaseContact){
//     Contact contact = new Contact();
//     contact.setIdContact(dataBaseContact.getIdContact());
//     contact.setFirstName(dataBaseContact.getFirstName());
//     contact.setLastName(dataBaseContact.getLastName());
//     contact.setEmail(dataBaseContact.getEmail());
//     contact.setPhone(dataBaseContact.getPhone());
//     return contact;
//   }
// 
//   public DataBaseContact contactToDataBaseContact(Contact contact){
//     DataBaseContact dataBaseContact = new DataBaseContact();
//     dataBaseContact.setIdContact(contact.getIdContact());
//     dataBaseContact.setFirstName(contact.getFirstName());
//     dataBaseContact.setLastName(contact.getLastName());
//     dataBaseContact.setEmail(contact.getEmail());
//     dataBaseContact.setPhone(contact.getPhone());
//     return dataBaseContact;
//   }
// }


// Path: app/src/main/java/sergio/vasco/realmforandroid/app/di/components/MapperComponent.java
import sergio.vasco.androidforexample.presentation.mappers.PresentationContactMapper;
import sergio.vasco.realmforandroid.data.repository.database.model.mappers.DataContactMapper;

package sergio.vasco.realmforandroid.app.di.components;


/**
 * Name: Sergio Vasco
 * Date: 1/2/16.
 */
public interface MapperComponent {
  DataContactMapper provideDataContactMapper();
  PresentationContactMapper providePresentationContact();