public PartyRelated(string name, List<DvIdentifier> identifiers, DvCodedText relationship, PartyRef externalRef) { Check.Require(relationship != null, "relationship must not be null"); this.relationship = relationship; SetBaseData(name, identifiers, externalRef); }
protected virtual void ReadXmlBase(System.Xml.XmlReader reader) { if (reader.LocalName == "external_ref") { if (this.externalRef == null) this.externalRef = new PartyRef(); this.externalRef.ReadXml(reader); } }
public static PartyRef PartyRef(Party party) { Check.Require(party != null, "party must not be null"); PartyRef result = new PartyRef(party.Uid, "local", ((IRmType)party).GetRmTypeName()); return result; }
protected Role(string archetypeNodeId, DvText name, PartyRef performer) : base(archetypeNodeId, name) { Performer = performer; }
protected PartyRelationship(string archetypeNodeId, DvText name, PartyRef target) : base(archetypeNodeId, name) { Target = target; }
public PartyRelationship(string archetypeNodeId, DvText name, PartyRef target) : base(archetypeNodeId, name, target) { }
protected virtual void SetBaseData(PartyRef externalRef) { this.externalRef = externalRef; }
public Role(string archetypeNodeId, DvText name, PartyRef performer) : base(archetypeNodeId, name, performer) { }