Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.obs.common.accounting.views
Class JournalLineView  view JournalLineView download JournalLineView.java

java.lang.Object
  extended bycom.obs.common.templates.ViewObject
      extended bycom.obs.common.templates.MomentView
          extended bycom.obs.common.accounting.views.JournalLineView
All Implemented Interfaces:
java.io.Serializable

public class JournalLineView
extends com.obs.common.templates.MomentView
implements java.io.Serializable


Field Summary
private  java.lang.String accountID
           
private  AccountView accountView
           
private  java.lang.Double amount
           
private  JournalEntryView journalEntryView
           
private  com.obs.common.accounting.objects.JournalLineType type
           
 
Fields inherited from class com.obs.common.templates.MomentView
createTime, id
 
Constructor Summary
JournalLineView(com.obs.common.accounting.objects.JournalLineType type, java.lang.Double amount, java.lang.String accountID)
           
JournalLineView(java.lang.String id, com.obs.common.accounting.objects.JournalLineType type, java.lang.Double amount, java.util.Calendar time, AccountView account, JournalEntryView jEntry)
           
 
Method Summary
 boolean equals(JournalLineView jLineView)
           
 AccountView getAccount()
           
 java.lang.String getAccountID()
           
 java.lang.Double getAmount()
           
 JournalEntryView getJournalEntry()
           
 com.obs.common.accounting.objects.JournalLineType getType()
           
 boolean isMalformed()
           
 void setAccount(AccountView account)
           
 void setAccountID(java.lang.String accountID)
           
 void setAmount(java.lang.Double amount)
           
 void setJournalEntry(JournalEntryView jEntry)
           
 void setType(com.obs.common.accounting.objects.JournalLineType type)
           
 
Methods inherited from class com.obs.common.templates.MomentView
getCreateTime, getId, setCreateTime, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accountID

private java.lang.String accountID

amount

private java.lang.Double amount

accountView

private AccountView accountView

journalEntryView

private JournalEntryView journalEntryView

type

private com.obs.common.accounting.objects.JournalLineType type
Constructor Detail

JournalLineView

public JournalLineView(com.obs.common.accounting.objects.JournalLineType type,
                       java.lang.Double amount,
                       java.lang.String accountID)

JournalLineView

public JournalLineView(java.lang.String id,
                       com.obs.common.accounting.objects.JournalLineType type,
                       java.lang.Double amount,
                       java.util.Calendar time,
                       AccountView account,
                       JournalEntryView jEntry)
Method Detail

getType

public com.obs.common.accounting.objects.JournalLineType getType()

setType

public void setType(com.obs.common.accounting.objects.JournalLineType type)

getAmount

public java.lang.Double getAmount()

setAmount

public void setAmount(java.lang.Double amount)

getJournalEntry

public JournalEntryView getJournalEntry()

setJournalEntry

public void setJournalEntry(JournalEntryView jEntry)

getAccount

public AccountView getAccount()

setAccount

public void setAccount(AccountView account)

setAccountID

public void setAccountID(java.lang.String accountID)

getAccountID

public java.lang.String getAccountID()

isMalformed

public boolean isMalformed()

equals

public boolean equals(JournalLineView jLineView)