Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
            }
        }
Exemplo n.º 3
0
        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;
        }
Exemplo n.º 4
0
 protected Role(string archetypeNodeId, DvText name, PartyRef performer)
     : base(archetypeNodeId, name)
 {
     Performer = performer;
 }
Exemplo n.º 5
0
 protected PartyRelationship(string archetypeNodeId, DvText name, PartyRef target)
     : base(archetypeNodeId, name)
 {
     Target = target;
 }
Exemplo n.º 6
0
 public PartyRelationship(string archetypeNodeId, DvText name, PartyRef target)
     : base(archetypeNodeId, name, target)
 {
 }
Exemplo n.º 7
0
 protected virtual void SetBaseData(PartyRef externalRef)
 {
     this.externalRef = externalRef;
 }
Exemplo n.º 8
0
 public Role(string archetypeNodeId, DvText name, PartyRef performer)
     : base(archetypeNodeId, name, performer)
 {
 }