Class EventRole

    • Constructor Detail

      • EventRole

        public EventRole()
    • Method Detail

      • lang

        public EventRole lang​(String lang)
        Description copied from class: Conclusion
        Build up this conclusion with a lang.
        Overrides:
        lang in class Conclusion
        Parameters:
        lang - The lang.
        Returns:
        this.
      • confidence

        public EventRole confidence​(URI confidence)
        Description copied from class: Conclusion
        Build up this conclusion with a confidence level.
        Overrides:
        confidence in class Conclusion
        Parameters:
        confidence - The confidence level.
        Returns:
        this.
      • confidence

        public EventRole confidence​(ConfidenceLevel confidence)
        Description copied from class: Conclusion
        Build up this conclusion with a confidence level.
        Overrides:
        confidence in class Conclusion
        Parameters:
        confidence - The confidence level.
        Returns:
        this.
      • source

        public EventRole source​(SourceReference sourceReference)
        Description copied from class: Conclusion
        Build up this conclusion with a source reference.
        Overrides:
        source in class Conclusion
        Parameters:
        sourceReference - The source reference.
        Returns:
        this.
      • source

        public EventRole source​(SourceDescription source)
        Description copied from class: Conclusion
        Build up this conclusion with a source reference.
        Overrides:
        source in class Conclusion
        Parameters:
        source - The source description being referenced.
        Returns:
        this.
      • note

        public EventRole note​(Note note)
        Description copied from class: Conclusion
        Build up this conclusion with a note.
        Overrides:
        note in class Conclusion
        Parameters:
        note - The note.
        Returns:
        this.
      • attribution

        public EventRole attribution​(Attribution attribution)
        Description copied from class: Conclusion
        Build up this conclusion with attribution.
        Overrides:
        attribution in class Conclusion
        Parameters:
        attribution - The attribution.
        Returns:
        this.
      • analysis

        public EventRole analysis​(URI analysis)
        Description copied from class: Conclusion
        Add a reference to the analysis for this conclusion.
        Overrides:
        analysis in class Conclusion
        Parameters:
        analysis - The analysis.
        Returns:
        this.
      • analysis

        public EventRole analysis​(Document analysis)
        Description copied from class: Conclusion
        Add a reference to the analysis for this conclusion.
        Overrides:
        analysis in class Conclusion
        Parameters:
        analysis - The analysis.
        Returns:
        this.
      • sortKey

        public EventRole sortKey​(String sortKey)
        Description copied from class: Conclusion
        Build up this fact with a sort key.
        Overrides:
        sortKey in class Conclusion
        Parameters:
        sortKey - The sort key.
        Returns:
        this.
      • getPerson

        public ResourceReference getPerson()
        Reference to the person playing the role in the event.
        Returns:
        Reference to the person playing the role in the event.
      • setPerson

        public void setPerson​(ResourceReference person)
        Reference to the person playing the role in the event.
        Parameters:
        person - Reference to the person playing the role in the event.
      • person

        public EventRole person​(ResourceReference person)
        Build up this event role with a person.
        Parameters:
        person - The person.
        Returns:
        this.
      • person

        public EventRole person​(Person person)
        Build up this event role with a person.
        Parameters:
        person - The person.
        Returns:
        this.
      • getType

        public URI getType()
        The role type.
        Returns:
        The role type.
      • setType

        public void setType​(URI type)
        The role type.
        Parameters:
        type - The role type.
      • type

        public EventRole type​(URI type)
        Build up this role with a type.
        Parameters:
        type - The type.
        Returns:
        this.
      • type

        public EventRole type​(EventRoleType type)
        Build up this role with a type.
        Parameters:
        type - The type.
        Returns:
        this.
      • setKnownType

        public void setKnownType​(EventRoleType knownType)
        Set the role type from an enumeration of known role types.
        Parameters:
        knownType - The role type.
      • getDetails

        public String getDetails()
        Details about the role of the person in the event.
        Returns:
        Details about the role of the person in the event.
      • setDetails

        public void setDetails​(String details)
        Details about the role of the person in the event.
        Parameters:
        details - Details about the role of the person in the event.
      • details

        public EventRole details​(String details)
        Build up this event role with details.
        Parameters:
        details - The details.
        Returns:
        this.
      • accept

        public void accept​(GedcomxModelVisitor visitor)
        Accept a visitor.
        Parameters:
        visitor - The visitor.