View Javadoc
1   /*
2    * Copyright (C) 2003-2019 eXo Platform SAS.
3    *
4    * This program is free software: you can redistribute it and/or modify
5    * it under the terms of the GNU Affero General Public License as published by
6    * the Free Software Foundation, either version 3 of the License, or
7    * (at your option) any later version.
8    *
9    * This program is distributed in the hope that it will be useful,
10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   * GNU Affero General Public License for more details.
13   *
14   * You should have received a copy of the GNU Affero General Public License
15   * along with this program. If not, see <http://www.gnu.org/licenses/>.
16   */
17  
18  package org.exoplatform.calendar.ws.bean;
19  
20  import org.exoplatform.calendar.ws.common.Resource;
21  
22  public class UploadResource extends Resource {
23  
24      private String name;
25      private String mimeType;
26      private long weight;
27  
28      public UploadResource() {
29          super(null);
30      }
31  
32      public String getName() {
33          return name;
34      }
35  
36      public void setName(String name) {
37          this.name = name;
38      }
39  
40      public String getMimeType() {
41          return mimeType;
42      }
43  
44      public void setMimeType(String mimeType) {
45          this.mimeType = mimeType;
46      }
47  
48      public long getWeight() {
49          return weight;
50      }
51  
52      public void setWeight(long weight) {
53          this.weight = weight;
54      }
55  }