1 /* 2 * PanmirrorZoteroResult.java 3 * 4 * Copyright (C) 2021 by RStudio, PBC 5 * 6 * Unless you have received this program directly from RStudio pursuant 7 * to the terms of a commercial license agreement with RStudio, then 8 * this program is licensed to you under the terms of version 3 of the 9 * GNU Affero General Public License. This program is distributed WITHOUT 10 * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, 11 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the 12 * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details. 13 * 14 */ 15 16 17 package org.rstudio.studio.client.panmirror.server; 18 19 import com.google.gwt.core.client.JavaScriptObject; 20 21 22 public class PanmirrorZoteroResult extends JavaScriptObject 23 { PanmirrorZoteroResult()24 protected PanmirrorZoteroResult() {} 25 getStatus()26 public native final String getStatus() /*-{ 27 return this.status; 28 }-*/; 29 getMessage()30 public native final JavaScriptObject getMessage() /*-{ 31 return this.message; 32 }-*/; 33 getWarning()34 public native final String getWarning() /*-{ 35 return this.warning; 36 }-*/; 37 getError()38 public native final String getError() /*-{ 39 return this.error; 40 }-*/; 41 } 42 43