@SuppressWarnings(SUPPRESS_UNCHECKED) public static Reference toReference(Vector<Object> xmlRpcParameters){
  Reference reference=null;
  if (!xmlRpcParameters.isEmpty()) {
    Requirement requirement=toRequirement((Vector<Object>)xmlRpcParameters.get(REFERENCE_REQUIREMENT_IDX));
    Specification specification=toSpecification((Vector<Object>)xmlRpcParameters.get(REFERENCE_SPECIFICATION_IDX));
    SystemUnderTest sut=toSystemUnderTest((Vector<Object>)xmlRpcParameters.get(REFERENCE_SUT_IDX));
    String sections=StringUtils.stripToNull((String)xmlRpcParameters.get(REFERENCE_SECTIONS_IDX));
    reference=Reference.newInstance(requirement,specification,sut,sections);
    Execution exe=toExecution((Vector<Object>)xmlRpcParameters.get(REFERENCE_LAST_EXECUTION_IDX));
    reference.setLastExecution(exe);
  }
  return reference;
}

@ SuppressWarnings ( SUPPRESS_UNCHECKED ) public static Reference toReference ( Vector < Object > xmlRpcParameters ) { Reference reference = null ; if ( ! xmlRpcParameters . isEmpty ( ) ) { Requirement requirement = toRequirement ( ( Vector < Object > ) xmlRpcParameters . get ( REFERENCE_REQUIREMENT_IDX ) ) ; Specification specification = toSpecification ( ( Vector < Object > ) xmlRpcParameters . get ( REFERENCE_SPECIFICATION_IDX ) ) ; SystemUnderTest sut = toSystemUnderTest ( ( Vector < Object > ) xmlRpcParameters . get ( REFERENCE_SUT_IDX ) ) ; String sections = StringUtils . stripToNull ( ( String ) xmlRpcParameters . get ( REFERENCE_SECTIONS_IDX ) ) ; reference = Reference . newInstance ( requirement , specification , sut , sections ) ; Execution exe = toExecution ( ( Vector < Object > ) xmlRpcParameters . get ( REFERENCE_LAST_EXECUTION_IDX ) ) ; reference . setLastExecution ( exe ) ; } return reference ; }
transforms the vector of the reference parameters into a reference object . < br >
