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

izumi.idealingua.model.common.DomainId.scala Maven / Gradle / Ivy

The newest version!
package izumi.idealingua.model.common

import izumi.idealingua.model.common

final case class DomainId(pkg: common.Package, id: String) {
  override def toString: String = s"{${toPackage.mkString(".")}}"

  def toPackage: common.Package = pkg :+ id
}

object DomainId {
  final val Builtin   = DomainId(Seq.empty, "/")
  final val Undefined = DomainId(Seq.empty, ".")
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy