org.tresql

Resources

trait Resources extends NameMap

Linear Supertypes
NameMap, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Resources
  2. NameMap
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def conn : Connection

    Attributes
    abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def cache : Option[Cache]

  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def colName (objectName: String, propertyName: String): String

    Definition Classes
    ResourcesNameMap
  10. def dialect : PartialFunction[Expr, String]

  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def functions : Option[Any]

  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  16. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  17. def idExpr : (String) ⇒ String

  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def metaData : MetaData

  20. def nameExpr (tableName: String): Option[String]

    TreSQL expression returning entity name.

    TreSQL expression returning entity name. Typically it is a query from table referenced by tableName (NOT objectName!). Name expression is used in ORT.fill method if fillNames parameter is true when foreign key property of the object is resolved to name. In this case filter clause of name expression if present is replaced with this one - [<pk of referenced table> = <foreign key property value>] Examples: 1. name of entity emp (when used in ORT.fill method first table in table clause must be the one which is referenced by object foreign key property): emp/dept{firstname + ' ' + lastname + ', ' + deptname} 2. name of some entity as a comma separated list of columns. In this case expression will be transformed to: table_name {<column list>} registration_number + ", " + name, foundation_date

    Definition Classes
    ResourcesNameMap
  21. def nameMap : NameMap

  22. def nameMap_= (map: NameMap): Unit

  23. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def propNameExpr (objectName: String, propertyName: String): Option[String]

    TreSQL expression defining property name.

    TreSQL expression defining property name. This is typically used in ORT.fillMethod if fillNames parameter is true to resolve foreign key properties to names.

    Definition Classes
    ResourcesNameMap
  27. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  28. def tableName (objectName: String): String

    Definition Classes
    ResourcesNameMap
  29. def toString (): String

    Definition Classes
    AnyRef → Any
  30. def update (map: (Map[String, String], Map[String, Map[String, String]], Map[String, String], Map[String, Map[String, String]])): Unit

    Set name map for this NameMap implementation 1.

    Set name map for this NameMap implementation 1. map: object name -> table name, 2. map: object name -> map: (property name -> column name), 3. map: table name -> name tresql expression 4. map: object name -> map: (property name -> name tresql expression)

  31. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from NameMap

Inherited from AnyRef

Inherited from Any