/******************************************************************************* * Copyright (c) 2013 hangum. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: * hangum - initial API and implementation ******************************************************************************/ package com.hangum.tadpole.mongodb.core.dto; import java.util.ArrayList; import java.util.List; import com.hangum.tadpole.engine.query.dao.mongodb.CollectionFieldDAO; /** * mongodb collection infos * * @author hangum * */ public class MongoDBCollectionInfoDTO { private String name; private int count; private int size; private int storage; private int index; private double avgObj; private int padding; private double lastExtentSize; private List<CollectionFieldDAO> child = new ArrayList<CollectionFieldDAO>(); public MongoDBCollectionInfoDTO() { } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getCount() { return count; } public void setCount(int count) { this.count = count; } public int getSize() { return size; } public void setSize(int size) { this.size = size; } public int getStorage() { return storage; } public void setStorage(int storage) { this.storage = storage; } public int getIndex() { return index; } public void setIndex(int index) { this.index = index; } public double getAvgObj() { return avgObj; } public void setAvgObj(double avgObj) { this.avgObj = avgObj; } public int getPadding() { return padding; } public void setPadding(int padding) { this.padding = padding; } public double getLastExtentSize() { return lastExtentSize; } public void setLastExtentSize(double lastExtentSize) { this.lastExtentSize = lastExtentSize; } public List<CollectionFieldDAO> getChild() { return child; } public void setChild(List<CollectionFieldDAO> child) { this.child = child; } }