public class AuditableEventImpl extends RegistryObjectImpl implements AuditableEvent
AuditableEvent
.EVENT_TYPE_CREATED, EVENT_TYPE_DELETED, EVENT_TYPE_DEPRECATED, EVENT_TYPE_UNDEPRECATED, EVENT_TYPE_UPDATED, EVENT_TYPE_VERSIONED
Constructor and Description |
---|
AuditableEventImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
int |
getEventType()
Gets the type of this event.
|
RegistryBean |
getRegistryBean()
Gets the RegistryObject associated with this AuditableEvent.
|
java.sql.Timestamp |
getTimestamp()
Gets the Timestamp for when this event occurred.
|
User |
getUser()
Gets the User associated with this object.
|
int |
hashCode() |
void |
setEventType(int eventType)
Sets the EventType for this AuditableEvent.
|
void |
setRegistryBean(RegistryBean registryBean)
Sets the Registry Object.
|
void |
setTimestamp(java.sql.Timestamp timestamp)
Sets the TimeStamp.
|
void |
setUser(User user)
Sets the User.
|
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
getDescription, getKey, getName, setDescription, setName
getSlots, setSlots
public void setEventType(int eventType)
eventType
- the value of the event type.public void setRegistryBean(RegistryBean registryBean)
AuditableEvent
setRegistryBean
in interface AuditableEvent
registryBean
- the RegistryObjectpublic void setTimestamp(java.sql.Timestamp timestamp)
AuditableEvent
setTimestamp
in interface AuditableEvent
timestamp
- the timestamppublic void setUser(User user)
AuditableEvent
setUser
in interface AuditableEvent
user
- the userpublic int getEventType()
getEventType
in interface AuditableEvent
public RegistryBean getRegistryBean()
getRegistryBean
in interface AuditableEvent
public java.sql.Timestamp getTimestamp()
getTimestamp
in interface AuditableEvent
public User getUser()
getUser
in interface AuditableEvent
public boolean equals(java.lang.Object other)
equals
in class RegistryObjectImpl
public int hashCode()
hashCode
in class RegistryObjectImpl