Class GeographicCode

java.lang.Object
ru.bitel.bgbilling.kernel.base.phone.common.bean.GeographicCode
All Implemented Interfaces:
TreeNode<GeographicCode>

public class GeographicCode extends Object implements TreeNode<GeographicCode>
  • Constructor Details

    • GeographicCode

      public GeographicCode()
  • Method Details

    • getCode

      public String getCode()
    • setCode

      public void setCode(String code)
    • getChildren

      public List<GeographicCode> getChildren()
      Specified by:
      getChildren in interface TreeNode<GeographicCode>
    • setChildren

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

      public int getDestinationId()
    • setDestinationId

      public void setDestinationId(int destinationId)
    • getDestination

      public String getDestination()
    • setDestination

      public void setDestination(String destination)
    • getLevel

      public int getLevel()
    • setLevel

      public void setLevel(int level)
    • getStartLevel

      public int getStartLevel()
    • setStartLevel

      public void setStartLevel(int startLevel)
    • getEndLevel

      public int getEndLevel()
    • setEndLevel

      public void setEndLevel(int endLevel)
    • findCodeMatch

      public GeographicCode findCodeMatch(String code)
    • findParent

      public GeographicCode findParent(String code)
    • findCode

      public GeographicCode findCode(String code)
    • findCode

      public GeographicCode findCode(String code, int startLevel, int endLevel)
    • addChild

      public void addChild(GeographicCode child)
    • toString

      public String toString()
      Overrides:
      toString in class Object