Class Transaction

java.lang.Object
org.infinispan.protostream.sampledomain.Transaction

public class Transaction extends Object
Author:
anistor@redhat.com
  • Constructor Details

    • Transaction

      public Transaction()
  • Method Details

    • getId

      @Basic(projectable=true, sortable=true) @ProtoField(value=1, defaultValue="0") public int getId()
    • setId

      public void setId(int id)
    • getDescription

      @Basic(sortable=true) @ProtoField(2) public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getLongDescription

      @Basic(projectable=true) @ProtoField(3) public String getLongDescription()
    • setLongDescription

      public void setLongDescription(String longDescription)
    • getNotes

      @Text(projectable=true, analyzer="ngram") @ProtoField(4) public String getNotes()
    • setNotes

      public void setNotes(String notes)
    • getAccountId

      @Basic(projectable=true) @ProtoField(value=5, defaultValue="0") public int getAccountId()
    • setAccountId

      public void setAccountId(int accountId)
    • getDate

      @Basic(projectable=true) @ProtoField(6) public Date getDate()
    • setDate

      public void setDate(Date date)
    • getAmount

      @Basic(projectable=true, sortable=true) @ProtoField(value=7, defaultValue="0.0") public double getAmount()
    • setAmount

      public void setAmount(double amount)
    • isDebit

      @Basic(projectable=true) @ProtoField(value=8, defaultValue="false") public boolean isDebit()
    • setDebit

      public void setDebit(boolean isDebit)
    • isValid

      @ProtoField(value=9, defaultValue="false") public boolean isValid()
    • setValid

      public void setValid(boolean isValid)
    • toString

      public String toString()
      Overrides:
      toString in class Object