name should be without State word code generation adds State to generated class
State
final String name;