Class AuditEvent
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.common.auditAndSecurity.AuditEvent
- All Implemented Interfaces:
Identifiable
An event in the life of an object.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.getDate()getNote()inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.toString()Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId
-
Field Details
-
MAX_NOTE_LENGTH
public static final int MAX_NOTE_LENGTH- See Also:
-
MAX_DETAIL_LENGTH
public static final int MAX_DETAIL_LENGTH- See Also:
-
-
Constructor Details
-
AuditEvent
public AuditEvent()
-
-
Method Details
-
hashCode
public int hashCode()Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCodein classAbstractIdentifiable
-
equals
Description copied from class:AbstractIdentifiableImportant note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.- Specified by:
equalsin classAbstractIdentifiable
-
toString
- Overrides:
toStringin classAbstractIdentifiable
-
getAction
-
getDate
-
getDetail
-
getEventType
-
getNote
-
getPerformer
-