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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
findCodeIterator
(String code) N[]
findCodePath
(String code) getCode()
int
String[]
getRange()
protected static boolean
matches
(String code, AbstractGeographicCode<?> child) void
setChildren
(List<N> children) void
void
setComment
(String comment) void
setDestination
(String destination) void
setDestinationId
(int destinationId) toString()
Methods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle
Methods 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:
getChildren
in 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
-