Ejemplo n.º 1
0
 public StringValue(IndividualItem item, XElement xelem) : this()
 {
     if (item != null)
     {
         IndividualItem = item;
         IndividualId   = item.Id;
     }
     ;
     if (xelem != null && xelem.Name.LocalName == "VALUE")
     {
         Value = xelem.Value;
     }
     ;
 }
Ejemplo n.º 2
0
 public IndividualPOB(IndividualItem item, XElement xelem) : this()
 {
     if (item != null)
     {
         IndividualItem = item;
         IndividualId   = item.Id;
     }
     ;
     if (xelem != null && xelem.Name.LocalName == "INDIVIDUAL_PLACE_OF_BIRTH")
     {
         City     = xelem.Element(S("CITY"))?.Value;
         Province = xelem.Element(S("STATE_PROVINCE"))?.Value;
         Country  = xelem.Element(S("COUNTRY"))?.Value;
         Note     = xelem.Element(S("NOTE"))?.Value;
     }
     ;
 }
Ejemplo n.º 3
0
 public IndividualAlias(IndividualItem individual, XElement xelem) : this()
 {
     if (individual != null)
     {
         IndividualItem = individual;
         IndividualId   = individual.Id;
     }
     ;
     FillCommonInfo(xelem);
     if (xelem != null && xelem.Name.LocalName == "INDIVIDUAL_ALIAS")
     {
         BirthDate    = xelem.Element(S("DATE_OF_BIRTH"))?.Value;
         BirthCity    = xelem.Element(S("CITY_OF_BIRTH"))?.Value;
         BirthCountry = xelem.Element(S("COUNTRY_OF_BIRTH"))?.Value;
         Note         = xelem.Element(S("NOTE"))?.Value;
     }
     ;
 }
Ejemplo n.º 4
0
 public IndividualDOB(IndividualItem individual, XElement xelem) : this()
 {
     if (individual != null)
     {
         IndividualItem = individual;
     }
     ;
     if (xelem != null && xelem.Name.LocalName == "INDIVIDUAL_DATE_OF_BIRTH")
     {
         DateType = xelem.Element(S("TYPE_OF_DATE"))?.Value;
         Note     = xelem.Element(S("NOTE"))?.Value;
         Date     = ParseXmlDateTime(xelem.Element(S("DATE")));
         Year     = ParseXmlShort(xelem.Element(S("YEAR")));
         FromYear = ParseXmlShort(xelem.Element(S("FROM_YEAR")));
         ToYear   = ParseXmlShort(xelem.Element(S("TO_YEAR")));
     }
     ;
 }
Ejemplo n.º 5
0
 public IndividualDoc(IndividualItem item, XElement xelem) : this()
 {
     if (item != null)
     {
         IndividualItem = item;
     }
     ;
     if (xelem != null && xelem.Name.LocalName == "INDIVIDUAL_DOCUMENT")
     {
         Type           = xelem.Element(S("TYPE_OF_DOCUMENT"))?.Value;
         OtherType      = xelem.Element(S("TYPE_OF_DOCUMENT2"))?.Value;
         Number         = xelem.Element(S("NUMBER"))?.Value;
         IssuingCountry = xelem.Element(S("ISSUING_COUNTRY"))?.Value;
         DateOfIssue    = xelem.Element(S("DATE_OF_ISSUE"))?.Value;
         CityOfIssue    = xelem.Element(S("CITY_OF_ISSUE"))?.Value;
         CountryOfIssue = xelem.Element(S("COUNTRY_OF_ISSUE"))?.Value;
         Note           = xelem.Element(S("NOTE"))?.Value;
     }
     ;
 }
Ejemplo n.º 6
0
 public Title(IndividualItem item, XElement xelem) : base(item, xelem)
 {
 }
Ejemplo n.º 7
0
 public Nationality(IndividualItem item, XElement xelem) : base(item, xelem)
 {
 }
Ejemplo n.º 8
0
 public Designation(IndividualItem item, XElement xelem) : base(item, xelem)
 {
 }