gedcomx-php-client
  • Namespace
  • Class

Namespaces

  • Gedcomx
    • Agent
    • Atom
    • Common
    • Conclusion
    • Extensions
      • FamilySearch
        • Platform
          • Artifacts
          • Discussions
          • Tree
          • Users
        • Rs
          • Client
            • FamilyTree
            • Helpers
            • Memories
            • Util
        • Rt
        • Types
    • GedcomxFile
    • Links
    • Records
    • Rs
      • Client
        • Exception
        • Options
        • Util
    • Rt
    • Search
    • Source
    • Support
    • Types
    • Util
    • Vocab

Classes

  • Gedcomx\Agent\Address
  • Gedcomx\Agent\Agent
  • Gedcomx\Agent\OnlineAccount
  • Gedcomx\Atom\Category
  • Gedcomx\Atom\CommonAttributes
  • Gedcomx\Atom\Content
  • Gedcomx\Atom\Entry
  • Gedcomx\Atom\ExtensibleElement
  • Gedcomx\Atom\Feed
  • Gedcomx\Atom\Generator
  • Gedcomx\Atom\Person
  • Gedcomx\Common\Attribution
  • Gedcomx\Common\CustomEntity
  • Gedcomx\Common\CustomKeyedItem
  • Gedcomx\Common\EvidenceReference
  • Gedcomx\Common\ExtensibleData
  • Gedcomx\Common\Note
  • Gedcomx\Common\Qualifier
  • Gedcomx\Common\ResourceReference
  • Gedcomx\Common\TextValue
  • Gedcomx\Common\UniqueCustomKeyedItem
  • Gedcomx\Conclusion\Conclusion
  • Gedcomx\Conclusion\DateInfo
  • Gedcomx\Conclusion\DisplayProperties
  • Gedcomx\Conclusion\Document
  • Gedcomx\Conclusion\Event
  • Gedcomx\Conclusion\EventRole
  • Gedcomx\Conclusion\Fact
  • Gedcomx\Conclusion\Gender
  • Gedcomx\Conclusion\Identifier
  • Gedcomx\Conclusion\Name
  • Gedcomx\Conclusion\NameForm
  • Gedcomx\Conclusion\NamePart
  • Gedcomx\Conclusion\Person
  • Gedcomx\Conclusion\PlaceDescription
  • Gedcomx\Conclusion\PlaceDisplayProperties
  • Gedcomx\Conclusion\PlaceReference
  • Gedcomx\Conclusion\Relationship
  • Gedcomx\Conclusion\Subject
  • Gedcomx\Extensions\FamilySearch\Error
  • Gedcomx\Extensions\FamilySearch\FamilySearchPlatform
  • Gedcomx\Extensions\FamilySearch\Feature
  • Gedcomx\Extensions\FamilySearch\HealthConfig
  • Gedcomx\Extensions\FamilySearch\Platform\Artifacts\ArtifactMetadata
  • Gedcomx\Extensions\FamilySearch\Platform\Artifacts\ArtifactType
  • Gedcomx\Extensions\FamilySearch\Platform\Discussions\Comment
  • Gedcomx\Extensions\FamilySearch\Platform\Discussions\Discussion
  • Gedcomx\Extensions\FamilySearch\Platform\Error
  • Gedcomx\Extensions\FamilySearch\Platform\HealthConfig
  • Gedcomx\Extensions\FamilySearch\Platform\Tag
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\ChangeInfo
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\ChangeObjectModifier
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\ChangeObjectType
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\ChangeOperation
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\ChildAndParentsRelationship
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\DiscussionReference
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\MatchInfo
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\MatchStatus
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\Merge
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\MergeAnalysis
  • Gedcomx\Extensions\FamilySearch\Platform\Tree\MergeConflict
  • Gedcomx\Extensions\FamilySearch\Platform\Users\User
  • Gedcomx\Extensions\FamilySearch\Rs\Client\DiscussionsState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\DiscussionState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchClient
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchCollectionState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchPlaceDescriptionState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchPlaces
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchPlaceState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchSourceDescriptionState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilySearchStateFactory
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\ChangeHistoryState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\ChildAndParentsRelationshipState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreeCollectionState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreePersonChildrenState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreePersonParentsState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreePersonState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreeRelationshipsState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreeRelationshipState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\FamilyTreeStateFactory
  • Gedcomx\Extensions\FamilySearch\Rs\Client\Helpers\FamilySearchRequest
  • Gedcomx\Extensions\FamilySearch\Rs\Client\Memories\FamilySearchMemories
  • Gedcomx\Extensions\FamilySearch\Rs\Client\PersonMatchResultsState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\PersonMergeState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\PersonNonMatchesState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\Rel
  • Gedcomx\Extensions\FamilySearch\Rs\Client\UserHistoryState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\UserState
  • Gedcomx\Extensions\FamilySearch\Rs\Client\Util\ChangeEntry
  • Gedcomx\Extensions\FamilySearch\Rs\Client\Util\ChangeHistoryPage
  • Gedcomx\Extensions\FamilySearch\Rs\Client\Util\LoggerMiddleware
  • Gedcomx\Extensions\FamilySearch\Rs\Client\Util\ThrottlingMiddleware
  • Gedcomx\Extensions\FamilySearch\Rt\FamilySearchPlatformLocalReferenceResolver
  • Gedcomx\Extensions\FamilySearch\Rt\FamilySearchPlatformModelVisitorBase
  • Gedcomx\Extensions\FamilySearch\Tag
  • Gedcomx\Extensions\FamilySearch\Types\FactType
  • Gedcomx\Gedcomx
  • Gedcomx\GedcomxFile\DefaultJsonSerialization
  • Gedcomx\GedcomxFile\DefaultXMLSerialization
  • Gedcomx\GedcomxFile\GedcomxFile
  • Gedcomx\GedcomxFile\GedcomxFileEntry
  • Gedcomx\GedcomxFile\GedcomxOutput
  • Gedcomx\GedcomxFile\Manifest
  • Gedcomx\GedcomxFile\ManifestAttribute
  • Gedcomx\Links\HypermediaEnabledData
  • Gedcomx\Links\Link
  • Gedcomx\Records\Collection
  • Gedcomx\Records\CollectionContent
  • Gedcomx\Records\Field
  • Gedcomx\Records\FieldDescriptor
  • Gedcomx\Records\FieldValue
  • Gedcomx\Records\FieldValueDescriptor
  • Gedcomx\Records\RecordDescriptor
  • Gedcomx\Records\RecordSet
  • Gedcomx\Records\RecordSetIterator
  • Gedcomx\Rs\Client\AgentState
  • Gedcomx\Rs\Client\AncestryResultsState
  • Gedcomx\Rs\Client\CollectionsState
  • Gedcomx\Rs\Client\CollectionState
  • Gedcomx\Rs\Client\DescendancyResultsState
  • Gedcomx\Rs\Client\GedcomxApplicationState
  • Gedcomx\Rs\Client\GedcomxSearchQuery
  • Gedcomx\Rs\Client\Options\CacheDirectives
  • Gedcomx\Rs\Client\Options\HeaderParameter
  • Gedcomx\Rs\Client\Options\Preconditions
  • Gedcomx\Rs\Client\Options\QueryParameter
  • Gedcomx\Rs\Client\PersonChildrenState
  • Gedcomx\Rs\Client\PersonParentsState
  • Gedcomx\Rs\Client\PersonSearchResultsState
  • Gedcomx\Rs\Client\PersonSpousesState
  • Gedcomx\Rs\Client\PersonsState
  • Gedcomx\Rs\Client\PersonState
  • Gedcomx\Rs\Client\PlaceDescriptionsState
  • Gedcomx\Rs\Client\PlaceDescriptionState
  • Gedcomx\Rs\Client\PlaceGroupState
  • Gedcomx\Rs\Client\PlaceSearchResultsState
  • Gedcomx\Rs\Client\RecordsState
  • Gedcomx\Rs\Client\RecordState
  • Gedcomx\Rs\Client\Rel
  • Gedcomx\Rs\Client\RelationshipsState
  • Gedcomx\Rs\Client\RelationshipState
  • Gedcomx\Rs\Client\SearchParameter
  • Gedcomx\Rs\Client\SourceDescriptionsState
  • Gedcomx\Rs\Client\SourceDescriptionState
  • Gedcomx\Rs\Client\StateFactory
  • Gedcomx\Rs\Client\Util\AncestryNode
  • Gedcomx\Rs\Client\Util\AncestryTree
  • Gedcomx\Rs\Client\Util\DataSource
  • Gedcomx\Rs\Client\Util\DescendancyNode
  • Gedcomx\Rs\Client\Util\DescendancyTree
  • Gedcomx\Rs\Client\Util\EmbeddedLinkLoader
  • Gedcomx\Rs\Client\Util\Embedding
  • Gedcomx\Rs\Client\Util\GedcomxBaseSearchQueryBuilder
  • Gedcomx\Rs\Client\Util\GedcomxPersonSearchQueryBuilder
  • Gedcomx\Rs\Client\Util\GedcomxPlaceSearchQueryBuilder
  • Gedcomx\Rs\Client\Util\HttpStatus
  • Gedcomx\Rs\Client\Util\RdfCollection
  • Gedcomx\Rs\Client\Util\RdfNode
  • Gedcomx\Rs\Client\Util\SearchParameter
  • Gedcomx\Rs\Client\VocabConstants
  • Gedcomx\Rs\Client\VocabElementListState
  • Gedcomx\Rs\Client\VocabElementState
  • Gedcomx\Rt\GedcomxLocalReferenceResolver
  • Gedcomx\Rt\GedcomxModelVisitorBase
  • Gedcomx\Search\ResultConfidence
  • Gedcomx\Source\CitationField
  • Gedcomx\Source\Coverage
  • Gedcomx\Source\SourceCitation
  • Gedcomx\Source\SourceDescription
  • Gedcomx\Source\SourceReference
  • Gedcomx\Types\ConfidenceLevel
  • Gedcomx\Types\DocumentType
  • Gedcomx\Types\EventRoleType
  • Gedcomx\Types\EventType
  • Gedcomx\Types\FactType
  • Gedcomx\Types\FieldType
  • Gedcomx\Types\FieldValueType
  • Gedcomx\Types\GenderType
  • Gedcomx\Types\IdentifierType
  • Gedcomx\Types\NamePartType
  • Gedcomx\Types\NameType
  • Gedcomx\Types\RecordType
  • Gedcomx\Types\RelationshipType
  • Gedcomx\Types\ResourceType
  • Gedcomx\Util\Collection
  • Gedcomx\Util\Duration
  • Gedcomx\Util\FormalDate
  • Gedcomx\Util\JsonMapper
  • Gedcomx\Util\SimpleDate
  • Gedcomx\Util\XmlMapper
  • Gedcomx\Vocab\VocabElement
  • Gedcomx\Vocab\VocabElementList

