Storable storable = otapi.CreateObject(StoredObjectType.STORED_OBJ_CONTACT_NYM);
if (storable != null) {
contactNYM = ContactNym.ot_dynamic_cast(storable);
}
} else {
contactNYM = contact.GetContactNym(index);
}
if (contactNYM != null) {
contactNYM.setGui_label(label);
contactNYM.setMemo(memo);
contactNYM.setNym_id(nymID);