1 Reply Latest reply: Feb 3, 2011 2:31 PM by Gary Brown RSS

DataType.get/setFormat removed

Olivier Pernet Newbie

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

  • 1. DataType.get/setFormat removed
    Gary Brown Master

    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.