Represents a box for signed integer.
Definition at line 24 of file Integer.class.php.

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. | |
| Primitive::__toString | ( | ) | [inherited] |
Returns a string representation of an object.
Implements IStringCastable.
Definition at line 62 of file Primitive.class.php.
| static Integer::cast | ( | $ | value | ) | [static] |
Casts scalar to the corresponding object wrapper.
| scalar |
| TypeCastException |
Reimplemented from Decimal.
Definition at line 26 of file Integer.class.php.
| static Integer::getOrmPropertyType | ( | AssociationMultiplicity $ | multiplicity | ) | [static] |
Gets the auxiliary type wrapper that describes the type.
Reimplemented from Scalar.
Definition at line 31 of file Integer.class.php.
References DBType::INT32, and AssociationMultiplicity::isNullable().
| Integer::getValue | ( | ) |
Gets the scalar value of an object.
Reimplemented from Primitive.
Definition at line 45 of file Integer.class.php.
| Integer::isValidValue | ( | $ | value | ) | [protected] |
Checks whether the primitive value is suitable for wrapping with this class.
Reimplemented from Decimal.
Definition at line 50 of file Integer.class.php.
References TypeUtils::isInteger().
| Numeric::setValue | ( | $ | value | ) | [inherited] |
Sets the internal value.
Reimplemented from Primitive.
Definition at line 31 of file Numeric.class.php.