com.softwareag.centrasite.appl.framework.beans.standard.impl
Class AuditableEventImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
      extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
          extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.AuditableEventImpl
All Implemented Interfaces:
RegistryBean, RevisionBean, AuditableEvent, ExtensibleObject, RegistryObject

public class AuditableEventImpl
extends RegistryObjectImpl
implements AuditableEvent


Field Summary
 
Fields inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.AuditableEvent
EVENT_TYPE_CREATED, EVENT_TYPE_DELETED, EVENT_TYPE_DEPRECATED, EVENT_TYPE_UNDEPRECATED, EVENT_TYPE_UPDATED, EVENT_TYPE_VERSIONED
 
Constructor Summary
AuditableEventImpl()
           
 
Method Summary
 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 RegistryObject for this AuditableEvent
 void setTimestamp(java.sql.Timestamp timestamp)
          Sets the timeStamp
 void setUser(User user)
          Sets the User for this AuditableEvent
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.standard.impl.RegistryObjectImpl
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSlots, getSubmittingOrganization, setAssociatedObjects, setAssociations, setAuditTrail, setClassifications, setExternalIdentifiers, setExternalLinks, setObjectType, setRegistryPackages, setSlots, setSubmittingOrganization
 
Methods inherited from class com.softwareag.centrasite.appl.framework.beans.DynamicRegistryBean
getCheckpointName, getDescription, getIdentity, getKey, getName, isRevision, setCheckpointName, setDescription, setIdentity, setKey, setName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.RegistryObject
getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getExternalIdentifiers, getExternalLinks, getObjectType, getRegistryPackages, getSubmittingOrganization, setAssociations, setClassifications, setExternalIdentifiers, setExternalLinks, setSubmittingOrganization
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.RegistryBean
getDescription, getKey, getName, setDescription, setName
 
Methods inherited from interface com.softwareag.centrasite.appl.framework.beans.standard.ExtensibleObject
getSlots, setSlots
 

Constructor Detail

AuditableEventImpl

public AuditableEventImpl()
Method Detail

setEventType

public void setEventType(int eventType)
Sets the EventType for this AuditableEvent

Parameters:
eventType -

setRegistryBean

public void setRegistryBean(RegistryBean registryBean)
Sets the RegistryObject for this AuditableEvent

Specified by:
setRegistryBean in interface AuditableEvent
Parameters:
registryBean -

setTimestamp

public void setTimestamp(java.sql.Timestamp timestamp)
Sets the timeStamp

Specified by:
setTimestamp in interface AuditableEvent
Parameters:
timestamp -

setUser

public void setUser(User user)
Sets the User for this AuditableEvent

Specified by:
setUser in interface AuditableEvent
Parameters:
user -

getEventType

public int getEventType()
Gets the type of this event.

Specified by:
getEventType in interface AuditableEvent
Returns:
int

getRegistryBean

public RegistryBean getRegistryBean()
Gets the RegistryObject associated with this AuditableEvent.

Specified by:
getRegistryBean in interface AuditableEvent
Returns:
RegistryBean

getTimestamp

public java.sql.Timestamp getTimestamp()
Gets the Timestamp for when this event occurred.

Specified by:
getTimestamp in interface AuditableEvent
Returns:
Timestamp

getUser

public User getUser()
Gets the User associated with this object.

Specified by:
getUser in interface AuditableEvent
Returns:
User

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class RegistryObjectImpl

hashCode

public int hashCode()
Overrides:
hashCode in class RegistryObjectImpl