public function populateFromDynamoDB(array $data)
    {
        foreach ($data as $name => $value) {
            list ($type, $value) = each($value);
            $this->setAttribute($name, $value, $type);
        }
    }