class NotesConverterService implements TrackerConverterService<Note, TrackedEntityComment> {

    @Override
    public Note to( TrackedEntityComment trackedEntityComment )
    {
        Note note = new Note();
        note.setNote( trackedEntityComment.getUid() );
        note.setValue( trackedEntityComment.getCommentText() );
        note.setStoredAt( DateUtils.getIso8601NoTz( trackedEntityComment.getCreated() ) );
        note.setStoredBy( trackedEntityComment.getCreator() );
        return note;
    }

}