// Path: TGOCMessages/tgocmessage/src/main/java/br/com/tgoc/tgocmessage/TGOCMessageInterface.java
// public interface TGOCMessageInterface {
//     String getSenderId();
//     String getSenderDisplayName();
//     Date getDate();
//     String getText();
//     boolean isMediaMessage();
//     TGOCMessageMediaInterface getMedia();
// }
// 
// Path: TGOCMessages/tgocmessage/src/main/java/br/com/tgoc/tgocmessage/TGOCMessageMediaInterface.java
// public interface TGOCMessageMediaInterface {
//     View getView(Context context);
//     <T> T getData();
// }


import java.util.Date;
import br.com.tgoc.tgocmessage.TGOCMessageInterface;
import br.com.tgoc.tgocmessage.TGOCMessageMediaInterface;
package chat.tgoc.com.tgocfirebase;



/**
 * Created by rodrigocavalcante on 9/12/16.
 */
public class Message implements TGOCMessageInterface {

    String senderId;
    String text;

    public String getSenderId() {
        return senderId;
    }

    @Override
    public String getSenderDisplayName() {
        return null;
    }

    @Override
    public Date getDate() {
        return null;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId;
    }

    public String getText() {
        return text;
    }

    @Override
    public boolean isMediaMessage() {
        return false;
    }

    @Override
// Path: TGOCMessages/tgocmessage/src/main/java/br/com/tgoc/tgocmessage/TGOCMessageInterface.java
// public interface TGOCMessageInterface {
//     String getSenderId();
//     String getSenderDisplayName();
//     Date getDate();
//     String getText();
//     boolean isMediaMessage();
//     TGOCMessageMediaInterface getMedia();
// }
// 
// Path: TGOCMessages/tgocmessage/src/main/java/br/com/tgoc/tgocmessage/TGOCMessageMediaInterface.java
// public interface TGOCMessageMediaInterface {
//     View getView(Context context);
//     <T> T getData();
// }


// Path: Example/TGOCFirebase/app/src/main/java/chat/tgoc/com/tgocfirebase/Message.java
import java.util.Date;
import br.com.tgoc.tgocmessage.TGOCMessageInterface;
import br.com.tgoc.tgocmessage.TGOCMessageMediaInterface;

package chat.tgoc.com.tgocfirebase;



/**
 * Created by rodrigocavalcante on 9/12/16.
 */
public class Message implements TGOCMessageInterface {

    String senderId;
    String text;

    public String getSenderId() {
        return senderId;
    }

    @Override
    public String getSenderDisplayName() {
        return null;
    }

    @Override
    public Date getDate() {
        return null;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId;
    }

    public String getText() {
        return text;
    }

    @Override
    public boolean isMediaMessage() {
        return false;
    }

    @Override
    public TGOCMessageMediaInterface getMedia() {