public class AccountReferencePersistenceExemption extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
accountNumberPropertyName |
protected String |
chartOfAccountsCodePropertyName |
protected Class<?> |
parentBusinessObjectClass |
Constructor and Description |
---|
AccountReferencePersistenceExemption() |
Modifier and Type | Method and Description |
---|---|
String |
getAccountNumberPropertyName() |
String |
getChartOfAccountsCodePropertyName() |
Class<?> |
getParentBusinessObjectClass() |
boolean |
matches(String chartOfAccountsCodePropertyName,
String accountNumberPropertyName)
Determines if the given chart of accounts code property name and account number property name would match the relationship-to-account chart of accounts code property name and account number property name encapsulated herein
|
void |
setAccountNumberPropertyName(String accountNumberPropertyName)
Sets the name of the property on the parentBusinessObjectClass which represents the account number portion of the Account relationship
|
void |
setChartOfAccountsCodePropertyName(String chartOfAccountsCodePropertyName)
Sets the name of the property on the parentBusinessObjectClass which represents the chart of accounts code portion of the Account relationship
|
void |
setParentBusinessObjectClass(Class<?> parentBusinessObjectClass)
Sets the business object class which owns a relationship that will be exempted
|
protected Class<?> parentBusinessObjectClass
protected String chartOfAccountsCodePropertyName
protected String accountNumberPropertyName
public AccountReferencePersistenceExemption()
public Class<?> getParentBusinessObjectClass()
public void setParentBusinessObjectClass(Class<?> parentBusinessObjectClass)
parentBusinessObjectClass
- the business object class which owns a relationship that will be exemptedpublic String getChartOfAccountsCodePropertyName()
public void setChartOfAccountsCodePropertyName(String chartOfAccountsCodePropertyName)
chartOfAccountsCodePropertyName
- the name of the property on the parentBusinessObjectClass which represents the chart of accounts code portion of the Account relationshippublic String getAccountNumberPropertyName()
public void setAccountNumberPropertyName(String accountNumberPropertyName)
accountNumberPropertyName
- the name of the property on the parentBusinessObjectClass which represents the account number portion of the Account relationshippublic boolean matches(String chartOfAccountsCodePropertyName, String accountNumberPropertyName)
chartOfAccountsCodePropertyName
- the name of the chart of accounts code property name in the relationshipaccountNumberPropertyName
- the name of the account number property name in the relationshipCopyright © 2004–2015 The Kuali Foundation. All rights reserved.