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

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

public class CashOrganizationReversionCategoryLogic
extends Object
implements OrganizationReversionCategoryLogic

The implementation of OrganizationReversionCategoryLogic for cash balances.

See Also:
OrganizationReversionCategoryLogic

Field Summary
static String CODE
           
static String NAME
           
 
Constructor Summary
CashOrganizationReversionCategoryLogic()
           
 
Method Summary
 boolean containsObjectCode(ObjectCode oc)
          Determines if the given object code is an object code for cash balances
 String getCode()
          Returns the code for this category, always "CASH"
 String getName()
          Returns the name of this category, always "Cash"
 boolean isExpense()
          Returns if this category represents an expense or not; it never does
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

CODE

public static final String CODE
See Also:
Constant Field Values
Constructor Detail

CashOrganizationReversionCategoryLogic

public CashOrganizationReversionCategoryLogic()
Method Detail

containsObjectCode

public boolean containsObjectCode(ObjectCode oc)
Determines if the given object code is an object code for cash balances

Specified by:
containsObjectCode in interface OrganizationReversionCategoryLogic
Parameters:
oc - the object code to qualify
Returns:
true if it is a cash object code, false if otherwise
See Also:
OrganizationReversionCategoryLogic.containsObjectCode(org.kuali.kfs.coa.businessobject.ObjectCode)

getCode

public String getCode()
Returns the code for this category, always "CASH"

Specified by:
getCode in interface OrganizationReversionCategoryLogic
Returns:
the code for this category
See Also:
OrganizationReversionCategoryLogic.getCode()

getName

public String getName()
Returns the name of this category, always "Cash"

Specified by:
getName in interface OrganizationReversionCategoryLogic
Returns:
the name of this category
See Also:
OrganizationReversionCategoryLogic.getName()

isExpense

public boolean isExpense()
Returns if this category represents an expense or not; it never does

Specified by:
isExpense in interface OrganizationReversionCategoryLogic
Returns:
false, as the cash category always represents non-expense
See Also:
OrganizationReversionCategoryLogic.isExpense()


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