Class AbstractGeographicCode<N extends AbstractGeographicCode<N>>
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.kernel.base.phone.common.bean.AbstractGeographicCode<N>
- All Implemented Interfaces:
Serializable,GuiTitlable,Idable,ListItem,TreeNode<N>
- Direct Known Subclasses:
CostMapItem
public class AbstractGeographicCode<N extends AbstractGeographicCode<N>>
extends IdTitle
implements TreeNode<N>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.model.IdTitle
IdTitle.Builder, IdTitle.IdTitleBuilder -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfindCodeIterator(String code) N[]findCodePath(String code) getCode()intString[]getRange()protected static booleanmatches(String code, AbstractGeographicCode<?> child) voidsetChildren(List<N> children) voidvoidsetComment(String comment) voidsetDestination(String destination) voidsetDestinationId(int destinationId) toString()Methods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitleMethods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
-
Field Details
-
code
-
prefix
-
range
-
children
-
-
Constructor Details
-
AbstractGeographicCode
public AbstractGeographicCode()
-
-
Method Details
-
getCode
-
getPrefix
-
getRange
-
setCode
-
getChildren
- Specified by:
getChildrenin interfaceTreeNode<N extends AbstractGeographicCode<N>>
-
setChildren
-
getDestinationId
public int getDestinationId() -
setDestinationId
public void setDestinationId(int destinationId) -
getDestination
-
setDestination
-
getComment
-
setComment
-
addChild
-
findCode
-
findCodeIterator
-
findCodePath
-
matches
-
toString
-