/// <summary> /// Constructor /// </summary> public ContactRoleObj() { _contactRef = null; _contact = null; _role = null; }
/// <summary> /// Create an object using the contents of the corresponding MzIdentML object /// </summary> /// <param name="cr"></param> /// <param name="idata"></param> public ContactRoleObj(ContactRoleType cr, IdentDataObj idata) : base(idata) { ContactRef = cr.contact_ref; _role = null; if (cr.Role != null) { _role = new RoleObj(cr.Role, IdentData); } }