package gx.realtime;

import gx.realtime.RealtimeLoader.InitializeModelCallback;
import gx.realtime.RealtimeLoader.HandleErrorsCallback;

/**
 * Options (key/value) for the RealtimeLoader.
 */
public class RealtimeOptions {
    
    // Attributes
    private String clientId;
    private String docId;

    private RealtimeLoader.OnDocumentLoadedCallback onFileLoaded;
    private InitializeModelCallback initializeModel;
    private HandleErrorsCallback handleErrors;

    // Methods
    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getDocId() {
        return docId;
    }

    public void setDocId(String docId) {
        this.docId = docId;
    }

    public RealtimeLoader.OnDocumentLoadedCallback getOnFileLoaded() {
        return onFileLoaded;
    }

    public void setOnFileLoaded(RealtimeLoader.OnDocumentLoadedCallback onFileLoaded) {
        this.onFileLoaded = onFileLoaded;
    }

    public InitializeModelCallback getInitializeModel() {
        return initializeModel;
    }

    public void setInitializeModel(InitializeModelCallback initializeModel) {
        this.initializeModel = initializeModel;
    }

    public HandleErrorsCallback getHandleErrors() {
        return handleErrors;
    }

    public void setHandleErrors(HandleErrorsCallback handleErrors) {
        this.handleErrors = handleErrors;
    }
}

@@ -15,16 +15,76 @@
 ltime;%0A%0A
+import gx.realtime.RealtimeLoader.OnDocumentLoadedCallback;%0A
 import g
@@ -286,26 +286,8 @@
    %0A
-    // Attributes%0A
     
@@ -350,31 +350,16 @@
 private 
-RealtimeLoader.
 OnDocume
@@ -806,31 +806,16 @@
  public 
-RealtimeLoader.
 OnDocume
@@ -919,31 +919,16 @@
 eLoaded(
-RealtimeLoader.
 OnDocume

Move some class references to imports.