git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@425
be28352e-c001-0410-b1a7-
c7978e42abec
&& (this.version == null || this.version.equals(that.version))
&& (this.clientUrn == null || this.clientUrn.equals(that.clientUrn)));
}
+
+ public String getClientNCname() {
+
+ String ncname = clientName.replace(':', '_');
+ ncname = ncname.replace('@', '.');
+ return ncname;
+ }
}
unique.reset();
unique.update(new Object[] { session, client, user}.toString().getBytes());
// TODO: Ensure format of URNs and use standard composition methods.
- idstring = client.getClientName()+":"+unique.getValue()+".";
+ idstring = client.getClientNCname()+"_"+unique.getValue()+".";
extantids=new Hashtable();
this.extanthashv=new Hashtable();
}