Map qNameMap = printStaticFields(properties);
for (int i = 0; i < properties.length; i++)
{
SchemaProperty prop = properties[i];
QName name = prop.getName();
String xmlType = xmlTypeForProperty( prop );
printGetterImpls(
shortName,
prop,
name,
prop.isAttribute(),
prop.getJavaPropertyName(),
prop.getJavaTypeCode(),
javaTypeForProperty(prop),
xmlType,
prop.hasNillable() != SchemaProperty.NEVER,
prop.extendsJavaOption(),
prop.extendsJavaArray(),
prop.extendsJavaSingleton(),
xmlTypeForPropertyIsUnion(prop),
getIdentifier(qNameMap, name),
getSetIdentifier(qNameMap, name)
);
if (!prop.isReadOnly())
{
printSetterImpls(
name,
prop.isAttribute(),
prop.getJavaPropertyName(),
prop.getJavaTypeCode(),
javaTypeForProperty(prop),
xmlType,
prop.hasNillable() != SchemaProperty.NEVER,
prop.extendsJavaOption(),
prop.extendsJavaArray(),
prop.extendsJavaSingleton(),
xmlTypeForPropertyIsUnion(prop),
getIdentifier(qNameMap, name),
getSetIdentifier(qNameMap, name),
sType
);