public abstract class JediCodeGenerator extends Object
Constructor and Description |
---|
JediCodeGenerator() |
Modifier and Type | Method and Description |
---|---|
static void |
generateCode() |
static void |
generateCode(String path) |
private static Map<String,String> |
getForeignKeyRelationshipCode(Field field) |
private static Map<String,String> |
getManytoManyRelationshipCode(Field field) |
private static Map<String,String> |
getOneToOneRelationshipCode(Field field) |
static Map<String,String> |
getRelationshipCode(Field field) |
private static void |
writeCode(File file,
String code) |
public static void generateCode(String path)
public static void generateCode()
private static Map<String,String> getOneToOneRelationshipCode(Field field)
private static Map<String,String> getForeignKeyRelationshipCode(Field field)
private static Map<String,String> getManytoManyRelationshipCode(Field field)