Value Class extending Object

/ The Value class holds either a string, number, boolean or Object /

Class Methods

Constructs this Value object and sets its value to the provided string

function __construct(string str_value) : void


Constructs this Value object and sets its value to the provided number

function __construct(number number_value) : void

Constructs this Value object and sets its value to the provided Object

function __construct(Object object_value) : void


Set's this Value object to have a string value

function set(string value) : void

Set's this Value object to have a number value

function set(number value) : void


Set's this Value object to have an Object value

function set(Object value) : void

Allows string assignments to this Value object

function operator(string value) : Value


Allows number assignments to this Value object

function operator(number value) : Value

Allows Object assignments to this Value object

function operator(Object value) : Value


Get's this values string value alias of toString()

function getString() : string

Get's this values string value alias of getString()

function toString() : string


Get's this values number value alias of toNumber()

function getNumber() : string

Get's this values number value alias of getNumber()

function toNumber() : number


Get's this values Object value

function getObject() : Object