private static function buildDBAttr($dbAttr, $pdo)
 {
     $attr = Attribute::__build($dbAttr['ID'], $dbAttr['NAME'], null);
     $valstmt = $pdo->prepare("SELECT * FROM ATTRIBUTEVALUE WHERE " . "ATTRIBUTE_ID = :id ORDER BY VALUE");
     $valstmt->execute(array(':id' => $dbAttr['ID']));
     while ($dbVal = $valstmt->fetch()) {
         $val = AttributeValue::__build($dbVal['ID'], $dbVal['VALUE']);
         $attr->addValue($val);
     }
     return $attr;
 }