Class Name

    • Constructor Detail

      • Name

        public Name()
    • Method Detail

      • id

        public Name id​(String id)
        Description copied from class: ExtensibleData
        Build up this object with an id.
        Overrides:
        id in class Conclusion
        Parameters:
        id - The id.
        Returns:
        this.
      • lang

        public Name 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 Name 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 Name 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 Name 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 Name 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 Name 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 Name 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 Name analysis​(ResourceReference 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 Name 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.
      • analysis

        public Name 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.
      • sortKey

        public Name 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.
      • getType

        public URI getType()
        The type of the name.
        Returns:
        The type of the name.
      • setType

        public void setType​(URI type)
        The type of the name.
        Parameters:
        type - The type of the name.
      • type

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

        public Name type​(NameType type)
        Build up this name with a type.
        Parameters:
        type - The type.
        Returns:
        this.
      • getKnownType

        public NameType getKnownType()
        The enum referencing the known name type, or NameType.OTHER if not known.
        Returns:
        The enum referencing the known name type, or NameType.OTHER if not known.
      • setKnownType

        public void setKnownType​(NameType knownType)
        Set the name type from an enumeration of known name types.
        Parameters:
        knownType - The known type.
      • getDate

        public Date getDate()
        The date the name was first applied or adopted.
        Returns:
        The date the name was first applied or adopted.
      • setDate

        public void setDate​(Date date)
        The date the name was first applied or adopted.
        Parameters:
        date - The date the name was first applied or adopted.
      • date

        public Name date​(Date date)
        Build up this name with a date.
        Parameters:
        date - The date.
        Returns:
        this.
      • nameForms

        public Stream<NameForm> nameForms()
        Create a stream for the name forms of this name.
        Returns:
        a stream for the name forms of this name.
      • getNameForms

        public List<NameForm> getNameForms()
        Alternate forms of the name, such as the romanized form of a non-latin name.
        Returns:
        Alternate forms of the name, such as the romanized form of a non-latin name.
      • getNameForm

        public NameForm getNameForm()
        The first name form of this name.
        Returns:
        The first name form of this name.
      • setNameForms

        public void setNameForms​(List<NameForm> nameForms)
        Alternate forms of the name, such as the romanized form of a non-latin name.
        Parameters:
        nameForms - Alternate forms of the name, such as the romanized form of a non-latin name.
      • nameForm

        public Name nameForm​(NameForm nameForm)
        Build up this name with a name form.
        Parameters:
        nameForm - The name form.
        Returns:
        this.
      • addNameForm

        public void addNameForm​(NameForm nameForm)
        Add a name form to the list of name forms.
        Parameters:
        nameForm - The name form to be added.
      • getPreferred

        public Boolean getPreferred()
        Whether the conclusion is preferred above other conclusions of the same type. Useful, for example, for display purposes.
        Returns:
        Whether the conclusion is preferred above other conclusions of the same type. Useful, for example, for display purposes.
      • setPreferred

        public void setPreferred​(Boolean preferred)
        Whether the conclusion is preferred above other conclusions of the same type. Useful, for example, for display purposes.
        Parameters:
        preferred - Whether the conclusion is preferred above other conclusions of the same type. Useful, for example, for display purposes.
      • preferred

        public Name preferred​(Boolean preferred)
        Build up this name with a preferred flag.
        Parameters:
        preferred - The preferred flag.
        Returns:
        this.
      • getPart

        public String getPart​(NamePartType namePartType)
        Gets a specific part of the name
        Parameters:
        namePartType - specific part of the name to retrieve
        Returns:
        the specific part of the name that matches the given NamePartType
      • accept

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