c

com.quinsoft.zeidon.scala

AttributeQualBuilder

class AttributeQualBuilder extends Dynamic

Builder for setting attribute values for an entity.

Linear Supertypes
Dynamic, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AttributeQualBuilder
  2. Dynamic
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AttributeQualBuilder(qualBuilder: QualBuilder, jentityDef: EntityDef)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def exists: QualificationTerminator
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def in(sourceEntity: AbstractEntity): QualificationTerminator
  13. def in(selectSet: SelectSet): QualificationTerminator
  14. def in(iter: Iterable[EntityInstance]): QualificationTerminator

    Activates entities with attributes that are in all the entities in the specified cursor.

    Activates entities with attributes that are in all the entities in the specified cursor.

    The values are converted by domain processing before being added to the SQL.

    val mUserList = VIEW basedOn "mUser"...
    val mUser = VIEW basedOn "mUser"
    mUser.activateWhere( _.User in mUserList.User )
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. var jattributeDef: AttributeDef
  17. val jentityDef: EntityDef
  18. val jqual: QualificationBuilder
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val qualBuilder: QualBuilder
  23. def selectDynamic(attributeName: String): AttributeQualOperators

    Adds dynamic support for qualifying on an attribute.

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def updateDynamic(attributeName: String)(value: Any): QualificationTerminator

    Adds support for qualifying an attribute using '=':

    Adds support for qualifying an attribute using '=':

    val mUser = VIEW basedOn "mUser"
    mUser.activateWhere( _.User.ID = 20 )
  27. def usingSql(customizedSql: String, attributeList: String, customValues: List[String]): QualificationTerminator
  28. def usingSql(customizedSql: String, attributeList: String, customValue: String): QualificationTerminator
  29. def usingSql(customizedSql: String, attributeList: String): QualificationTerminator

    Use custom SQL to activate this entity.

    Use custom SQL to activate this entity. Note that QualBuilder.allowOpenSql( true ) must be explicitly called.

  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. def withName(attributeName: String): AttributeQualOperators

    This allows code to specify the attr by string.

    This allows code to specify the attr by string. E.g.

    view.buildQual( _.Entity.withName( "Attr" ) eq 10 )

    is the same as:

    view.buildQual( _.Entity.Attr = 10 )

    Note that "eq" must be used instead of "=". All other comparators can be used as normal.

Inherited from Dynamic

Inherited from AnyRef

Inherited from Any

Ungrouped