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

kz.facilities.common-genesis-vertx.1.3.44.source-code.GenesisVertx.profile Maven / Gradle / Ivy

There is a newer version: 1.3.51
Show newest version
package org.joinedworks.facilities.common.profiles.genesis.vertx

import org.joinedworks.facilities.common.profiles.java


/* stereotypes */


/* strategies */

strategy EntityClassNamingStrategy implementation="org.joinedworkz.common.genesis.vertx.EntityClassNamingStrategy"
strategy TableNameStrategy implementation="org.joinedworkz.common.strategies.TableNameStrategy"
strategy ColumnNameStrategy implementation="org.joinedworkz.common.strategies.ColumnNameStrategy"

/* outlets */

outlet generatedConfiguration specialization of StandardOutput
    directory = "./src/generated/resources"
    cleanWholdDirectoryOnCleanBuild = true


/* cartridges */

cartridge DtoHandlingCartridge
    implementation="org.joinedworkz.common.genesis.vertx.DtoHandlingCartridge"
    outlets=generatedJavaSource

cartridge PersistenceCartridge
    implementation="org.joinedworkz.common.genesis.vertx.PersistenceCartridge" 
    outlets=generatedJavaSource, generatedConfiguration
    
cartridge ControllerCartridge
    implementation="org.joinedworkz.common.genesis.vertx.ControllerCartridge" 
    outlets=generatedJavaSource, generatedConfiguration

/* setting */

setting GenesisVertxSetting implementation="org.joinedworkz.common.genesis.vertx.GenesisVertxSetting"

/* platforms */

platform GenesisVertx specialization of Java setting=GenesisVertxSetting {
	
    /* apply cartridges */
    apply cartridge DtoHandlingCartridge
    apply cartridge PersistenceCartridge
    
    contribute to complextype {
        property entityClass: STRING strategy=EntityClassNamingStrategy
        override tableName strategy=TableNameStrategy
    }
    
    contribute to relation {
        property entityClass: STRING strategy=EntityClassNamingStrategy
        property tableName: STRING strategy=TableNameStrategy
    }
    
    contribute to complextype.field {
        override columnName strategy=ColumnNameStrategy
    }
	
}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy