code: public void setPatterns(StepPattern[] patterns)
    {
      m_patterns = patterns;
      if(null != patterns)
      {
      	for(int i = 0; i < patterns.length; i++)
      	{
      		patterns[i].exprSetParent(this);
      	}
      }
      
    }
docs: Set the contained step patterns to be tested.
  
  
  @param patterns the contained step patterns to be tested.