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

biz.ostw.fsi.orm.hibernate.xml.Map.scala Maven / Gradle / Ivy

The newest version!
package biz.ostw.fsi.orm.hibernate.xml

import biz.ostw.fsi.orm.hibernate.xml.attr._
import biz.ostw.fsi.xml.{ElementPart, WrapperPartWithAttributes}

/**
  * @author mathter (c) 2017.
  */
class Map(elementPart: ElementPart)
  extends WrapperPartWithAttributes(elementPart)
    with AName
    with AAccess
    with ATable
    with ALazy
    with AInverse
    with AMutable
    with ACascade
    with AOrderBy
    with AWhere
    with AOuterJoin
    with AFetch
    with ACollectionType
    with ANode
    with AEmbedXml {

  def key(): Key = {
    this.elementPart
      .getByType[ElementPart]
      .find(e => Key.elem.equals(e.name)).map(new Key(_)).orNull
  }
}

object Map {
  val elem = "map"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy