Package mc.core.model.system
Class NotificationAttachment
java.lang.Object
mc.core.model.system.NotificationAttachment
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity
link from notification to entity in system (but not the DB reference!) or to file. used for related complex entity or
basket
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNotificationAttachment(Notification notification) NotificationAttachment(Notification notification, String fileId, String filename) NotificationAttachment(Notification notification, IBaseEntity entity) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonglonggetId()inthashCode()<T extends IBaseEntity>
voidsetAttachedEntity(T entity) voidsetAttachedEntityClass(String attachedEntityClass) voidsetAttachedEntityId(long attachedEntityId) voidvoidsetFilename(String filename) voidsetId(long id) voidsetNotification(Notification notification) toString()
-
Constructor Details
-
NotificationAttachment
public NotificationAttachment() -
NotificationAttachment
-
NotificationAttachment
-
NotificationAttachment
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceIBaseEntity
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIBaseEntity
-
getNotification
-
setNotification
-
getFileId
-
setFileId
-
getFilename
-
setFilename
-
getAttachedEntityClass
-
setAttachedEntityClass
-
getAttachedEntityId
public long getAttachedEntityId() -
setAttachedEntityId
public void setAttachedEntityId(long attachedEntityId) -
setAttachedEntity
-
equals
-
hashCode
public int hashCode() -
toString
-