Class AuditLogEntityEntity

java.lang.Object
com.atlassian.crowd.model.audit.AuditLogEntityEntity
All Implemented Interfaces:
AuditLogEntity

public class AuditLogEntityEntity extends Object implements AuditLogEntity
  • Constructor Details

  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getEntityName

      @Nullable public String getEntityName()
      Description copied from interface: AuditLogEntity
      Returns the name of the affected object. This is particularly useful when the object does not exist anymore
      Specified by:
      getEntityName in interface AuditLogEntity
      Returns:
      the name of the affected object at the time the event occurred
    • setEntityName

      public void setEntityName(String entityName)
    • getEntityType

      @Nullable public AuditLogEntityType getEntityType()
      Specified by:
      getEntityType in interface AuditLogEntity
      Returns:
      the type of the affected object
    • setEntityType

      public void setEntityType(AuditLogEntityType entityType)
    • getEntityId

      @Nullable public Long getEntityId()
      Specified by:
      getEntityId in interface AuditLogEntity
      Returns:
      the identifier of the affected object (exact semantic depends on the entity type)
    • setEntityId

      public void setEntityId(Long entityId)
    • isPrimary

      public boolean isPrimary()
      Specified by:
      isPrimary in interface AuditLogEntity
      Returns:
      Returns true if the object is the primary affected object in the transaction
    • setPrimary

      public void setPrimary(boolean primary)
    • getChangeset

      public AuditLogChangesetEntity getChangeset()
    • setChangeset

      public void setChangeset(AuditLogChangesetEntity changeset)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object