@Entity public class PermissionAttributeBo extends KimAttributeDataBo implements KimAttributeDataContract, BusinessObject
objectId, versionNumber
Constructor and Description |
---|
PermissionAttributeBo() |
Modifier and Type | Method and Description |
---|---|
static PermissionAttributeBo |
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(PermissionAttributeBo 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, wait, wait, wait
getAttributeValue, getKimAttribute, getKimType, getKimTypeId
getVersionNumber
getObjectId
toString
public PermissionAttributeBo()
public 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 static KimAttributeData to(PermissionAttributeBo bo)
bo
- the mutable business objectpublic static PermissionAttributeBo from(KimAttributeData im)
im
- immutable objectpublic 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–2014 The Kuali Foundation. All rights reserved.