Interfaces

  • Gedcomx\Common\Attributable
  • Gedcomx\Common\HasNotes
  • Gedcomx\Conclusion\HasFacts
  • Gedcomx\Extensions\FamilySearch\Rs\Client\FamilyTree\PreferredRelationshipState
  • Gedcomx\Extensions\FamilySearch\Rt\FamilySearchPlatformModelVisitor
  • Gedcomx\GedcomxFile\GedcomxEntryDeserializer
  • Gedcomx\GedcomxFile\GedcomxEntrySerializer
  • Gedcomx\Links\SupportsLinks
  • Gedcomx\Records\HasFields
  • Gedcomx\Rs\Client\Options\StateTransitionOption
  • Gedcomx\Rs\Client\SupportsExtensionElements
  • Gedcomx\Rt\GedcomxModelVisitor
  • Gedcomx\Source\ReferencesSources
  • Gedcomx\Support\HasJsonKey

Exceptions

  • Gedcomx\GedcomxFile\GedcomxFileException
  • Gedcomx\Rs\Client\Exception\GedcomxApplicationException
  • Gedcomx\Rs\Client\Exception\GedcomxInvalidQueryParameter
  • Gedcomx\Rs\Client\Exception\NullValueException
  1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 
<?php
/**
 *
 * 
 *
 * Generated by <a href="http://enunciate.codehaus.org">Enunciate</a>.
 *
 */

