/*
 * 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 net.sf.hibernate.metadata.ClassMetadata;

public class PropertyNode extends TypeNode {

	public PropertyNode(NodeFactory factory, BaseNode parent, int idx, ClassMetadata metadata) {
        super(factory, parent, metadata.getPropertyTypes()[idx], factory.getMetaData(metadata.getPropertyTypes()[idx].getReturnedClass()));
        name = metadata.getPropertyNames()[idx];
        icon = propertyIcon;
	}

    
}
