org.kuali.student.common.dictionary.service.impl
Class DictionaryCreator

java.lang.Object
  extended by org.kuali.student.common.dictionary.service.impl.DictionaryCreator

public class DictionaryCreator
extends Object


Field Summary
private static String ATTRIBUTES
           
private static String BASE_BOOLEAN
           
private static String BASE_BOOLEAN_REPEATING
           
private static String BASE_COMPLEX
           
private static String BASE_COMPLEX_REPEATING
           
private static String BASE_DATE
           
private static String BASE_DATE_REPEATING
           
private static String BASE_DOUBLE
           
private static String BASE_DOUBLE_REPEATING
           
private static String BASE_FLOAT
           
private static String BASE_FLOAT_REPEATING
           
private static String BASE_INTEGER
           
private static String BASE_INTEGER_REPEATING
           
private static String BASE_KUALI_CLU_ID
           
private static String BASE_KUALI_EFFECTIVE_DATE
           
private static String BASE_KUALI_EXPIRATION_DATE
           
private static String BASE_KUALI_ID
           
private static String BASE_KUALI_ORG_ID
           
private static String BASE_KUALI_PERSON_ID
           
private static String BASE_KUALI_STATE
           
private static String BASE_KUALI_TYPE
           
private static String BASE_LONG
           
private static String BASE_LONG_REPEATING
           
private static String BASE_STRING
           
private static String BASE_STRING_REPEATING
           
private static String DATA_OBJECT_STRUCTURE
           
private static String FIELD_DEFINITION_CLASS
           
private static String HAS_META_DATA
           
private static String NAME
           
private static String OBJECT_STRUCTURE_CLASS
           
 
Constructor Summary
DictionaryCreator()
           
 
Method Summary
private  Set<Class<?>> addField(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)
           
 void addSpringHeaderOpen(StringBuffer s)
           
 void execute(Class<?> clazz, String outputFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_STRUCTURE_CLASS

private static final String OBJECT_STRUCTURE_CLASS
See Also:
Constant Field Values

FIELD_DEFINITION_CLASS

private static final String FIELD_DEFINITION_CLASS

ATTRIBUTES

private static final String ATTRIBUTES
See Also:
Constant Field Values

NAME

private static final String NAME
See Also:
Constant Field Values

HAS_META_DATA

private static final String HAS_META_DATA
See Also:
Constant Field Values

DATA_OBJECT_STRUCTURE

private static final String DATA_OBJECT_STRUCTURE
See Also:
Constant Field Values

BASE_INTEGER_REPEATING

private static final String BASE_INTEGER_REPEATING
See Also:
Constant Field Values

BASE_LONG_REPEATING

private static final String BASE_LONG_REPEATING
See Also:
Constant Field Values

BASE_DOUBLE_REPEATING

private static final String BASE_DOUBLE_REPEATING
See Also:
Constant Field Values

BASE_FLOAT_REPEATING

private static final String BASE_FLOAT_REPEATING
See Also:
Constant Field Values

BASE_BOOLEAN_REPEATING

private static final String BASE_BOOLEAN_REPEATING
See Also:
Constant Field Values

BASE_DATE_REPEATING

private static final String BASE_DATE_REPEATING
See Also:
Constant Field Values

BASE_STRING_REPEATING

private static final String BASE_STRING_REPEATING
See Also:
Constant Field Values

BASE_COMPLEX_REPEATING

private static final String BASE_COMPLEX_REPEATING
See Also:
Constant Field Values

BASE_INTEGER

private static final String BASE_INTEGER
See Also:
Constant Field Values

BASE_LONG

private static final String BASE_LONG
See Also:
Constant Field Values

BASE_DOUBLE

private static final String BASE_DOUBLE
See Also:
Constant Field Values

BASE_FLOAT

private static final String BASE_FLOAT
See Also:
Constant Field Values

BASE_BOOLEAN

private static final String BASE_BOOLEAN
See Also:
Constant Field Values

BASE_DATE

private static final String BASE_DATE
See Also:
Constant Field Values

BASE_STRING

private static final String BASE_STRING
See Also:
Constant Field Values

BASE_COMPLEX

private static final String BASE_COMPLEX
See Also:
Constant Field Values

BASE_KUALI_ID

private static final String BASE_KUALI_ID
See Also:
Constant Field Values

BASE_KUALI_ORG_ID

private static final String BASE_KUALI_ORG_ID
See Also:
Constant Field Values

BASE_KUALI_CLU_ID

private static final String BASE_KUALI_CLU_ID
See Also:
Constant Field Values

BASE_KUALI_PERSON_ID

private static final String BASE_KUALI_PERSON_ID
See Also:
Constant Field Values

BASE_KUALI_TYPE

private static final String BASE_KUALI_TYPE
See Also:
Constant Field Values

BASE_KUALI_STATE

private static final String BASE_KUALI_STATE
See Also:
Constant Field Values

BASE_KUALI_EFFECTIVE_DATE

private static final String BASE_KUALI_EFFECTIVE_DATE
See Also:
Constant Field Values

BASE_KUALI_EXPIRATION_DATE

private static final String BASE_KUALI_EXPIRATION_DATE
See Also:
Constant Field Values
Constructor Detail

DictionaryCreator

public DictionaryCreator()
Method Detail

execute

public void execute(Class<?> clazz,
                    String outputFileName)

addObjectStructure

private void addObjectStructure(Class<?> clazz,
                                StringBuffer s,
                                Set<Class<?>> processed)

addField

private Set<Class<?>> addField(Class<?> clazz,
                               PropertyDescriptor pd,
                               StringBuffer s,
                               Set<Class<?>> processed)

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

public void addSpringHeaderOpen(StringBuffer s)


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