Class Transaction

java.lang.Object
com.bluebell.greenhouse.platform.models.core.entities.AbstractAuditableEntity
com.bluebell.greenhouse.platform.models.core.entities.transaction.Transaction
All Implemented Interfaces:
GenericEntity, Comparable<Transaction>

@Entity public class Transaction extends AbstractAuditableEntity implements Comparable<Transaction>
Class representation of an account transaction.
Version:
3.0.4
Author:
Stephen Prizio
  • Constructor Details

    • Transaction

      public Transaction()
  • Method Details

    • equals

      public boolean equals(Object o)
      Defines an objects equivalence with this entity.
      Overrides:
      equals in class Object
      Parameters:
      o - the reference object with which to compare
      Returns:
      true if equal
    • hashCode

      public int hashCode()
      Computes the hash code.
      Overrides:
      hashCode in class Object
      Returns:
      hash code
    • compareTo

      public int compareTo(Transaction o)
      Defines the sort order.
      Specified by:
      compareTo in interface Comparable<Transaction>
      Parameters:
      o - Transaction
      Returns:
      sort order