@@ -0,0 +1,1421 @@
+package org.adaptlab.chpir.android.survey.Models;%0A%0Aimport java.util.Date;%0A%0Aimport com.activeandroid.Model;%0Aimport com.activeandroid.annotation.Column;%0A%0Apublic class EventLog extends Model %7B%0A    private final static String TAG = %22EVENT%22;%0A    %0A    public static enum EventType %7B%0A        SENT_SURVEY%0A    %7D%0A    %0A    @Column(name = %22EventType%22)%0A    private EventType mEventType;%0A    @Column(name = %22SurveyIdentifier%22)%0A    private String mSurveyIdentifier;%0A    @Column(name = %22Instrument%22)%0A    private Instrument mInstrument;%0A    @Column(name = %22Timestamp%22)%0A    private Date mTimestamp; %0A    %0A    public EventLog(EventType eventType) %7B%0A        super();%0A        mEventType = eventType;%0A        mTimestamp = new Date();%0A    %7D%0A    %0A    public void setInstrument(Instrument instrument) %7B%0A        mInstrument = instrument;%0A    %7D%0A    %0A    public void setSurveyIdentifier(String identifier) %7B%0A        mSurveyIdentifier = identifier;%0A    %7D%0A    %0A    public Instrument getInstrument() %7B%0A        return mInstrument;%0A    %7D%0A    %0A    public String getSurveyIdentifier() %7B%0A        return mSurveyIdentifier;%0A    %7D%0A    %0A    public Date getTimestamp() %7B%0A        return mTimestamp;%0A    %7D%0A    %0A    public String getLogMessage() %7B%0A        if (mEventType == EventType.SENT_SURVEY) %7B%0A            // TODO: Internationalize%0A            return %22Sent %22 + mInstrument.getTitle() + %22 for %22 + mSurveyIdentifier;%0A        %7D%0A        %0A        return %22%22;%0A    %7D%0A%7D

Add basic event log model