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, Cloneable, Copyable, DataDictionaryEntry, DictionaryBean, Constrainable, MustOccurConstrainable
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, dataObjectMetadata, EXCLUDED_PROPERTY_NAMES, relationshipMap, relationships, stateMapping
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode
 
Constructor Summary
BusinessObjectEntry()
           
 
Method Summary
 void completeValidation()
          Directly validate simple fields, call completeValidation on Definition fields.
 void completeValidation(ValidationTrace tracer)
          Directly validate simple fields
 void dataDictionaryPostProcessing()
          Perform any needed post-processing of the bean properties.
 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)
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DataObjectEntry
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
embedMetadata, getAttributeDefinition, getAttributeNames, getAttributes, getCollectionDefinition, getCollectionNames, getCollections, getComplexAttributes, getDataObjectMetadata, getRelationshipDefinition, getRelationshipMap, getRelationshipNames, getRelationships, getStateMapping, hasEmbeddedDataObjectMetadata, hasExcludedHint, injectMetadataIntoAttributes, injectMetadataIntoCollections, injectMetadataIntoRelationships, setAttributes, setCollections, setComplexAttributes, setDataObjectMetadata, setRelationshipMap, setRelationships, setStateMapping
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, getComponentCode, getNamespaceCode, preventModification, setComponentCode, setNamespaceCode, unwrap
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

completeValidation

public void completeValidation(ValidationTrace tracer)
Description copied from class: DataObjectEntry
Directly validate simple fields

Specified by:
completeValidation in interface DataDictionaryEntry
Overrides:
completeValidation in class DataObjectEntry
Parameters:
tracer - - Record of object's location
See Also:
DataDictionaryEntry.completeValidation(org.kuali.rice.krad.datadictionary.validator.ValidationTrace)

dataDictionaryPostProcessing

public void dataDictionaryPostProcessing()
Description copied from interface: DictionaryBean
Perform any needed post-processing of the bean properties. This will be called starting at the parent data object entry or document entry class and recursed down though all other DictionaryBean objects contained within.

Specified by:
dataDictionaryPostProcessing in interface DictionaryBean
Overrides:
dataDictionaryPostProcessing in class DataDictionaryEntryBase


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.