Package com.eatle.persistent.pojo.foundation.place

Examples of com.eatle.persistent.pojo.foundation.place.District


      List<District> districtList)
  {
    Map<Long, List<District>> disMap = new HashMap<Long, List<District>>();
    for (int i = 0; i < districtList.size(); i++)
    {
      District district = districtList.get(i);
      Long parentId = district.getParentId();
      Long key = parentId;
      if (parentId == null || parentId == 0)
      {
        key = 0L;
      }
View Full Code Here


  }

  @Override
  public void findAllFatherById(long id, StringBuffer fatherStr)
  {
    District district = findById(id);
    if(district != null)
    {
      fatherStr.append(district.getName() + ";");
      if(district.getParentId() != null)
      {
        findAllFatherById(district.getParentId(), fatherStr);
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.eatle.persistent.pojo.foundation.place.District

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.