org.geebis.books.model.gj
Class GeneralJournalEntryLine

java.lang.Object
  extended by org.geebis.books.model.gj.GeneralJournalEntryLine
All Implemented Interfaces:
java.io.Serializable

@Name(value="generalJournalEntryLine")
public class GeneralJournalEntryLine
extends java.lang.Object
implements java.io.Serializable

The GeneralJournalEntryLine class represents a line on a general journal entry

See Also:
GeneralJournalEntry, Serialized Form

Constructor Summary
GeneralJournalEntryLine()
           
 
Method Summary
 Account getAccount()
          Gets the Account of this gj line
 java.lang.Double getAmount()
          Gets the amount of this gj line
 java.lang.String getDescription()
          Gets the description of this gj line
 java.lang.Long getId()
           
 java.lang.Integer getVersion()
           
 void setAccount(Account account)
          Sets the Account of this gj line
 void setAmount(java.lang.Double amount)
          Sets the amount of this line
 void setDescription(java.lang.String description)
          Sets the description of this gj line
 void setId(java.lang.Long id)
           
 void setVersion(java.lang.Integer version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralJournalEntryLine

public GeneralJournalEntryLine()
Method Detail

getAccount

public Account getAccount()
Gets the Account of this gj line

Returns:
the Account of this gj line

setAccount

public void setAccount(Account account)
Sets the Account of this gj line

Parameters:
account - the new Account of this gj line

getDescription

public java.lang.String getDescription()
Gets the description of this gj line

Returns:
the description of this gj line

setDescription

public void setDescription(java.lang.String description)
Sets the description of this gj line

Parameters:
description - the new description of this line

getAmount

public java.lang.Double getAmount()
Gets the amount of this gj line

Returns:
the amount of this gj line. Positive and zero is a debit, negative is a credit

setAmount

public void setAmount(java.lang.Double amount)
Sets the amount of this line

Parameters:
amount - the new amount for this gj line
See Also:
getAmount()

getVersion

public java.lang.Integer getVersion()

setVersion

public void setVersion(java.lang.Integer version)

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)