Updated the nodeObject to have a abstract getChildren

Updated the nodeObject to have a abstract getChildren
Not inplemented anywhere yet, just code review

issue: A24Group/Triage#2440 and A24Group/Triage#2438