public class CmsNotificationCause extends java.lang.Object implements java.io.Serializable
CmsExtendedNotificationCause, to be used
for serialization in the AdditionalInfos of a CmsUser, and therefore only
contains the essential information
| Constructor and Description |
|---|
CmsNotificationCause(CmsUUID resource,
int cause)
Creates a new CmsNotificationResourceInfo.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true if the Object equals to the corresponding CmsNotificationCause, that means a notification cause
with the same resource and cause.
|
int |
getCause()
Returns the cause.
|
CmsUUID |
getResourceId()
Returns the resource.
|
int |
hashCode() |
void |
setCause(int cause)
Sets the cause.
|
void |
setResourceId(CmsUUID resourceId)
Sets the resource.
|
public CmsNotificationCause(CmsUUID resource, int cause)
resource - the specific resourcecause - that the resource occures in the notificationpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to check for equalityCmsExtendedNotificationCause.equals(java.lang.Object)public int getCause()
public CmsUUID getResourceId()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public void setCause(int cause)
cause - the cause to setpublic void setResourceId(CmsUUID resourceId)
resourceId - the resource to set