Package ru.bitel.common.model
Class AbstractTreeNode<N extends AbstractTreeNode<N>>
java.lang.Object
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:
java.io.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:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<N>childrenprotected intparentIdFields inherited from class ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
entitySpecId -
Constructor Summary
Constructors Constructor Description AbstractTreeNode() -
Method Summary
Modifier and Type Method Description java.util.List<N>getChildren()intgetParentId()voidsetChildren(java.util.List<N> children)voidsetParentId(int parentId)java.util.List<N>toList()Methods inherited from class ru.bitel.oss.kernel.entity.common.bean.Entity
copyTo, getEntityId, setEntityIdMethods inherited from class ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
copyTo, getEntityAttributes, getEntitySpecId, setEntityAttributes, setEntitySpecIdMethods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle, toStringMethods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
parentId
protected int parentId -
children
-
-
Constructor Details
-
AbstractTreeNode
public AbstractTreeNode()
-
-
Method Details
-
getChildren
- Specified by:
getChildrenin interfaceTreeNode<N extends AbstractTreeNode<N>>
-
setChildren
- Specified by:
setChildrenin interfaceNode<N extends AbstractTreeNode<N>>
-
getParentId
public int getParentId()- Specified by:
getParentIdin interfaceNode<N extends AbstractTreeNode<N>>
-
setParentId
public void setParentId(int parentId) -
toList
-