org.kuali.rice.kns.bo
Class JpaToDdl

java.lang.Object
  extended by org.kuali.rice.kns.bo.JpaToDdl

public class JpaToDdl
extends Object

This is a description of what this class does - kellerj don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
JpaToDdl()
           
 
Method Summary
private static void getClassFields(String tableName, Class<? extends Object> clazz, StringBuffer sb, StringBuffer pk, Map<String,javax.persistence.AttributeOverride> overrides)
           
private static String getPropertyFromField(Class<? extends Object> clazz, String colName)
           
private static void getReferences(Class<? extends Object> clazz, StringBuffer sb)
           
private static String javaToSqlDataType(Class<? extends Object> dataType)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaToDdl

public JpaToDdl()
Method Detail

main

public static void main(String[] args)

javaToSqlDataType

private static String javaToSqlDataType(Class<? extends Object> dataType)

getClassFields

private static void getClassFields(String tableName,
                                   Class<? extends Object> clazz,
                                   StringBuffer sb,
                                   StringBuffer pk,
                                   Map<String,javax.persistence.AttributeOverride> overrides)

getReferences

private static void getReferences(Class<? extends Object> clazz,
                                  StringBuffer sb)

getPropertyFromField

private static String getPropertyFromField(Class<? extends Object> clazz,
                                           String colName)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.