public void addChild(final Condition condition){
  if (children == null) {
    children=new ArrayList<Condition>();
  }
  children.add(condition);
}

public void addChild ( final Condition condition ) { if ( children == null ) { children = new ArrayList < Condition > ( ) ; } children . add ( condition ) ; }
this method adds a child condition . this allows to handle embedded conditions .
