// Path: app/src/main/java/ve/com/abicelis/remindy/enums/AttachmentType.java
// public enum AttachmentType {
//     IMAGE,
//     LINK,
//     TEXT,
//     AUDIO,
//     LIST
// }


import ve.com.abicelis.remindy.enums.AttachmentType;
package ve.com.abicelis.remindy.model.attachment;


/**
 * Created by abice on 3/3/2017.
 */

public class AudioAttachment extends Attachment {

    private String audioFilename;

    public AudioAttachment() { /* Parameter-less constructor for audio attachment creation */ }
    public AudioAttachment(String audioFilename) {
        this.audioFilename = audioFilename;
    }
    public AudioAttachment(int id, int reminderId, String audioFilename) {
        super(id, reminderId);
        this.audioFilename = audioFilename;
    }

    @Override
    public AttachmentType getType() {
// Path: app/src/main/java/ve/com/abicelis/remindy/enums/AttachmentType.java
// public enum AttachmentType {
//     IMAGE,
//     LINK,
//     TEXT,
//     AUDIO,
//     LIST
// }


// Path: app/src/main/java/ve/com/abicelis/remindy/model/attachment/AudioAttachment.java
import ve.com.abicelis.remindy.enums.AttachmentType;

package ve.com.abicelis.remindy.model.attachment;


/**
 * Created by abice on 3/3/2017.
 */

public class AudioAttachment extends Attachment {

    private String audioFilename;

    public AudioAttachment() { /* Parameter-less constructor for audio attachment creation */ }
    public AudioAttachment(String audioFilename) {
        this.audioFilename = audioFilename;
    }
    public AudioAttachment(int id, int reminderId, String audioFilename) {
        super(id, reminderId);
        this.audioFilename = audioFilename;
    }

    @Override
    public AttachmentType getType() {
        return AttachmentType.AUDIO;