org.kuali.kfs.gl.batch.service.impl
Class BalanceTotalNotZeroPredicate

java.lang.Object
  extended by org.kuali.kfs.gl.batch.service.impl.BalanceTotalNotZeroPredicate
All Implemented Interfaces:
BalancePredicate

public class BalanceTotalNotZeroPredicate
extends Object
implements BalancePredicate

A predicate that only allows the selection of balances with a total that isn't zero (those with zero as a total are somewhat pointless to process)


Constructor Summary
BalanceTotalNotZeroPredicate()
           
 
Method Summary
 boolean select(Balance balance)
          Selects only balances whose total (annual accounting line balance + beginning balance + contracts and grants beginning balance) is not zero
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BalanceTotalNotZeroPredicate

public BalanceTotalNotZeroPredicate()
Method Detail

select

public boolean select(Balance balance)
Selects only balances whose total (annual accounting line balance + beginning balance + contracts and grants beginning balance) is not zero

Specified by:
select in interface BalancePredicate
Parameters:
balance - the balance to qualify
Returns:
true if the balance total is not zero, false if it is
See Also:
BalancePredicate.select(org.kuali.kfs.gl.businessobject.Balance)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.