org.kuali.rice.krad.bo
Class TransientBusinessObjectBase
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.TransientBusinessObjectBase
- All Implemented Interfaces:
- Serializable, ModelObjectBasic, BusinessObject
- Direct Known Subclasses:
- KimAttributes, PersonImpl
public abstract class TransientBusinessObjectBase
- extends BusinessObjectBase
Transient Business Object Base Business Object
- See Also:
- Serialized Form
Method Summary |
void |
refresh()
Invoked to refresh business objects related to the parent based on their key field values |
TransientBusinessObjectBase
public TransientBusinessObjectBase()
- Constructs a TransientBusinessObjectBase.java.
refresh
public void refresh()
- Description copied from interface:
BusinessObject
- Invoked to refresh business objects related to the parent based on their key field values
During processing (for example accepting user input) the field values that participate in relationships can
become out of sync with the related business objects (for example: suppose our business object has a property
name bookId with a related object of type Book that contains the id property. If the user changes the value
for the bookId property, our id property on the related book and the associated information is still pointing
to the previous book id). This method is invoked to indicate the related objects should be refreshed based
on their related keys. For @{link PersistableBusinessObject} implementations, most refreshes can be handled
by the ORM tool
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.