View Javadoc

1   /*
2    * #%L
3    * Bitrepository Core
4    * %%
5    * Copyright (C) 2010 - 2013 The State and University Library, The Royal Library and The State Archives, Denmark
6    * %%
7    * This program is free software: you can redistribute it and/or modify
8    * it under the terms of the GNU Lesser General Public License as 
9    * published by the Free Software Foundation, either version 2.1 of the 
10   * License, or (at your option) any later version.
11   * 
12   * This program is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   * GNU General Lesser Public License for more details.
16   * 
17   * You should have received a copy of the GNU General Lesser Public 
18   * License along with this program.  If not, see
19   * <http://www.gnu.org/licenses/lgpl-2.1.html>.
20   * #L%
21   */
22  package org.bitrepository.common.webobjects;
23  
24  import javax.xml.bind.annotation.XmlRootElement;
25  
26  @XmlRootElement
27  public class StatisticsCollectionSize {
28  
29      private String collectionID;
30      private String collectionName;
31      private Long dataSize;
32      private String humanSize;
33      
34      public StatisticsCollectionSize() {}
35  
36      public String getCollectionID() {
37          return collectionID;
38      }
39  
40      public void setCollectionID(String collectionID) {
41          this.collectionID = collectionID;
42      }
43  
44      public Long getDataSize() {
45          return dataSize;
46      }
47  
48      public void setDataSize(Long dataSize) {
49          this.dataSize = dataSize;
50      }
51  
52      public String getCollectionName() {
53          return collectionName;
54      }
55  
56      public void setCollectionName(String collectionName) {
57          this.collectionName = collectionName;
58      }
59  
60      public String getHumanSize() {
61          return humanSize;
62      }
63  
64      public void setHumanSize(String humanSize) {
65          this.humanSize = humanSize;
66      }
67      
68  }