[om/service/Control.vm:begin]
#set ($basePath = $generator.OutputPath)

generating dao classes
#foreach ( $entity in ${domain.getClasses().toList()} )
	${entity.getFullName()}
	##
	#set ( $path = ${strings.getPackageAsPath(${entity.getPackage("service")})} )
    $files.mkdir("$outputDirectory/$path")
	##
	#set ( $fname = "${servicePrefix}${entity.getName()}${serviceSuffix}.java" )
    #set ( $path = "${strings.getPackageAsPath($entity.getPackage('service'))}$fname" )
    begin generate: $path
	$generator.parse("om/service/service_java.vm",$path,"entity",$entity)
	end generate: $path
	##
	#set ( $path = ${strings.getPackageAsPath(${entity.getPackage("service.impl")})} )
    $files.mkdir("$outputDirectory/$path")
	##
	#set ( $fname = "${serviceImplPrefix}${entity.getName()}${serviceImplSuffix}.java" )
    #set ( $path = "${strings.getPackageAsPath($entity.getPackage('service.impl'))}$fname" )
    begin generate: $path
	$generator.parse("om/service/service_impl_java.vm",$path,"entity",$entity)
	end generate: $path
#end

#set ( $fname = "service.dicon" )
#set ( $path = "$fname" )
begin generate: $path
$generator.parse("om/service/service_dicon.vm",$path)
end generate: $path

#set ( $fname = "service-dictionary.dicon" )
#set ( $path = "$fname" )
begin generate: $path
$generator.parse("om/service/service-dictionary_dicon.vm",$path)
end generate: $path

[om/service/Control.vm:end]
