@@ -0,0 +1,1176 @@
+package com.uet.beman;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A * Created by thanhpd on 3/12/2015.%0A */%0Apublic class GroupNode extends Node %7B%0A%0A    private List%3CNode%3E childNode = new ArrayList%3CNode%3E();%0A%0A    public GroupNode() %7B%0A    %7D%0A%0A    public GroupNode(int id, String message, int parentId, List%3CNode%3E childNode) %7B%0A        super(id, message, parentId);%0A        setChildNodeList(childNode);%0A    %7D%0A%0A    public GroupNode(int id) %7B super(id, null, 0); %7D%0A%0A    public List%3CNode%3E getChildNodeList() %7B return childNode; %7D%0A%0A    public void setChildNodeList(List%3CNode%3E childNode) %7B this.childNode = childNode; %7D%0A%0A    public boolean isSentenceNode() %7B return false; %7D%0A%0A    public List%3CGroupNode%3E getGroupGroupNode() %7B%0A        List%3CGroupNode%3E result = new ArrayList%3C%3E();%0A        for (Node i:childNode) %7B%0A            if (!i.isSentenceNode()) result.add((GroupNode) i);%0A        %7D%0A        return result;%0A    %7D%0A%0A    public List%3CSentenceNode%3E getGroupSentenceNode() %7B%0A        List%3CSentenceNode%3E result = new ArrayList%3CSentenceNode%3E();%0A        for (Node i:childNode) %7B%0A            if (i.isSentenceNode()) result.add((SentenceNode) i);%0A        %7D%0A        return result;%0A    %7D%0A%7D%0A

Add data structure for storing schedule message