org.kuali.common.impex
Class ProducerUtils
java.lang.Object
org.kuali.common.impex.ProducerUtils
public class ProducerUtils
- extends Object
String utility methods for classes creating sql from schema model data
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEWLINE
public static final String NEWLINE
- See Also:
- Constant Field Values
COMMA
public static final String COMMA
- See Also:
- Constant Field Values
DOT
public static final String DOT
- See Also:
- Constant Field Values
SPACE
public static final String SPACE
- See Also:
- Constant Field Values
SINGLE_QUOTE
public static final char SINGLE_QUOTE
- See Also:
- Constant Field Values
TYPE_SIZE_PREFIX
public static final String TYPE_SIZE_PREFIX
- See Also:
- Constant Field Values
TYPE_SIZE_SUFFIX
public static final String TYPE_SIZE_SUFFIX
- See Also:
- Constant Field Values
NOT_NULL
public static final String NOT_NULL
- See Also:
- Constant Field Values
NEWLINE_TAB
public static final String NEWLINE_TAB
- See Also:
- Constant Field Values
ProducerUtils
public ProducerUtils()
generatePrimaryKeyName
public static String generatePrimaryKeyName(Table t)
isDateType
public static boolean isDateType(DataType dataType)
unmarshalSchema
public static Schema unmarshalSchema(String xmlLocation)
throws JAXBException,
IOException
- Standard code for initializing a schema model from an xml resource
- Parameters:
xmlLocation
- resource location of the xml
- Returns:
- a Schema populated from the xml
- Throws:
JAXBException
IOException
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.