class AttributeQualBuilder extends Dynamic
Builder for setting attribute values for an entity.
- Alphabetic
- By Inheritance
- AttributeQualBuilder
- Dynamic
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AttributeQualBuilder(qualBuilder: QualBuilder, jentityDef: EntityDef)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def exists: QualificationTerminator
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def in(sourceEntity: AbstractEntity): QualificationTerminator
- def in(selectSet: SelectSet): QualificationTerminator
-
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 )
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var jattributeDef: AttributeDef
- val jentityDef: EntityDef
- val jqual: QualificationBuilder
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val qualBuilder: QualBuilder
-
def
selectDynamic(attributeName: String): AttributeQualOperators
Adds dynamic support for qualifying on an attribute.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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 )
- def usingSql(customizedSql: String, attributeList: String, customValues: List[String]): QualificationTerminator
- def usingSql(customizedSql: String, attributeList: String, customValue: String): QualificationTerminator
-
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.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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.