actually, the basic bean does not need name and class, it can cast to a primitive object directly from xml