org.kuali.rice.kim.impl.responsibility
Class ResponsibilityAttributeBo
java.lang.Object
org.kuali.rice.krad.bo.DataObjectBase
org.kuali.rice.kim.impl.common.attribute.KimAttributeDataBo
org.kuali.rice.kim.impl.responsibility.ResponsibilityAttributeBo
- All Implemented Interfaces:
- Serializable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, KimAttributeDataContract, BusinessObject
@Entity
public class ResponsibilityAttributeBo
- extends KimAttributeDataBo
- implements KimAttributeDataContract, BusinessObject
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.kim.impl.common.attribute.KimAttributeDataBo |
createFrom, getAttributeValue, getKimAttribute, getKimAttributeId, getKimType, getKimTypeId, getKimTypeInfoService, setAttributeValue, setKimAttribute, setKimAttributeId, setKimType, setKimTypeId, setKimTypeInfoService, toAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponsibilityAttributeBo
public ResponsibilityAttributeBo()
to
public static KimAttributeData to(ResponsibilityAttributeBo bo)
- Converts a mutable bo to its immutable counterpart
- Parameters:
bo
- the mutable business object
- Returns:
- the immutable object
from
public static ResponsibilityAttributeBo from(KimAttributeData im)
- Converts a immutable object to its mutable counterpart
- Parameters:
im
- immutable object
- Returns:
- the mutable bo
getId
public String getId()
- Description copied from interface:
Identifiable
- The unique identifier for an object. This can be null.
- Specified by:
getId
in interface Identifiable
- Returns:
- the id
setId
public void setId(String id)
- Specified by:
setId
in class KimAttributeDataBo
getAssignedToId
public String getAssignedToId()
- Description copied from interface:
KimAttributeDataContract
- The id of the object this AttributeData is associated with. For
example: this could be a permissionId, roleId, groupId, or
responsibilityId.
- Specified by:
getAssignedToId
in interface KimAttributeDataContract
- Returns:
- the id
setAssignedToId
public void setAssignedToId(String assignedToId)
- Specified by:
setAssignedToId
in class KimAttributeDataBo
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
- Specified by:
refresh
in interface BusinessObject
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.