namespace Gedcomx\Types;

/**
 * Enumeration of standard fact types.
 */
class FactType
{

    /**
     *  A fact of a person's adoption. In the context of a parent-child relationship, it describes a fact of the adoption of a child by a parent.
     */
    const ADOPTION = "http://gedcomx.org/Adoption";

    /**
     *  A fact of a person's christening as an adult.
     */
    const ADULTCHRISTENING = "http://gedcomx.org/AdultChristening";

    /**
     *  A fact of a person's amnesty.
     */
    const AMNESTY = "http://gedcomx.org/Amnesty";

    /**
     *  A fact of a person's apprenticeship.
     */
    const APPRENTICESHIP = "http://gedcomx.org/Apprenticeship";

    /**
     *  A fact of a person's arrest.
     */
    const ARREST = "http://gedcomx.org/Arrest";

    /**
     *  A fact of a person's baptism.
     */
    const BAPTISM = "http://gedcomx.org/Baptism";

    /**
     *  A fact of a person's bar mitzvah.
     */
    const BARMITZVAH = "http://gedcomx.org/BarMitzvah";

    /**
     *  A fact of a person's bat mitzvah.
     */
    const BATMITZVAH = "http://gedcomx.org/BatMitzvah";

    /**
     *  A fact of a person's birth.
     */
    const BIRTH = "http://gedcomx.org/Birth";

