|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.datadictionary.DataDictionary
public class DataDictionary
Collection of named BusinessObjectEntry objects, each of which contains information relating to the display, validation, and general maintenance of a BusinessObject.
| Field Summary | |
|---|---|
static PersistenceStructureService |
persistenceStructureService
|
| Constructor Summary | |
|---|---|
DataDictionary()
|
|
| Method Summary | |
|---|---|
void |
addConfigFileLocation(String location)
|
static PropertyDescriptor |
buildReadDescriptor(Class propertyClass,
String propertyName)
|
static PropertyDescriptor |
buildSimpleReadDescriptor(Class propertyClass,
String propertyName)
|
Set<InactivationBlockingMetadata> |
getAllInactivationBlockingMetadatas(Class blockedClass)
|
static Class |
getAttributeClass(Class boClass,
String attributeName)
This method determines the Class of the attributeName passed in. |
List<String> |
getBusinessObjectClassNames()
|
Map<String,BusinessObjectEntry> |
getBusinessObjectEntries()
|
BusinessObjectEntry |
getBusinessObjectEntry(String className)
|
BusinessObjectEntry |
getBusinessObjectEntryForConcreteClass(String className)
This method gets the business object entry for a concrete class |
static Class |
getCollectionElementClass(Class boClass,
String collectionName)
This method determines the Class of the elements in the collectionName passed in. |
List<String> |
getConfigFileLocations()
|
DataDictionaryEntry |
getDictionaryObjectEntry(String className)
|
Map<String,DocumentEntry> |
getDocumentEntries()
|
DocumentEntry |
getDocumentEntry(String documentTypeDDKey)
Returns the KNS document entry for the given lookup key. |
MaintenanceDocumentEntry |
getMaintenanceDocumentEntryForBusinessObjectClass(Class businessObjectClass)
Note: only MaintenanceDocuments are indexed by businessObject Class This is a special case that is referenced in one location. |
static PersistenceStructureService |
getPersistenceStructureService()
|
static boolean |
isCollectionPropertyOf(Class targetClass,
String propertyName)
|
static boolean |
isPropertyOf(Class targetClass,
String propertyName)
|
void |
parseDataDictionaryConfigurationFiles(boolean allowConcurrentValidation)
|
void |
performBeanOverrides()
This method gathers beans of type BeanOverride and invokes each one's performOverride() method. |
void |
setConfigFileLocations(List<String> configFileLocations)
|
void |
setDataDictionaryMapper(DataDictionaryMapper mapper)
Sets the DataDictionaryMapper |
void |
validateDD()
|
void |
validateDD(boolean validateEbos)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static PersistenceStructureService persistenceStructureService
| Constructor Detail |
|---|
public DataDictionary()
| Method Detail |
|---|
public List<String> getConfigFileLocations()
public void setConfigFileLocations(List<String> configFileLocations)
public void addConfigFileLocation(String location)
throws IOException
IOExceptionpublic void setDataDictionaryMapper(DataDictionaryMapper mapper)
mapper - the datadictionary mapperpublic void parseDataDictionaryConfigurationFiles(boolean allowConcurrentValidation)
public void validateDD(boolean validateEbos)
public void validateDD()
public BusinessObjectEntry getBusinessObjectEntry(String className)
className -
public BusinessObjectEntry getBusinessObjectEntryForConcreteClass(String className)
className -
public List<String> getBusinessObjectClassNames()
public Map<String,BusinessObjectEntry> getBusinessObjectEntries()
public DataDictionaryEntry getDictionaryObjectEntry(String className)
className -
public DocumentEntry getDocumentEntry(String documentTypeDDKey)
documentTypeDDKey - the KEW/workflow document type name
public MaintenanceDocumentEntry getMaintenanceDocumentEntryForBusinessObjectClass(Class businessObjectClass)
businessObjectClass -
public Map<String,DocumentEntry> getDocumentEntries()
public static boolean isPropertyOf(Class targetClass,
String propertyName)
clazz - propertyName -
CompletionException - if there is a problem accessing the named property on the given class
public static boolean isCollectionPropertyOf(Class targetClass,
String propertyName)
clazz - propertyName -
CompletionException - if there is a problem accessing the named property on the given classpublic static PersistenceStructureService getPersistenceStructureService()
public static Class getAttributeClass(Class boClass,
String attributeName)
rootClass - - Class that the attributeName property exists in.attributeName - - Name of the attribute you want a class for.
public static Class getCollectionElementClass(Class boClass,
String collectionName)
boClass - Class that the collectionName collection exists in.collectionName - the name of the collection you want the element class for
public static PropertyDescriptor buildReadDescriptor(Class propertyClass,
String propertyName)
propertyClass - propertyName -
public static PropertyDescriptor buildSimpleReadDescriptor(Class propertyClass,
String propertyName)
propertyClass - propertyName -
public Set<InactivationBlockingMetadata> getAllInactivationBlockingMetadatas(Class blockedClass)
public void performBeanOverrides()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||