1 Reply Latest reply on Feb 3, 2011 2:31 PM by objectiser

    DataType.get/setFormat removed

    perneto

      Why was the format property removed? Was the syntax in https://issues.jboss.org/browse/SCRIBBLE-49 abandoned?

        • 1. DataType.get/setFormat removed
          objectiser

          Its been moved to the TypeImportList, which better reflects its position in the syntax.

           

          So if we have an import statement:

           

          import java "Order" as Order, "Confirmation" as Confirm from "org.example.data";

           

          the format (i.e. 'java') and the location (i.e. "org.example.data") is associated with the TypeImportList, and the actual data type and the alias are defined in a list of TypeImport objects.