    /**
     *  A fact of an official blessing received by a person, such as at the hands of a clergy member or at another religious rite.
     */
    const BLESSING = "http://gedcomx.org/Blessing";

    /**
     *  A fact of the burial of person's body after death.
     */
    const BURIAL = "http://gedcomx.org/Burial";

    /**
     *  A fact of a person's caste.
     */
    const CASTE = "http://gedcomx.org/Caste";

    /**
     *  A fact of a person's participation in a census.
     */
    const CENSUS = "http://gedcomx.org/Census";

    /**
     *  A fact of a person's christening *at birth*. Note: use `AdultChristening` for the christening as an adult.
     */
    const CHRISTENING = "http://gedcomx.org/Christening";

    /**
     *  A fact of a person's circumcision.
     */
    const CIRCUMCISION = "http://gedcomx.org/Circumcision";

    /**
     *  A fact of a person's clan.
     */
    const CLAN = "http://gedcomx.org/Clan";

    /**
     *  A fact of a person's confirmation (or other rite of initiation) in a church or religion.
     */
    const CONFIRMATION = "http://gedcomx.org/Confirmation";

    /**
     *  A fact of the cremation of person's body after death.
     */
    const CREMATION = "http://gedcomx.org/Cremation";

    /**
     *  A fact of the death of a person.
     */
    const DEATH = "http://gedcomx.org/Death";

    /**
     *  A fact of an education of a person.
     */
    const EDUCATION = "http://gedcomx.org/Education";

    /**
     *  A fact of a person's enrollment in an educational program or institution.
     */
    const EDUCATIONENROLLMENT = "http://gedcomx.org/EducationEnrollment";

    /**
     *  A fact of the emigration of a person.
     */
    const EMIGRATION = "http://gedcomx.org/Emigration";

    /**
     *  A fact of a person's ethnicity or race.
     */
    const ETHNICITY = "http://gedcomx.org/Ethnicity";

    /**
     *  A fact of a person's excommunication from a church.
     */
    const EXCOMMUNICATION = "http://gedcomx.org/Excommunication";

    /**
     *  A fact of a person's first communion in a church.
     */
    const FIRSTCOMMUNION = "http://gedcomx.org/FirstCommunion";

    /**
     *  A fact of a person's funeral.
     */
    const FUNERAL = "http://gedcomx.org/Funeral";

