Class ContractLabelItem
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.kernel.contract.label.common.bean.ContractLabelItem
- All Implemented Interfaces:
- Serializable,- Comparable<ContractLabelItem>,- GuiTitlable,- Idable,- ListItem,- TreeNode<ContractLabelItem>
public class ContractLabelItem
extends IdTitle
implements TreeNode<ContractLabelItem>, Comparable<ContractLabelItem>
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class ru.bitel.common.model.IdTitleIdTitle.IdTitleBuilder
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddChild(ContractLabelItem child) static ContractLabelItem.Builderbuilder()intintintintbooleanisEmpty()booleanbooleanvoidremoveChild(ContractLabelItem child) voidsetChildren(List<ContractLabelItem> children) voidsetComment(String comment) voidsetContractLabelType(ContractLabelType contractLabelType) voidsetContractLinkCount(int contractLinkCount) voidsetForbiddenEdit(boolean forbiddenEdit) voidsetParentId(int parentId) voidsetSelected(boolean selected) voidsetSortPosition(int sortPosition) Methods inherited from class ru.bitel.common.model.IdTitlecopyTo, getGuiTitle, getTitle, setTitle, to, toIdTitle, toStringMethods inherited from class ru.bitel.common.model.IdcopyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
- 
Constructor Details- 
ContractLabelItempublic ContractLabelItem()
 
- 
- 
Method Details- 
getParentIdpublic int getParentId()
- 
removeChild
- 
isEmptypublic boolean isEmpty()
- 
addChild
- 
setChildren
- 
setParentIdpublic void setParentId(int parentId) 
- 
getContractLinkCountpublic int getContractLinkCount()
- 
setContractLinkCountpublic void setContractLinkCount(int contractLinkCount) 
- 
isSelectedpublic boolean isSelected()
- 
setSelectedpublic void setSelected(boolean selected) 
- 
getContractLabelType
- 
setContractLabelType
- 
getChildren- Specified by:
- getChildrenin interface- TreeNode<ContractLabelItem>
 
- 
getSortPositionpublic int getSortPosition()
- 
setSortPositionpublic void setSortPosition(int sortPosition) 
- 
getComment
- 
setComment
- 
isForbiddenEditpublic boolean isForbiddenEdit()
- 
setForbiddenEditpublic void setForbiddenEdit(boolean forbiddenEdit) 
- 
compareTo- Specified by:
- compareToin interface- Comparable<ContractLabelItem>
 
- 
builder
 
-