View Javadoc

1   /**
2    * 
3    */
4   package org.appfuse.webapp.client.ui.upload;
5   
6   import com.google.gwt.core.client.JavaScriptObject;
7   import com.google.gwt.core.client.JsArrayString;
8   
9   /**
10   * @author ivangsa
11   *
12   */
13  public class UploadedFileBean extends JavaScriptObject {
14  
15      protected UploadedFileBean() {
16      };
17  
18      public final native JsArrayString getErrorMessages() /*-{ return this.errorMessages; }-*/;
19  
20      public final native String getName() /*-{ return this.name; }-*/;
21  
22      public final native String getFileName() /*-{ return this.fileName; }-*/;
23  
24      public final native String getContentType() /*-{ return this.contentType; }-*/;
25  
26      public final native String getSize() /*-{ return this.size; }-*/;
27  
28      public final native String getLocation() /*-{ return this.location; }-*/;
29  
30      public final native String getLink() /*-{ return this.link; }-*/;
31  
32  }