27 $this->value = $this->
getDefinition()->handleNumber($a_value);
41 return ($this->
getNumber() == $a_adt->getNumber());
48 return ($this->
getNumber() > $a_adt->getNumber());
55 return ($this->
getNumber() < $a_adt->getNumber());
72 $valid = parent::isValid();
77 if ($min !==
null && $num < $min) {
83 if ($max !==
null && $num > $max) {
An exception for terminatinating execution or to throw for unit testing.
ADT definition base class.
reset()
Init property defaults.
isNull()
Is currently null.
isValidDefinition(ilADTDefinition $a_def)
Check if definition is valid for ADT.
equals(ilADT $a_adt)
Check if given ADT equals self.
getCheckSum()
Get unique checksum.
isValid()
Is currently valid.
isSmaller(ilADT $a_adt)
Check if given ADT is smaller than self.
isLarger(ilADT $a_adt)
Check if given ADT is larger than self.
addValidationError($a_error_code)
Add validation error code.
getDefinition()
Get definition.