public class AbstractPaymentTypes<N extends AbstractPaymentTypes<N>> extends PaymentType implements TreeNode<N>
editable, parentId, type, TYPE_ALL, TYPE_BRANCH, TYPE_EDITABLE, TYPE_LEAF, TYPE_UNEDITABLE
Constructor and Description |
---|
AbstractPaymentTypes() |
AbstractPaymentTypes(BalanceBaseType baseType) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(N child) |
N[] |
findCodePath(int pid) |
java.util.List<N> |
getChildren() |
boolean |
isEmpty() |
void |
removeChild(N child) |
void |
setChildren(java.util.List<N> children) |
void |
sortByTitle() |
protected void |
sortChildren() |
getEditable, getParentId, getType, setEditable, setParentId, setType
equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
public AbstractPaymentTypes()
public AbstractPaymentTypes(BalanceBaseType baseType)
public java.util.List<N> getChildren()
getChildren
in interface TreeNode<N extends AbstractPaymentTypes<N>>
public void setChildren(java.util.List<N> children)
public boolean isEmpty()
public void addChild(N child)
public void removeChild(N child)
public N[] findCodePath(int pid)
public void sortByTitle()
protected void sortChildren()