public SegmentTemplateParameterContext initSegment(SegmentUUID uuid){
  if (!segments.containsKey(uuid)) {
    int segmNum=segments.size();
    doAddParameter(uuid,SegmentContextParameters.UUID,uuid.getUuid());
    doAddParameter(uuid,SegmentContextParameters.NUM,String.valueOf(segmNum));
  }
  return this;
}

public SegmentTemplateParameterContext initSegment ( SegmentUUID uuid ) { if ( ! segments . containsKey ( uuid ) ) { int segmNum = segments . size ( ) ; doAddParameter ( uuid , SegmentContextParameters . UUID , uuid . getUuid ( ) ) ; doAddParameter ( uuid , SegmentContextParameters . NUM , String . valueOf ( segmNum ) ) ; } return this ; }
inits a segment parameter defined by the given uuid . defines default parameters ( such as segment uuid and number ) . the method must be called for each segment before adding another parameters .
