Class AccountancyEntry

java.lang.Object
org.salespointframework.core.AbstractEntity<AccountancyEntryIdentifier>
org.salespointframework.accountancy.AccountancyEntry
All Implemented Interfaces:
Persistable<AccountancyEntryIdentifier>
Direct Known Subclasses:
ProductPaymentEntry

@Entity
public class AccountancyEntry
extends AbstractEntity<AccountancyEntryIdentifier>
This class represents an accountancy entry. It is advisable to sub-class it, to define specific entry types for an accountancy, for example a ProductPaymentEntry.
Author:
Hannes Weisbach, Oliver Gierke
  • Constructor Details

    • AccountancyEntry

      public AccountancyEntry​(javax.money.MonetaryAmount value)
      Creates a new PersistentAccountancyEntry with a specific value.
      Parameters:
      value - The value that is stored in this entry.
    • AccountancyEntry

      public AccountancyEntry​(javax.money.MonetaryAmount value, String description)
      Creates a new PersistentAccountancyEntry with a specific value and a user defined description.
      Parameters:
      value - The value that is stored in this entry.
      description - A user-supplied description for this entry.
    • AccountancyEntry

      @Deprecated protected AccountancyEntry()
      Deprecated.
  • Method Details