<#--
     Generate the type-safe Java proxy for a BusinessInterfaceDefinition
     - object is an instance of BusinessInterfaceDefinition
     - properties is a HashMap generated by PropertiesHelper.getInstance() - it provides access to the
       named GeneratorProperty elements in ApplicationControlData.
  -->
  
<#import "common.ftl" as common/>  
<@common.copyright/>
 *  Name: ${object.name?cap_first}
 * <#if object.versionID?has_content> Version: ${object.versionID}</#if>
 * <#if object.description?has_content> Description: ${object.description}</#if>
 *****************************************************/
<#assign bdeName><@common.toName name="${object.name?cap_first}"/></#assign>

<#if properties.javaPackage?has_content>package ${properties.javaPackage};</#if>

import com.ssaglobal.bdeimpl.java.BusinessDataEntity;
import com.ssaglobal.bdeimpl.java.BdeIterator;
import com.ssaglobal.bde.BdeException;

/**
 * Generated typesafe BDE component iterator ${object.name?cap_first}Iterator.
 * This Iterator implements also java.util.Iterator.
 * <#if object.versionID?has_content>Component Version: ${object.versionID}<br></#if>
 * <#if object.description?has_content>Component Description: ${object.description}</#if>
 */
public class ${bdeName?cap_first}Iterator extends BdeIterator
{
	/*package private*/ ${bdeName}Iterator()
	{}
	
	/**
	 * retreive next ${bdeName} from this ${bdeName}Iterator.
	 */
	public ${bdeName} nextElement()
		throws BdeException
	{
		return (${bdeName}) super._nextElement();
	}

	protected BusinessDataEntity _createBde()
	{
		return new ${bdeName}();
	}		
}
