Class AbsNodeWithChildrensDTO

java.lang.Object
cn.net.pap.neo4j.dto.AbsNodeWithChildrensDTO
All Implemented Interfaces:
Serializable

public class AbsNodeWithChildrensDTO extends Object implements Serializable
See Also:
  • Constructor Details

    • AbsNodeWithChildrensDTO

      public AbsNodeWithChildrensDTO(AbsNodeEntity parentNode, List<AbsNodeEntity> childrenNodes)
      构造函数
      Parameters:
      parentNode -
      childrenNodes -
  • Method Details

    • getParentNode

      public AbsNodeEntity getParentNode()
    • setParentNode

      public void setParentNode(AbsNodeEntity parentNode)
    • getChildrenNodes

      public List<AbsNodeEntity> getChildrenNodes()
    • setChildrenNodes

      public void setChildrenNodes(List<AbsNodeEntity> childrenNodes)
    • convert

      public static List<AbsNodeWithChildrensDTO> convert(List<Object[]> inputObjectArrayList)
      对象转换 convert(absNodeRepository.getParentWithChildrens("parent1"));
      Parameters:
      inputObjectArrayList -
      Returns: