Package ru.bitel.common.model
Class AbstractTreeNode<N extends AbstractTreeNode<N>>
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
ru.bitel.oss.kernel.entity.common.bean.Entity
ru.bitel.common.model.AbstractTreeNode<N>
- All Implemented Interfaces:
Serializable
,GuiTitlable
,Idable
,ListItem
,Node<N>
,TreeNode<N>
- Direct Known Subclasses:
Domain
,InetOption
,InetServ
,IpCategory
,PhoneCategory
,TvAccount
,VlanCategory
,VoiceBaseCodeBean
public abstract class AbstractTreeNode<N extends AbstractTreeNode<N>>
extends Entity
implements Node<N>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.model.IdTitle
IdTitle.Builder, IdTitle.IdTitleBuilder
-
Field Summary
Fields inherited from class ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
entitySpecId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
setChildren
(List<N> children) void
setParentId
(int parentId) toList()
Methods inherited from class ru.bitel.oss.kernel.entity.common.bean.Entity
copyTo, getEntityId, setEntityId
Methods inherited from class ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
copyTo, getEntityAttributes, getEntitySpecId, setEntityAttributes, setEntitySpecId
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
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
Field Details
-
parentId
protected int parentId -
children
-
-
Constructor Details
-
AbstractTreeNode
public AbstractTreeNode()
-
-
Method Details
-
getChildren
- Specified by:
getChildren
in interfaceTreeNode<N extends AbstractTreeNode<N>>
-
setChildren
- Specified by:
setChildren
in interfaceNode<N extends AbstractTreeNode<N>>
-
getParentId
public int getParentId()- Specified by:
getParentId
in interfaceNode<N extends AbstractTreeNode<N>>
-
setParentId
public void setParentId(int parentId) -
toList
-