Class Note

    • Constructor Detail

      • Note

        public Note()
    • Method Detail

      • lang

        public Note lang​(String lang)
        Build up this note with a locale.
        Parameters:
        lang - The locale.
        Returns:
        this.
      • getSubject

        public String getSubject()
        The subject of the note. This is a short title describing the contents of the note text.
        Returns:
        The subject of the note.
      • setSubject

        public void setSubject​(String text)
        The subject of the note.
        Parameters:
        text - The subject of the note.
      • subject

        public Note subject​(String text)
        Build up this note with a subject.
        Parameters:
        text - The subject.
        Returns:
        this.
      • getText

        public String getText()
        The text of the note.
        Specified by:
        getText in interface HasText
        Returns:
        The text of the note.
      • setText

        public void setText​(String text)
        The text of the note.
        Specified by:
        setText in interface HasText
        Parameters:
        text - The text of the note.
      • text

        public Note text​(String text)
        Build up this note with some text.
        Parameters:
        text - The text.
        Returns:
        this.
      • getAttribution

        public Attribution getAttribution()
        Attribution metadata for a note.
        Specified by:
        getAttribution in interface Attributable
        Returns:
        Attribution metadata for a note.
      • setAttribution

        public void setAttribution​(Attribution attribution)
        Attribution metadata for a note.
        Specified by:
        setAttribution in interface Attributable
        Parameters:
        attribution - Attribution metadata for a note.
      • attribution

        public Note attribution​(Attribution attribution)
        Build up this note with attribution.
        Parameters:
        attribution - The attribution.
        Returns:
        this.
      • accept

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

        public int hashCode()
        Overrides:
        hashCode in class Object