public class AccountingLineDistributionKey extends Object implements Comparable<AccountingLineDistributionKey>
Constructor and Description |
---|
AccountingLineDistributionKey(SourceAccountingLine line)
This constructor is used for comparison for accounting line only items
|
AccountingLineDistributionKey(String financialObjectCode,
String cardType)
This constructor is used for key involving object and card type
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AccountingLineDistributionKey o) |
boolean |
equals(Object obj) |
String |
getCardType() |
String |
getFinancialObjectCode() |
int |
hashCode() |
public AccountingLineDistributionKey(String financialObjectCode, String cardType)
financialObjectCode
- cardType
- public AccountingLineDistributionKey(SourceAccountingLine line)
line
- public String getCardType()
public String getFinancialObjectCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public int compareTo(AccountingLineDistributionKey o)
compareTo
in interface Comparable<AccountingLineDistributionKey>
Comparable.compareTo(java.lang.Object)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.