Fix for XMLBEANS-396 as suggested by Chris Clark; Cezar didn't change isobj to xmltype.

git-svn-id: https://svn.apache.org/repos/asf/xmlbeans/trunk@1002387 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java b/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java
index b87514d..0e6e20c 100644
--- a/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java
+++ b/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java
@@ -2292,10 +2292,10 @@
         }
     }
 
-       void printSetterImpls(QName qName, SchemaProperty prop, boolean isAttr,
-                       String propertyName, int javaType, String type, String xtype,
-                       boolean nillable, boolean optional, boolean several, boolean singleton,
-                       boolean isunion, String identifier, String setIdentifier, SchemaType sType)
+    void printSetterImpls(QName qName, SchemaProperty prop, boolean isAttr,
+        String propertyName, int javaType, String type, String xtype,
+        boolean nillable, boolean optional, boolean several, boolean singleton,
+        boolean isunion, String identifier, String setIdentifier, SchemaType sType)
         throws IOException
     {
         String safeVarName = NameUtil.nonJavaKeyword(NameUtil.lowerCamelCase(propertyName));
@@ -2478,7 +2478,7 @@
             printJavaDoc("Sets ith " + propdesc);
             emit("public void set" + arrayName + "(int i, " + type + " " + safeVarName + ")");
             startBlock();
-            if ( isobj && !isSubstGroup )
+            if ( xmltype && !isSubstGroup )
             {
                 emitPre(sType, PrePostExtension.OPERATION_SET, identifier, isAttr, "i");
                 emit("generatedSetterHelperImpl(" + safeVarName + ", " + setIdentifier + ", i, " +