    /**
     *  A fact of a person's gender change.
     */
    const GENDERCHANGE = "http://gedcomx.org/GenderChange";

    /**
     *  A fact of a person's graduation from a scholastic institution.
     */
    const GRADUATION = "http://gedcomx.org/Graduation";

    /**
     *  A fact of a person's immigration.
     */
    const IMMIGRATION = "http://gedcomx.org/Immigration";

    /**
     *  A fact of a person's imprisonment.
     */
    const IMPRISONMENT = "http://gedcomx.org/Imprisonment";

    /**
     *  A fact of a land transaction enacted by a person.
     */
    const LANDTRANSACTION = "http://gedcomx.org/LandTransaction";

    /**
     *  A fact of a language spoken by a person.
     */
    const LANGUAGE = "http://gedcomx.org/Language";

    /**
     *  A fact of a record of a person's living for a specific period. This is designed to include &quot;flourish&quot;, defined to mean the time period
    *  in an adult's life where he was most productive, perhaps as a writer or member of the state assembly. It does not reflect the person's birth and death dates.
     */
    const LIVING = "http://gedcomx.org/Living";

    /**
     *  A fact of a person's marital status.
     */
    const MARITALSTATUS = "http://gedcomx.org/MaritalStatus";

    /**
     *  A fact of a person's medical record, such as for an illness or hospital stay.
     */
    const MEDICAL = "http://gedcomx.org/Medical";

    /**
     *  A fact of a person's military award.
     */
    const MILITARYAWARD = "http://gedcomx.org/MilitaryAward";

    /**
     *  A fact of a person's military discharge.
     */
    const MILITARYDISCHARGE = "http://gedcomx.org/MilitaryDischarge";

    /**
     *  A fact of a person's registration for a military draft.
     */
    const MILITARYDRAFTREGISTRATION = "http://gedcomx.org/MilitaryDraftRegistration";

    /**
     *  A fact of a person's military induction.
     */
    const MILITARYINDUCTION = "http://gedcomx.org/MilitaryInduction";

    /**
     *  A fact of a person's militray service.
     */
    const MILITARYSERVICE = "http://gedcomx.org/MilitaryService";

    /**
     *  A fact of a person's church mission.
     */
    const MISSION = "http://gedcomx.org/Mission";

    /**
     *  A fact of a person's move (i.e. change of residence) from a location.
     */
    const MOVEFROM = "http://gedcomx.org/MoveFrom";

    /**
     *  A fact of a person's move (i.e. change of residence) to a new location.
     */
    const MOVETO = "http://gedcomx.org/MoveTo";

    /**
     *  A fact that a person was born as part of a multiple birth (e.g. twin, triplet, etc.)
     */
    const MULTIPLEBIRTH = "http://gedcomx.org/MultipleBirth";

    /**
     *  A fact of a person's national id (e.g. social security number).
     */
    const NATIONALID = "http://gedcomx.org/NationalId";

    /**
     *  A fact of a person's nationality.
     */
    const NATIONALITY = "http://gedcomx.org/Nationality";

    /**
     *  A fact of a person's naturalization (i.e. acquisition of citizenship and nationality).
     */
    const NATURALIZATION = "http://gedcomx.org/Naturalization";

    /**
     *  A fact of a person's number of marriages.
     */
    const NUMBEROFMARRIAGES = "http://gedcomx.org/NumberOfMarriages";

    /**
     *  A fact of a person's occupation or employment.
     */
    const OCCUPATION = "http://gedcomx.org/Occupation";

    /**
     *  A fact of a person's ordination to a stewardship in a church.
     */
    const ORDINATION = "http://gedcomx.org/Ordination";

    /**
     *  A fact of a person's legal pardon.
     */
    const PARDON = "http://gedcomx.org/Pardon";

    /**
     *  A fact of a person's physical description.
     */
    const PHYSICALDESCRIPTION = "http://gedcomx.org/PhysicalDescription";

    /**
     *  A fact of a receipt of probate of a person's property.
     */
    const PROBATE = "http://gedcomx.org/Probate";

