org.kuali.rice.krad.datadictionary
Class BusinessObjectEntry

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DictionaryBeanBase
      extended by org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
          extended by org.kuali.rice.krad.datadictionary.DataObjectEntry
              extended by org.kuali.rice.krad.datadictionary.BusinessObjectEntry
All Implemented Interfaces:
Serializable, DataDictionaryEntry, DictionaryBean, Constrainable, MustOccurConstrainable, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
BusinessObjectEntry

public class BusinessObjectEntry
extends DataObjectEntry

A single BusinessObject entry in the DataDictionary, which contains information relating to the display, validation, and general maintenance of a BusinessObject and its attributes. Note: the setters do copious amounts of validation, to facilitate generating errors during the parsing process

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  Class<? extends BusinessObject> baseBusinessObjectClass
           
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DataObjectEntry
boNotesEnabled, dataObjectClass, exporterClass, groupByAttributesForEffectiveDating, helpDefinition, inactivationBlockingDefinitions, mustOccurConstraints, name, objectDescription, objectLabel, primaryKeys, titleAttribute
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
attributeMap, attributes, collectionMap, collections, complexAttributeMap, complexAttributes, relationshipMap, relationships, stateMapping
 
Constructor Summary
BusinessObjectEntry()
           
 
Method Summary
 void afterPropertiesSet()
           
 void completeValidation()
          Directly validate simple fields, call completeValidation on Definition fields.
 Class<? extends BusinessObject> getBaseBusinessObjectClass()
           
 Class<? extends BusinessObject> getBusinessObjectClass()
           
 void setBaseBusinessObjectClass(Class<? extends BusinessObject> baseBusinessObjectClass)
          The baseBusinessObjectClass is an optional parameter for specifying a base class for the dataObjectClass, allowing the data dictionary to index by the base class in addition to the current class.
 void setBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass)
           
 String toString()
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DataObjectEntry
completeValidation, getDataObjectClass, getEntryClass, getExporterClass, getFullClassName, getGroupByAttributesForEffectiveDating, getHelpDefinition, getInactivationBlockingDefinitions, getJstlKey, getMustOccurConstraints, getName, getObjectDescription, getObjectLabel, getPrimaryKeys, getTitleAttribute, isBoNotesEnabled, setBoNotesEnabled, setDataObjectClass, setExporterClass, setGroupByAttributesForEffectiveDating, setHelpDefinition, setInactivationBlockingDefinitions, setMustOccurConstraints, setName, setObjectDescription, setObjectLabel, setPrimaryKeys, setTitleAttribute
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase
getAttributeDefinition, getAttributeNames, getAttributes, getCollectionDefinition, getCollectionNames, getCollections, getComplexAttributes, getRelationshipDefinition, getRelationshipNames, getRelationships, getStateMapping, setAttributes, setCollections, setComplexAttributes, setRelationships, setStateMapping
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
getComponentCode, getNamespaceCode
 

Field Detail

baseBusinessObjectClass

protected Class<? extends BusinessObject> baseBusinessObjectClass
Constructor Detail

BusinessObjectEntry

public BusinessObjectEntry()
Method Detail

setBusinessObjectClass

public void setBusinessObjectClass(Class<? extends BusinessObject> businessObjectClass)

getBusinessObjectClass

public Class<? extends BusinessObject> getBusinessObjectClass()

setBaseBusinessObjectClass

public void setBaseBusinessObjectClass(Class<? extends BusinessObject> baseBusinessObjectClass)
The baseBusinessObjectClass is an optional parameter for specifying a base class for the dataObjectClass, allowing the data dictionary to index by the base class in addition to the current class.


getBaseBusinessObjectClass

public Class<? extends BusinessObject> getBaseBusinessObjectClass()

completeValidation

public void completeValidation()
Directly validate simple fields, call completeValidation on Definition fields.

Specified by:
completeValidation in interface DataDictionaryEntry
Overrides:
completeValidation in class DataObjectEntry

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class DataDictionaryEntryBase
Throws:
Exception
See Also:
DataDictionaryEntryBase.afterPropertiesSet()

toString

public String toString()
Overrides:
toString in class DataObjectEntry
See Also:
Object.toString()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.