@Entity public class ResponsibilityAttributeBo extends KimAttributeDataBo implements KimAttributeDataContract, BusinessObject
objectId, versionNumber| Constructor and Description |
|---|
ResponsibilityAttributeBo() |
| Modifier and Type | Method and Description |
|---|---|
static ResponsibilityAttributeBo |
from(KimAttributeData im)
Converts a immutable object to its mutable counterpart
|
String |
getAssignedToId()
The id of the object this AttributeData is associated with.
|
String |
getId()
The unique identifier for an object.
|
void |
refresh()
Invoked to refresh business objects related to the parent based on their key field values
|
void |
setAssignedToId(String assignedToId) |
void |
setId(String id) |
static KimAttributeData |
to(ResponsibilityAttributeBo bo)
Converts a mutable bo to its immutable counterpart
|
createFrom, getAttributeValue, getKimAttribute, getKimAttributeId, getKimType, getKimTypeId, getKimTypeInfoService, setAttributeValue, setKimAttribute, setKimAttributeId, setKimType, setKimTypeId, setKimTypeInfoService, toAttributesgenerateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributeValue, getKimAttribute, getKimType, getKimTypeIdgetVersionNumbergetObjectIdtoStringpublic ResponsibilityAttributeBo()
public static KimAttributeData to(ResponsibilityAttributeBo bo)
bo - the mutable business objectpublic static ResponsibilityAttributeBo from(KimAttributeData im)
im - immutable objectpublic String getId()
IdentifiablegetId in interface Identifiablepublic void setId(String id)
setId in class KimAttributeDataBopublic String getAssignedToId()
KimAttributeDataContractgetAssignedToId in interface KimAttributeDataContractpublic void setAssignedToId(String assignedToId)
setAssignedToId in class KimAttributeDataBopublic void refresh()
BusinessObjectDuring 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
refresh in interface BusinessObjectCopyright © 2005–2016 The Kuali Foundation. All rights reserved.