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:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(ContractLabelItem child) int
int
int
int
boolean
isEmpty()
boolean
boolean
void
removeChild
(ContractLabelItem child) void
setChildren
(List<ContractLabelItem> children) void
setComment
(String comment) void
setContractLabelType
(ContractLabelType contractLabelType) void
setContractLinkCount
(int contractLinkCount) void
setForbiddenEdit
(boolean forbiddenEdit) void
setParentId
(int parentId) void
setSelected
(boolean selected) void
setSortPosition
(int sortPosition) Methods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle, toString
Methods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
-
Constructor Details
-
ContractLabelItem
public ContractLabelItem()
-
-
Method Details
-
getParentId
public int getParentId() -
removeChild
-
isEmpty
public boolean isEmpty() -
addChild
-
setChildren
-
setParentId
public void setParentId(int parentId) -
getContractLinkCount
public int getContractLinkCount() -
setContractLinkCount
public void setContractLinkCount(int contractLinkCount) -
isSelected
public boolean isSelected() -
setSelected
public void setSelected(boolean selected) -
getContractLabelType
-
setContractLabelType
-
getChildren
- Specified by:
getChildren
in interfaceTreeNode<ContractLabelItem>
-
getSortPosition
public int getSortPosition() -
setSortPosition
public void setSortPosition(int sortPosition) -
getComment
-
setComment
-
isForbiddenEdit
public boolean isForbiddenEdit() -
setForbiddenEdit
public void setForbiddenEdit(boolean forbiddenEdit) -
compareTo
- Specified by:
compareTo
in interfaceComparable<ContractLabelItem>
-