|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.ken.bo.NotificationPriorityBo
@Entity public class NotificationPriorityBo
This class represents a priority for a notification - i.e. "High", "Medium", "Low", "Emergency", etc. In addition, it describes information about a priority such as its ranking order of priority. Priority order within the system is assumed to be ascending. This by no means impacts the order of delivery of a notification system message.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
NotificationPriorityBo()
Constructs a NotificationPriority instance. |
Method Summary | |
---|---|
static NotificationPriorityBo |
from(NotificationPriority im)
Converts a immutable object to its mutable counterpart |
String |
getDescription()
Gets the description attribute. |
Long |
getId()
Gets the id attribute. |
String |
getName()
Gets the name attribute. |
Integer |
getOrder()
Gets the order attribute. |
void |
setDescription(String description)
Sets the description attribute value. |
void |
setId(Long id)
Sets the id attribute value. |
void |
setName(String name)
Sets the name attribute value. |
void |
setOrder(Integer order)
Sets the order attribute value. |
static NotificationPriority |
to(NotificationPriorityBo bo)
Converts a mutable bo to its immutable counterpart |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
---|
getObjectId |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public NotificationPriorityBo()
Method Detail |
---|
public String getDescription()
getDescription
in interface NotificationPriorityContract
public void setDescription(String description)
description
- The description to set.public Long getId()
getId
in interface KenIdentifiable
public void setId(Long id)
id
- The id to set.public String getName()
getName
in interface NotificationPriorityContract
public void setName(String name)
name
- The name to set.public Integer getOrder()
getOrder
in interface NotificationPriorityContract
public void setOrder(Integer order)
order
- The order to set.public static NotificationPriority to(NotificationPriorityBo bo)
bo
- the mutable business object
public static NotificationPriorityBo from(NotificationPriority im)
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |