Home  Support  API

Boolean Class Reference
[Types]


Represents a box for primitive boolean.

Definition at line 24 of file Boolean.class.php.

Inheritance diagram for Boolean:
Inheritance graph

List of all members.

Static Public Member Functions

static cast ($value)
 Casts scalar to the corresponding object wrapper.
static getOrmPropertyType (AssociationMultiplicity $multiplicity)
 Gets the auxiliary type wrapper that describes the type.

Public Member Functions

 __toString ()
 Returns a string representation of an object.
 getValue ()
 Gets the scalar value of an object.
 setValue ($value)
 Sets the internal value.

Protected Member Functions

 isValidValue ($value)
 Checks whether the primitive value is suitable for wrapping with this class.

Member Function Documentation

Primitive::__toString (  )  [inherited]

Returns a string representation of an object.

Returns:
string

Implements IStringCastable.

Definition at line 62 of file Primitive.class.php.

static Boolean::cast ( value  )  [static]

Casts scalar to the corresponding object wrapper.

Parameters:
scalar 
Returns:
IObjectCastable
Exceptions:
TypeCastException 

Reimplemented from Scalar.

Definition at line 26 of file Boolean.class.php.

static Boolean::getOrmPropertyType ( AssociationMultiplicity multiplicity  )  [static]

Gets the auxiliary type wrapper that describes the type.

Returns:
OrmPropertyType

Reimplemented from Scalar.

Definition at line 31 of file Boolean.class.php.

References DBType::BOOLEAN, and AssociationMultiplicity::isNullable().

Primitive::getValue (  )  [inherited]

Gets the scalar value of an object.

Returns:
scalar

Implements IObjectCastable.

Reimplemented in Float, and Integer.

Definition at line 57 of file Primitive.class.php.

Boolean::isValidValue ( value  )  [protected]

Checks whether the primitive value is suitable for wrapping with this class.

Returns:
boolean

Reimplemented from Primitive.

Definition at line 68 of file Boolean.class.php.

Boolean::setValue ( value  ) 

Sets the internal value.

Returns:
BuiltInType

Reimplemented from Primitive.

Definition at line 45 of file Boolean.class.php.


The documentation for this class was generated from the following file: