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

biz.lobachev.annette.data_dictionary.builder.dsl.Components.scala Maven / Gradle / Ivy

package biz.lobachev.annette.data_dictionary.builder.dsl

import biz.lobachev.annette.data_dictionary.builder.model.{Component, ComponentData}

trait Components {

  def component(id: String, name: String, description: String = ""): ComponentData =
    ComponentData(
      component = Component(
        id = id.trim,
        name = name.trim,
        description = description.trim,
      ),
    )

  def group(id: String, name: String, description: String = ""): ComponentData =
    component(id, name, description)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy