@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, toAttributes
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributeValue, getKimAttribute, getKimType, getKimTypeId
getVersionNumber
getObjectId
toString
public ResponsibilityAttributeBo()
public static KimAttributeData to(ResponsibilityAttributeBo bo)
bo
- the mutable business objectpublic static ResponsibilityAttributeBo from(KimAttributeData im)
im
- immutable objectpublic String getId()
Identifiable
getId
in interface Identifiable
public void setId(String id)
setId
in class KimAttributeDataBo
public String getAssignedToId()
KimAttributeDataContract
getAssignedToId
in interface KimAttributeDataContract
public void setAssignedToId(String assignedToId)
setAssignedToId
in class KimAttributeDataBo
public void refresh()
BusinessObject
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
refresh
in interface BusinessObject
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.