class Context {

    public boolean isReadOnly()
    {
        return mode != null && mode == Mode.READ_ONLY;
    }

    protected  Context(EventService eventService, DBConnection dbConnection);
    public  Context();
    public  Context(Mode mode);

}