001package org.kuali.ole.pojo.edi; 002 003import java.util.ArrayList; 004import java.util.List; 005 006/** 007 * Created with IntelliJ IDEA. 008 * User: palanivel 009 * Date: 7/26/13 010 * Time: 4:29 PM 011 * To change this template use File | Settings | File Templates. 012 */ 013public class MonetaryDetail { 014 private List<MonetaryLineItemInformation> monetaryLineItemInformation = new ArrayList<>(); 015 016 017 public void addMonetaryLineItemInformation(MonetaryLineItemInformation monetaryLineItemInformation) { 018 if (!this.monetaryLineItemInformation.contains(monetaryLineItemInformation)) { 019 this.monetaryLineItemInformation.add(monetaryLineItemInformation); 020 } 021 } 022 023 public List<MonetaryLineItemInformation> getMonetaryLineItemInformation() { 024 return monetaryLineItemInformation; 025 } 026 027 public void setMonetaryLineItemInformation(List<MonetaryLineItemInformation> monetaryLineItemInformation) { 028 this.monetaryLineItemInformation = monetaryLineItemInformation; 029 } 030}