org.kuali.student.datadictionary.util
Class DictionaryCreator
java.lang.Object
org.kuali.student.datadictionary.util.DictionaryCreator
public class DictionaryCreator
- extends Object
Method Summary |
private Set<Class<?>> |
addAttributeDefinition(Class<?> clazz,
PropertyDescriptor pd,
StringBuffer s,
Set<Class<?>> processed)
|
private void |
addObjectStructure(Class<?> clazz,
StringBuffer s,
Set<Class<?>> processed)
|
private void |
addProperty(String propertyName,
String propertyValue,
StringBuffer s)
|
private static void |
addPropertyRef(String propertyName,
String propertyValue,
StringBuffer s)
|
private void |
addSpringHeaderClose(StringBuffer s)
|
private void |
addSpringHeaderOpen(StringBuffer s)
|
private void |
addValue(String value,
StringBuffer s)
|
private String |
calcBaseKualiType(Class<?> clazz,
PropertyDescriptor pd,
org.kuali.rice.kns.datadictionary.validation.DataType dt)
|
private org.kuali.rice.kns.datadictionary.validation.DataType |
calcDataType(Class<?> clazz,
PropertyDescriptor pd)
|
private List<String> |
calcPrimaryKeys(Class<?> clazz,
BeanInfo beanInfo)
|
private String |
calcTitleAttribute(Class<?> clazz,
BeanInfo beanInfo)
|
void |
execute(Class<?> clazz,
String outputFileName)
|
private List<PropertyDescriptor> |
getFilteredSortedProperties(BeanInfo beanInfo)
|
private static String |
initLower(String str)
|
private boolean |
isComplex(Class<?> clazz,
PropertyDescriptor pd)
|
private boolean |
isComplex(org.kuali.rice.kns.datadictionary.validation.DataType dt)
|
private boolean |
isList(PropertyDescriptor pd)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DictionaryCreator
public DictionaryCreator()
initLower
private static String initLower(String str)
execute
public void execute(Class<?> clazz,
String outputFileName)
addObjectStructure
private void addObjectStructure(Class<?> clazz,
StringBuffer s,
Set<Class<?>> processed)
getFilteredSortedProperties
private List<PropertyDescriptor> getFilteredSortedProperties(BeanInfo beanInfo)
calcTitleAttribute
private String calcTitleAttribute(Class<?> clazz,
BeanInfo beanInfo)
calcPrimaryKeys
private List<String> calcPrimaryKeys(Class<?> clazz,
BeanInfo beanInfo)
addAttributeDefinition
private Set<Class<?>> addAttributeDefinition(Class<?> clazz,
PropertyDescriptor pd,
StringBuffer s,
Set<Class<?>> processed)
calcDataType
private org.kuali.rice.kns.datadictionary.validation.DataType calcDataType(Class<?> clazz,
PropertyDescriptor pd)
isList
private boolean isList(PropertyDescriptor pd)
isComplex
private boolean isComplex(Class<?> clazz,
PropertyDescriptor pd)
isComplex
private boolean isComplex(org.kuali.rice.kns.datadictionary.validation.DataType dt)
calcBaseKualiType
private String calcBaseKualiType(Class<?> clazz,
PropertyDescriptor pd,
org.kuali.rice.kns.datadictionary.validation.DataType dt)
addValue
private void addValue(String value,
StringBuffer s)
addProperty
private void addProperty(String propertyName,
String propertyValue,
StringBuffer s)
addPropertyRef
private static void addPropertyRef(String propertyName,
String propertyValue,
StringBuffer s)
addSpringHeaderClose
private void addSpringHeaderClose(StringBuffer s)
addSpringHeaderOpen
private void addSpringHeaderOpen(StringBuffer s)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.