    /**
     *  A fact of a person's property or possessions.
     */
    const PROPERTY = "http://gedcomx.org/Property";

    /**
     *  A fact of a person's religion.
     */
    const RELIGION = "http://gedcomx.org/Religion";

    /**
     *  A fact of a person's residence.
     */
    const RESIDENCE = "http://gedcomx.org/Residence";

    /**
     *  A fact of a person's retirement.
     */
    const RETIREMENT = "http://gedcomx.org/Retirement";

    /**
     *  A fact of a person's stillbirth.
     */
    const STILLBIRTH = "http://gedcomx.org/Stillbirth";

    /**
     *  A fact of a person's tax assessment.
     */
    const TAXASSESSMENT = "http://gedcomx.org/TaxAssessment";

    /**
     *  A fact of a person's will.
     */
    const WILL = "http://gedcomx.org/Will";

    /**
     *  A fact of a person's visit to a place different from the person's residence.
     */
    const VISIT = "http://gedcomx.org/Visit";

    /**
     *  A fact of a person's _yahrzeit_ date.  A person's yahzeit is the anniversary of their death as measured by the Hebrew calendar.
     */
    const YAHRZEIT = "http://gedcomx.org/Yahrzeit";

    /**
     *  The fact of an annulment of a marriage.
     */
    const ANNULMENT = "http://gedcomx.org/Annulment";

    /**
     *  The fact of a marriage by common law.
     */
    const COMMONLAWMARRIAGE = "http://gedcomx.org/CommonLawMarriage";

    /**
     *  The fact of a civil union.
     */
    const CIVILUNION = "http://gedcomx.org/CivilUnion";

    /**
     *  The fact of a divorce of a couple.
     */
    const DIVORCE = "http://gedcomx.org/Divorce";

    /**
     *  The fact of a filing for divorce.
     */
    const DIVORCEFILING = "http://gedcomx.org/DivorceFiling";

    /**
     *  The fact of a domestic partnership.
     */
    const DOMESTICPARTNERSHIP = "http://gedcomx.org/DomesticPartnership";

    /**
     *  The fact of an engagement to be married.
     */
    const ENGAGEMENT = "http://gedcomx.org/Engagement";

    /**
     *  The fact of a marriage.
     */
    const MARRIAGE = "http://gedcomx.org/Marriage";

    /**
     *  The fact of a marriage banns.
     */
    const MARRIAGEBANNS = "http://gedcomx.org/MarriageBanns";

    /**
     *  The fact of a marriage contract.
     */
    const MARRIAGECONTRACT = "http://gedcomx.org/MarriageContract";

    /**
     *  The fact of a marriage license.
     */
    const MARRIAGELICENSE = "http://gedcomx.org/MarriageLicense";

    /**
     *  The fact of a marriage notice.
     */
    const MARRIAGENOTICE = "http://gedcomx.org/MarriageNotice";

    /**
     *  A fact of the number of children of a person or relationship.
     */
    const NUMBEROFCHILDREN = "http://gedcomx.org/NumberOfChildren";

    /**
     *  A fact of a couple's separation.
     */
    const SEPARATION = "http://gedcomx.org/Separation";

    /**
     *  A fact about an adoptive relationship between a parent an a child.
     */
    const ADOPTIVEPARENT = "http://gedcomx.org/AdoptiveParent";

    /**
     *  A fact the biological relationship between a parent and a child.
     */
    const BIOLOGICALPARENT = "http://gedcomx.org/BiologicalParent";

    /**
     *  A fact about a foster relationship between a foster parent and a child.
     */
    const FOSTERPARENT = "http://gedcomx.org/FosterParent";

    /**
     *  A fact about a legal guardianship between a parent and a child.
     */
    const GUARDIANPARENT = "http://gedcomx.org/GuardianParent";

    /**
     *  A fact about the step relationship between a parent and a child.
     */
    const STEPPARENT = "http://gedcomx.org/StepParent";

    /**
     *  A fact about a sociological relationship between a parent and a child, but not definable in typical legal or biological terms.
     */
    const SOCIOLOGICALPARENT = "http://gedcomx.org/SociologicalParent";

