/*
 * Created on 03-08-2003
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package net.sf.hibern8ide.node;

import java.util.ArrayList;
import java.util.List;


/**
 * @author MAX
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class RootNode extends BaseNode {

	public RootNode(NodeFactory factory, List classes) {
        super(factory,null);
        for (int i = 0; i < classes.size(); i++) {
			children.add(factory.createClassNode(this,(Class)classes.get(i)));
		}
        icon = rootIcon;
        name = "Mapped classes";
	}
	
    /* (non-Javadoc)
	 * @see net.sf.hibern8ide.BaseNode#getHQL()
	 */
	public String getHQL() {
		return "";
	}
}
