public class ItemChargeNode extends DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
ItemChargeNode(String desc)
Constructor to create an ItemChargeNode only with description.
|
ItemChargeNode(String desc,
int descType,
BigDecimal charge,
BigDecimal discount,
BigDecimal billedARactions,
BigDecimal unbilledARactions,
BigDecimal amountDue,
BigDecimal netAmount,
String account,
PModelHandle pmhItemCharge)
Constructor to create an ItemChargeNode only with the following fields.
|
ItemChargeNode(String desc,
int descType,
BigDecimal charge,
BigDecimal discount,
BigDecimal amountDue,
String account,
PModelHandle pmhItemCharge)
Constructor to create an ItemChargeNode only with the following fields.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccount()
Returns the account number
|
BigDecimal |
getAmountDue()
Returns the amount due.
|
BigDecimal |
getBilledARactions()
Returns the billed AR actions.
|
BigDecimal |
getCharge()
Returns the charge
|
PModelHandle |
getChargesHandle()
Returns the item charges PModelHandle
|
String |
getDesc()
Returns the description
|
BigDecimal |
getDiscount()
Returns the discount
|
BigDecimal |
getNetAmount()
Returns the net amount
|
BigDecimal |
getUnbilledARactions()
Returns the unbilled AR actions.
|
boolean |
isLeaf()
Returns whether its a leaf or not
|
void |
setAccount(String account)
Setter for account.
|
void |
setAmountDue(BigDecimal amountDue)
Sets the amount due.
|
void |
setBilledARactions(BigDecimal billedARactions)
Sets the billed AR actions.
|
void |
setCharge(BigDecimal charge)
Setter for charge.
|
void |
setChargesHandle(PModelHandle pmhItemCharge)
Sets the item charge PModelHandle
|
void |
setDesc(String desc)
Setter for the description.
|
void |
setDiscount(BigDecimal discount)
Setter for discount.
|
void |
setNetAmount(BigDecimal netAmount)
Setter for net amount.
|
void |
setUnbilledARactions(BigDecimal unbilledARactions)
Sets the unbilled AR actions.
|
void |
setUserObj(PModelHandle pmhItemCharge)
Set the item charges PModelHandle
|
String |
toString()
Returns the description.
|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public ItemChargeNode(String desc)
String
- descpublic ItemChargeNode(String desc, int descType, BigDecimal charge, BigDecimal discount, BigDecimal amountDue, String account, PModelHandle pmhItemCharge)
String
- descint
- descTypeBigDecimal
- chargeBigDecimal
- discountBigDecimal
- amountDueString
- accountPModelHandle
- pmhItemChargepublic ItemChargeNode(String desc, int descType, BigDecimal charge, BigDecimal discount, BigDecimal billedARactions, BigDecimal unbilledARactions, BigDecimal amountDue, BigDecimal netAmount, String account, PModelHandle pmhItemCharge)
String
- descint
- descTypeBigDecimal
- chargeBigDecimal
- discountBigDecimal
- billedARactionsBigDecimal
- unbilledARactionsBigDecimal
- amountDueBigDecimal
- netAmountString
- accountPModelHandle
- pmhItemChargepublic void setUserObj(PModelHandle pmhItemCharge)
pmhItemCharge
- public boolean isLeaf()
isLeaf
in interface TreeNode
isLeaf
in class DefaultMutableTreeNode
public String toString()
toString
in class DefaultMutableTreeNode
public String getDesc()
public BigDecimal getCharge()
public BigDecimal getDiscount()
public BigDecimal getNetAmount()
public String getAccount()
public void setDesc(String desc)
desc
- public void setCharge(BigDecimal charge)
charge
- public void setDiscount(BigDecimal discount)
discount
- public void setNetAmount(BigDecimal netAmount)
netAmount
- public void setAccount(String account)
account
- public PModelHandle getChargesHandle()
public void setChargesHandle(PModelHandle pmhItemCharge)
pmhItemCharge
- public BigDecimal getBilledARactions()
public void setBilledARactions(BigDecimal billedARactions)
billedARactions
- BigDecimalpublic BigDecimal getUnbilledARactions()
public void setUnbilledARactions(BigDecimal unbilledARactions)
unbilledARactions
- BigDecimalpublic BigDecimal getAmountDue()
public void setAmountDue(BigDecimal amountDue)
amountDue
- BigDecimalCopyright © 2003, 2023, Oracle and/or its affiliates.