protected JavaField getField(PropertyBean propertyBean, JSFGeneratorConfiguration configuration) {
String name = propertyBean.getName();
String defaultvalue = propertyBean.getDefaultvalue();
Class<?> propertyClass = getType(propertyBean, configuration.getClassLoader());
JavaField field = new JavaField(propertyClass, "_" + name, defaultvalue);
field.getComments().add(new JavaComment(propertyBean.getXmlEncodedDescription()));
field.getModifiers().add(JavaModifier.PRIVATE);
if (propertyBean.isTransient()) {
field.addModifier(JavaModifier.TRANSIENT);
}