Class ResultTree
- java.lang.Object
-
- org.zalando.typemapper.core.result.ResultTree
-
- All Implemented Interfaces:
DbResultNode
public class ResultTree extends Object implements DbResultNode
-
-
Constructor Summary
Constructors Constructor Description ResultTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(DbResultNode node)DbResultNodegetChildByName(String name)List<DbResultNode>getChildren()StringgetName()DbResultNodeTypegetNodeType()StringgetValue()StringtoString()
-
-
-
Method Detail
-
getNodeType
public DbResultNodeType getNodeType()
- Specified by:
getNodeTypein interfaceDbResultNode
-
getValue
public String getValue()
- Specified by:
getValuein interfaceDbResultNode
-
getChildren
public List<DbResultNode> getChildren()
- Specified by:
getChildrenin interfaceDbResultNode
-
getName
public String getName()
- Specified by:
getNamein interfaceDbResultNode
-
getChildByName
public DbResultNode getChildByName(String name)
- Specified by:
getChildByNamein interfaceDbResultNode
-
addChild
public void addChild(DbResultNode node)
-
-