|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.geebis.books.model.gj.GeneralJournalEntry
@Name(value="generalJournalEntry") public class GeneralJournalEntry
The GeneralJournalEntry class represents a manual general journal entry into the system.
| Constructor Summary | |
|---|---|
GeneralJournalEntry()
|
|
| Method Summary | |
|---|---|
void |
addLine(GeneralJournalEntryLine line)
Adds a line to this gj entry |
java.lang.Double |
calculateAmountRemaining()
Returns the amount that this gj entry is out of balance |
java.util.Date |
getDate()
Gets the date that this gj is for |
java.lang.String |
getDescription()
Gets the description of this gj entry |
java.lang.Long |
getId()
|
java.util.List<GeneralJournalEntryLine> |
getLines()
Gets the lines of this gj entry |
java.lang.String |
getNumber()
Sets the number of this gj entry. |
java.lang.Boolean |
getPosted()
Gets whether this gj entry has been posted |
java.lang.Integer |
getVersion()
|
boolean |
isBalanced()
Returns true if this GJ entry is balanced, false if it is not |
void |
removeLine(GeneralJournalEntryLine line)
Removes a line from this gj entry |
void |
setDate(java.util.Date date)
Sets the date that this gj is for |
void |
setDescription(java.lang.String description)
Sets the description of this gj entry |
void |
setId(java.lang.Long id)
|
void |
setLines(java.util.List<GeneralJournalEntryLine> lines)
Sets the lines of this gj entry |
void |
setNumber(java.lang.String number)
Sets the number of this gj entry |
void |
setPosted(java.lang.Boolean posted)
Sets whether this gj entry has been posted |
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 |
|---|
public GeneralJournalEntry()
| Method Detail |
|---|
public java.lang.String getNumber()
public void setNumber(java.lang.String number)
number - the new number for this gj entrygetEmployeeId()public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new description of this gj entrypublic java.util.Date getDate()
public void setDate(java.util.Date date)
date - the new date that this gj is forpublic java.lang.Boolean getPosted()
public void setPosted(java.lang.Boolean posted)
posted - the new value for whether this gj entry has been poastedpublic java.util.List<GeneralJournalEntryLine> getLines()
lines of this gj entry
lines of this gj entryGeneralJournalEntryLinepublic void setLines(java.util.List<GeneralJournalEntryLine> lines)
lines of this gj entry
lines - the new lines for this gj entrypublic java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public void addLine(GeneralJournalEntryLine line)
line - the line to add to this gj entryGeneralJournalEntryLinepublic void removeLine(GeneralJournalEntryLine line)
line - the line to remove from this gj entryGeneralJournalEntryLinepublic boolean isBalanced()
public java.lang.Double calculateAmountRemaining()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||