// Path: smssync/src/main/java/org/addhen/smssync/domain/entity/FilterEntity.java
// public class FilterEntity extends Entity {
// 
//     private String phoneNumber;
// 
//     private Status status;
// 
//     public Long getId() {
//         return _id;
//     }
// 
//     public void setId(Long id) {
//         _id = id;
//     }
// 
//     public String getPhoneNumber() {
//         return phoneNumber;
//     }
// 
//     public void setPhoneNumber(String phoneNumber) {
//         this.phoneNumber = phoneNumber;
//     }
// 
//     public Status getStatus() {
//         return status;
//     }
// 
//     public void setStatus(Status status) {
//         this.status = status;
//     }
// 
//     /**
//      * The status of the filtered phone number.
//      */
//     public enum Status {
//         WHITELIST, BLACKLIST
//     }
// }


import org.addhen.smssync.data.entity.Filter;
import org.addhen.smssync.domain.entity.FilterEntity;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
/*
 * Copyright (c) 2010 - 2015 Ushahidi Inc
 * All rights reserved
 * Contact: team@ushahidi.com
 * Website: http://www.ushahidi.com
 * GNU Lesser General Public License Usage
 * This file may be used under the terms of the GNU Lesser
 * General Public License version 3 as published by the Free Software
 * Foundation and appearing in the file LICENSE.LGPL included in the
 * packaging of this file. Please review the following information to
 * ensure the GNU Lesser General Public License version 3 requirements
 * will be met: http://www.gnu.org/licenses/lgpl.html.
 *
 * If you have questions regarding the use of this file, please contact
 * Ushahidi developers at team@ushahidi.com.
 */

package org.addhen.smssync.data.entity.mapper;




/**
 * @author Henry Addo
 */
public class FilterDataMapper {

    @Inject
    public FilterDataMapper() {
        // Do nothing
    }

    /**
     * Maps {@link org.addhen.smssync.data.entity.Filter} to {@link FilterEntity}
     *
     * @param filter The {@link Filter} to be
     *               mapped
     * @return The {@link Filter} entity
     */
// Path: smssync/src/main/java/org/addhen/smssync/domain/entity/FilterEntity.java
// public class FilterEntity extends Entity {
// 
//     private String phoneNumber;
// 
//     private Status status;
// 
//     public Long getId() {
//         return _id;
//     }
// 
//     public void setId(Long id) {
//         _id = id;
//     }
// 
//     public String getPhoneNumber() {
//         return phoneNumber;
//     }
// 
//     public void setPhoneNumber(String phoneNumber) {
//         this.phoneNumber = phoneNumber;
//     }
// 
//     public Status getStatus() {
//         return status;
//     }
// 
//     public void setStatus(Status status) {
//         this.status = status;
//     }
// 
//     /**
//      * The status of the filtered phone number.
//      */
//     public enum Status {
//         WHITELIST, BLACKLIST
//     }
// }


// Path: smssync/src/main/java/org/addhen/smssync/data/entity/mapper/FilterDataMapper.java
import org.addhen.smssync.data.entity.Filter;
import org.addhen.smssync.domain.entity.FilterEntity;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;

/*
 * Copyright (c) 2010 - 2015 Ushahidi Inc
 * All rights reserved
 * Contact: team@ushahidi.com
 * Website: http://www.ushahidi.com
 * GNU Lesser General Public License Usage
 * This file may be used under the terms of the GNU Lesser
 * General Public License version 3 as published by the Free Software
 * Foundation and appearing in the file LICENSE.LGPL included in the
 * packaging of this file. Please review the following information to
 * ensure the GNU Lesser General Public License version 3 requirements
 * will be met: http://www.gnu.org/licenses/lgpl.html.
 *
 * If you have questions regarding the use of this file, please contact
 * Ushahidi developers at team@ushahidi.com.
 */

package org.addhen.smssync.data.entity.mapper;




/**
 * @author Henry Addo
 */
public class FilterDataMapper {

    @Inject
    public FilterDataMapper() {
        // Do nothing
    }

    /**
     * Maps {@link org.addhen.smssync.data.entity.Filter} to {@link FilterEntity}
     *
     * @param filter The {@link Filter} to be
     *               mapped
     * @return The {@link Filter} entity
     */
    public FilterEntity map(Filter filter) {