1 package org.jbpm.logging.log; 2 3 import java.util.ArrayList ; 4 import java.util.List ; 5 6 public class CompositeLog extends ProcessLog { 7 8 private static final long serialVersionUID = 1L; 9 10 private List children = null; 11 12 public CompositeLog() { 13 } 14 15 public List getChildren() { 16 return children; 17 } 18 public void setChildren(List children) { 19 this.children = children; 20 } 21 22 public String toString() { 23 return "composite"; 24 } 25 26 public void addChild(ProcessLog processLog) { 27 if (children==null) children = new ArrayList (); 28 children.add(processLog); 29 } 30 } 31 | Popular Tags |