Package com.portal.app.cc.comp
Class HierarchySetupData
java.lang.Object
com.portal.app.cc.comp.HierarchySetupData
Holds hierarchy information
-
Constructor Summary
ConstructorsConstructorDescriptionHierarchySetupData
(PModelHandle parentAccount, boolean subordinate) Constructs a hierarchy data object -
Method Summary
Modifier and TypeMethodDescriptionReturns the parent accountReturns the parent account, i.e.,PIN_FLD_ACCOUNT_NO of /account objectboolean
Returns the subordinate statusvoid
setParentAccountNumber
(String accountNo) Sets the account number
-
Constructor Details
-
HierarchySetupData
Constructs a hierarchy data object- Parameters:
parentAccount
- The model handle of the current account's parentsubordinate
- The subordinate status of the current account
-
-
Method Details
-
getParentAccount
Returns the parent account- Returns:
- The parent account
-
setParentAccountNumber
Sets the account number- Parameters:
accountNo
-
-
getParentAccountNumber
Returns the parent account, i.e.,PIN_FLD_ACCOUNT_NO of /account object- Returns:
- String account number
-
isSubordinate
public boolean isSubordinate()Returns the subordinate status- Returns:
true
if the account is a subordinate;false
if it is a self-paying account.
-