All Downloads are FREE. Search and download functionalities are using the official Maven repository.

odeling.org.kevoree.modeling.kotlin.generator.1.9.8.source-code.FactoryAPI.vm Maven / Gradle / Ivy

#* @vtlvariable name="packageName" type="java.lang.String" *#
#* @vtlvariable name="formatedFactoryName" type="java.lang.String" *#
#* @vtlvariable name="classes" type="java.util.List" *#
#* @vtlvariable name="ctx" type="org.kevoree.modeling.kotlin.generator.GenerationContext" *#
#* @vtlvariable name="helper" type="org.kevoree.modeling.kotlin.generator.ProcessorHelperClass" *#

package ${packageName};

trait ${formatedFactoryName} : #if(!$ctx.persistence) org.kevoree.modeling.api.KMFFactory #else #if($ctx.timeAware) org.kevoree.modeling.api.time.TimeAwareKMFFactory #else org.kevoree.modeling.api.persistence.PersistenceKMFFactory #end #end {

    fun getVersion() : String

#foreach( $class in $classes )
    fun create${class.getName()}() : ${class.getName()}
#end


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy