|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanProcessorBase
public abstract class DictionaryBeanProcessorBase
Base class for dictionary bean processors that provides utility methods
Constructor Summary | |
---|---|
DictionaryBeanProcessorBase()
|
Method Summary | |
---|---|
protected void |
applyPropertyValueToBean(String propertyPath,
String propertyValue,
org.springframework.beans.factory.config.BeanDefinition beanDefinition)
Applies the given property name and value to the bean definition |
protected void |
applyPropertyValueToBean(String propertyPath,
String propertyValue,
org.springframework.beans.MutablePropertyValues pvs)
Applies the given property name and value to given property values |
protected Class<?> |
getBeanClass(org.springframework.beans.factory.config.BeanDefinition beanDefinition,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Retrieves the class for the object that will be created from the bean definition. |
protected DataDictionaryService |
getDataDictionaryService()
Returns an instance of the data dictionary service |
protected org.springframework.beans.factory.config.BeanDefinition |
getPropertyValueBeanDefinition(org.springframework.beans.PropertyValue propertyValue)
Determines if the given property value is a bean definition or bean definition holder and if so returns the value as a bean definintion |
protected String |
getStringValue(Object value)
Determines whether the given value is of String type and if so returns the string value |
protected boolean |
isGeneratedBeanName(String beanName)
Indicates whether the given bean name was generated by spring |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBeanProcessor |
---|
processArrayStringPropertyValue, processCollectionBeanDefinition, processListStringPropertyValue, processMapStringPropertyValue, processNestedBeanDefinition, processRootBeanDefinition, processSetStringPropertyValue, processStringPropertyValue |
Constructor Detail |
---|
public DictionaryBeanProcessorBase()
Method Detail |
---|
protected Class<?> getBeanClass(org.springframework.beans.factory.config.BeanDefinition beanDefinition, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
beanDefinition
- bean definition to get class forbeanFactory
- bean factory that contains the bean definition
protected String getStringValue(Object value)
value
- object value to check
protected void applyPropertyValueToBean(String propertyPath, String propertyValue, org.springframework.beans.factory.config.BeanDefinition beanDefinition)
propertyPath
- name of the property to add value forpropertyValue
- value for the propertybeanDefinition
- bean definition to add property value toprotected void applyPropertyValueToBean(String propertyPath, String propertyValue, org.springframework.beans.MutablePropertyValues pvs)
propertyPath
- name of the property to add value forpropertyValue
- value for the propertypvs
- property values to add property toprotected org.springframework.beans.factory.config.BeanDefinition getPropertyValueBeanDefinition(org.springframework.beans.PropertyValue propertyValue)
propertyValue
- property value to get bean definition from
protected boolean isGeneratedBeanName(String beanName)
beanName
- bean name to check
protected DataDictionaryService getDataDictionaryService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |