/**
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package org.mifosplatform.accounting.journalentry.data;

import java.math.BigDecimal;

import org.joda.time.LocalDate;
import org.mifosplatform.infrastructure.core.data.EnumOptionData;

/**
 * Immutable object representing a General Ledger Account
 * 
 * Note: no getter/setters required as google will produce json from fields of
 * object.
 */
public class JournalEntryData {

    @SuppressWarnings("unused")
    private final Long id;
    @SuppressWarnings("unused")
    private final Long officeId;
    @SuppressWarnings("unused")
    private final String officeName;
    @SuppressWarnings("unused")
    private final String glAccountName;
    @SuppressWarnings("unused")
    private final Long glAccountId;
    @SuppressWarnings("unused")
    private final String glAccountCode;
    @SuppressWarnings("unused")
    private final EnumOptionData glAccountType;
    @SuppressWarnings("unused")
    private final LocalDate transactionDate;
    @SuppressWarnings("unused")
    private final EnumOptionData entryType;
    @SuppressWarnings("unused")
    private final BigDecimal amount;
    @SuppressWarnings("unused")
    private final String transactionId;
    @SuppressWarnings("unused")
    private final Boolean manualEntry;
    @SuppressWarnings("unused")
    private final EnumOptionData entityType;
    @SuppressWarnings("unused")
    private final Long entityId;
    @SuppressWarnings("unused")
    private final Long createdByUserId;
    @SuppressWarnings("unused")
    private final LocalDate createdDate;
    @SuppressWarnings("unused")
    private final String createdByUserName;
    @SuppressWarnings("unused")
    private final String comments;
    @SuppressWarnings("unused")
    private final Boolean reversed;
    @SuppressWarnings("unused")
    private final String referenceNumber;

    public JournalEntryData(final Long id, final Long officeId, final String officeName, final String glAccountName,
            final Long glAccountId, final String glAccountCode, final EnumOptionData glAccountClassification,
            final LocalDate transactionDate, final EnumOptionData entryType, final BigDecimal amount, final String transactionId,
            final Boolean manualEntry, final EnumOptionData entityType, final Long entityId, final Long createdByUserId,
            final LocalDate createdDate, final String createdByUserName, final String comments, final Boolean reversed,
            final String referenceNumber) {
        this.id = id;
        this.officeId = officeId;
        this.officeName = officeName;
        this.glAccountName = glAccountName;
        this.glAccountId = glAccountId;
        this.glAccountCode = glAccountCode;
        this.glAccountType = glAccountClassification;
        this.transactionDate = transactionDate;
        this.entryType = entryType;
        this.amount = amount;
        this.transactionId = transactionId;
        this.manualEntry = manualEntry;
        this.entityType = entityType;
        this.entityId = entityId;
        this.createdByUserId = createdByUserId;
        this.createdDate = createdDate;
        this.createdByUserName = createdByUserName;
        this.comments = comments;
        this.reversed = reversed;
        this.referenceNumber = referenceNumber;
    }

    
    public Long getId() {
        return this.id;
    }

    
    public Long getGlAccountId() {
        return this.glAccountId;
    }

    
    public EnumOptionData getGlAccountType() {
        return this.glAccountType;
    }

    
    public BigDecimal getAmount() {
        return this.amount;
    }

    
    public EnumOptionData getEntryType() {
        return this.entryType;
    }

}
@@ -453,18 +453,17 @@
 count%0A *
- 
 %0A
+
  * Note:
@@ -585,40 +585,8 @@
  %7B%0A%0A
-    @SuppressWarnings(%22unused%22)%0A
     
@@ -818,40 +818,8 @@
 me;%0A
-    @SuppressWarnings(%22unused%22)%0A
     
@@ -926,40 +926,8 @@
 de;%0A
-    @SuppressWarnings(%22unused%22)%0A
     
@@ -1051,40 +1051,8 @@
 te;%0A
-    @SuppressWarnings(%22unused%22)%0A
     
@@ -1095,40 +1095,8 @@
 pe;%0A
-    @SuppressWarnings(%22unused%22)%0A
     
@@ -3287,37 +3287,34 @@
 eNumber;%0A    %7D%0A%0A
-    
 %0A
+ 
     public Long 
@@ -3315,35 +3315,32 @@
  Long getId() %7B%0A
-   
      return this
@@ -3344,32 +3344,30 @@
 his.id;%0A    
+ 
 %7D%0A%0A
-    
 %0A
+ 
     public L
@@ -3386,35 +3386,32 @@
 ountId() %7B%0A     
-  
- 
 return this.glAc
@@ -3419,32 +3419,30 @@
 ountId;%0A    
+ 
 %7D%0A%0A
-    
 %0A
+ 
     public E
@@ -3473,35 +3473,32 @@
 ntType() %7B%0A     
- 
-  
 return this.glAc
@@ -3508,32 +3508,28 @@
 ntType;%0A    
+ 
 %7D%0A%0A
-    %0A
     public B
@@ -3591,13 +3591,8 @@
  %7D%0A%0A
-    %0A
     
@@ -3667,10 +3667,9 @@
 ;%0A    %7D%0A
-%0A
 %7D

remove unneeded eclipse suppressions.