com.dbobjekts.codegen.metadata.DBObjectDefinition.kt Maven / Gradle / Ivy
package com.dbobjekts.codegen.metadata
import com.dbobjekts.api.PackageName
import com.dbobjekts.util.StringUtil
internal interface DBObjectDefinition {
val packageName: PackageName
/**
* @return camel case with capital
*/
fun asClassName(): String = StringUtil.capitalCamel(toString())
/**
* @return example: com.dbobjekts.acme.AddressColumn
*/
fun fullyQualifiedClassName(): String = packageName.concat(asClassName()).toString()
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy