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
| 构造器和说明 |
|---|
CmsNotificationCause(CmsUUID resource,
int cause)
Creates a new CmsNotificationResourceInfo.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 int hashCode()
hashCode 在类中 java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object o)
equals 在类中 java.lang.Objecto - the object to check for equalityCmsExtendedNotificationCause.equals(java.lang.Object)public int getCause()
public CmsUUID getResourceId()
public void setCause(int cause)
cause - the cause to setpublic void setResourceId(CmsUUID resourceId)
resourceId - the resource to set