public function setDeterioration_bearing_walls($deterioration_bearing_walls = null)
{
// validation for constraint: fractionDigits
if (is_float($deterioration_bearing_walls) && strlen(substr($deterioration_bearing_walls, strpos($deterioration_bearing_walls, '.'))) !== 2) {
throw new \InvalidArgumentException(sprintf('Invalid value, the value must at most contain 2 fraction digits, "%d" given', strlen(substr($deterioration_bearing_walls, strpos($deterioration_bearing_walls, '.')))), __LINE__);
}
// validation for constraint: totalDigits
if (is_float($deterioration_bearing_walls) && strlen(str_replace(array(' ', '.', ',', '-', '+'), '', $deterioration_bearing_walls)) !== 15) {
throw new \InvalidArgumentException(sprintf('Invalid value, the value must at most contain 15 digits, "%d" given', strlen(substr($deterioration_bearing_walls, strpos($deterioration_bearing_walls, '.')))), __LINE__);
}
$this->deterioration_bearing_walls = $deterioration_bearing_walls;
return $this;
}