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:
  • Field Details

  • Constructor Details

    • AbstractGeographicCode

      public AbstractGeographicCode()
  • Method Details

    • getCode

      public String getCode()
    • getPrefix

      public String getPrefix()
    • getRange

      public String[] getRange()
    • setCode

      public void setCode(String code)
    • getChildren

      public List<N> getChildren()
      Specified by:
      getChildren in interface TreeNode<N extends AbstractGeographicCode<N>>
    • setChildren

      public void setChildren(List<N> children)
    • getDestinationId

      public int getDestinationId()
    • setDestinationId

      public void setDestinationId(int destinationId)
    • getDestination

      public String getDestination()
    • setDestination

      public void setDestination(String destination)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • addChild

      public void addChild(N child)
    • findCode

      public N findCode(String code)
    • findCodeIterator

      public Iterable<N> findCodeIterator(String code)
    • findCodePath

      public N[] findCodePath(String code)
    • matches

      protected static boolean matches(String code, AbstractGeographicCode<?> child)
    • toString

      public String toString()
      Overrides:
      toString in class IdTitle