/** * Copyright © 2013 Titan Framework. All Rights Reserved. * * Developed by Laboratory for Precision Livestock, Environment and Software Engineering (PLEASE Lab) * of Embrapa Beef Cattle at Campo Grande - MS - Brazil. * * @see http://please.cnpgc.embrapa.br * * @author Camilo Carromeu * @author Jairo Ricardes Rodrigues Filho * * @version -1-alpha */ package .contract; public class Contract { public static String TABLE = ""; $obj) echo " public static String ". strtoupper ($obj->json) ." = \"". $obj->json ."\";\n"; ?> public static String ddl () { String ddl = "CREATE TABLE " + TABLE + " (" + $obj) echo " ". strtoupper ($obj->json) ." + \" ". $obj->db . ($count++ < $size ? ", \" +\n" : "\" +\n"); ?> ");"; return ddl; } public static String [] columns () { $obj) $columns [] = strtoupper ($obj->json); ?> return new String [] { }; } }