    private $birthLikeFactTypes = array(BAPTISM, BIRTH, CHRISTENING, BLESSING, CIRCUMCISION, ADOPTION);
    private $deathLikeFactTypes = array(DEATH, BURIAL, CREMATION, FUNERAL, PROBATE, WILL);
    private $marriageLikeFactTypes = array(MARRIAGE, ENGAGEMENT, MARRIAGEBANNS, MARRIAGECONTRACT, MARRIAGELICENSE, MARRIAGENOTICE);
    private $divorceLikeFactTypes = array(DIVORCE, DIVORCEFILING, ANNULMENT, SEPARATION);
    private $migrationlikeFactTypes = array(IMMIGRATION, EMIGRATION, NATURALIZATION, MOVETO, MOVEFROM);
    private $personFactTypes = array(
        ADOPTION, ADULTCHRISTENING, AMNESTY, APPRENTICESHIP, BAPTISM, BARMITZVAH, BATMITZVAH, BIRTH, BLESSING, BURIAL,
        CASTE, CENSUS, CHRISTENING, CIRCUMCISION, CLAN, CONFIRMATION, CREMATION, DEATH, EMIGRATION, ETHNICITY,
        EXCOMMUNICATION, FIRSTCOMMUNION, LIVING, FUNERAL, EDUCATION, IMMIGRATION, IMPRISONMENT, LANDTRANSACTION,
        MARITALSTATUS, MEDICAL, MILITARYAWARD, MILITARYDISCHARGE, MILITARYSERVICE, MISSION, MOVETO, MOVEFROM,
        NATURALIZATION, NUMBEROFMARRIAGES, NATIONALID, NATIONALITY, OCCUPATION, ORDINATION, PHYSICALDESCRIPTION,
        PROBATE, PROPERTY, RELIGION, RESIDENCE, RETIREMENT, STILLBIRTH, MULTIPLEBIRTH, WILL, VISIT
    );
    private $coupleFactTypes = array(
        ANNULMENT, COMMONLAWMARRIAGE, DIVORCE, DIVORCEFILING, ENGAGEMENT, MARRIAGE, MARRIAGEBANNS, MARRIAGECONTRACT,
        MARRIAGELICENSE, MARRIAGENOTICE, NUMBEROFCHILDREN, SEPARATION
    );
    private $parentChildFactTypes = array(
        BIOLOGICALPARENT, ADOPTIVEPARENT, STEPPARENT, FOSTERPARENT, GUARDIANPARENT, SOCIOLOGICALPARENT
    );

    /**
     * @param string $type FactType constant
     *
     * @return bool
     */
    public function appliesToBirth($type)
    {
        return in_array($type, $this->birthLikeFactTypes);
    }

    /**
     * @param string $type FactType constant
     *
     * @return bool
     */
    public function appliesToDeath($type)
    {
        return in_array($type, $this->deathLikeFactTypes);
    }

    /**
     * @param string $type FactType constant
     * @return bool
     */
    public function appliesToMarriage($type)
    {
        return in_array($type, $this->marriageLikeFactTypes);
    }

    /**
     * @param string $type FactType constant
     * @return bool
     */
    public function appliesToDivorce($type)
    {
        return in_array($type, $this->divorceLikeFactTypes);
    }

    /**
     * @param string $type FactType constant
     * @return bool
     */
    public function appliesToMigration($type)
    {
        return in_array($type, $this->migrationlikeFactTypes);
    }

    /**
     * @param string $type FactType constant
     * @return bool
     */
    public function appliesToPerson($type)
    {
        return in_array($type, $this->personFactTypes);
    }

    /**
     * @param string $type FactType constant
     * @return bool
     */
    public function appliesToCouples($type)
    {
        return in_array($type, $this->coupleFactTypes);
    }

    /**
     * @param string $type FactType constant
     * @return bool
     */
    public function appliesToParentChild($type)
    {
        return in_array($type, $this->parentChildFactTypes);
    }

}
gedcomx-php-client API documentation generated by ApiGen