Package com.volantis.mcs.build.javadoc

Examples of com.volantis.mcs.build.javadoc.FieldInfo


    }

    // Initialise the object from the result set.
    int index = 1;
    for (Iterator i = fields.iterator (); i.hasNext (); index += 1) {
      FieldInfo field = (FieldInfo) i.next ();
        if (!GenerateUtilities.isProjectField(field)) {
            String fieldName = field.getName ();
            MethodInfo setter = classInfo.getSetterMethod (fieldName, true);

            out.println (indent + objectName + "." + setter.getName () + " ("
                   + getResultSetValue (field, resultSetName, index) + ");");
        }
View Full Code Here


        separator = indent;
      } else {
        out.print (separator);
      }

      FieldInfo field;
      String fieldName;

      if (srcClassInfo == null
          || srcClassInfo.getField (parameterName, true) == null) {
        // The parameter is not from the source object so it must be part of
        // the result set.
        field = (FieldInfo) sf.next ();
        fieldName = field.getName ();
        if (GenerateUtilities.isProjectField(field)) {
            out.print("project");
        } else {
            out.print (getResultSetValue (field, resultSetName, index));
        }
        index += 1;
      } else {
        // The parameter is from the source object.
        field = (FieldInfo) qf.next ();
        fieldName = field.getName ();
        if (GenerateUtilities.isProjectField(field)) {
            out.print("project");
        } else {
            MethodInfo getter = srcClassInfo.getGetterMethod (fieldName, true);
            out.print (srcObjectName + "." + getter.getName () + " ()");
View Full Code Here

TOP

Related Classes of com.volantis.mcs.build.javadoc.FieldInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.