private void processRecord(SignatureLibraryRelease release,String accession,String name,String description){
  if (accession != null) {
    Model model=new Model(name,description,null,null);
    if (signatures.containsKey(accession)) {
      Signature signature=signatures.get(accession);
      signature.addModel(model);
    }
 else {
      Signature signature=new Signature(accession,description,null,null,null,release,new HashSet<Model>());
      signature.addModel(model);
      signatures.put(accession,signature);
    }
  }
}

private void processRecord ( SignatureLibraryRelease release , String accession , String name , String description ) { if ( accession != null ) { Model model = new Model ( name , description , null , null ) ; if ( signatures . containsKey ( accession ) ) { Signature signature = signatures . get ( accession ) ; signature . addModel ( model ) ; } else { Signature signature = new Signature ( accession , description , null , null , null , release , new HashSet < Model > ( ) ) ; signature . addModel ( model ) ; signatures . put ( accession , signature ) ; } } }
add record details to the signatures object . could involve adding a new signature and model to the existing signatures object , or just adding a new model to an existing signature .
