Class Gender

    • Constructor Detail

      • Gender

        public Gender()
        Default constructor.
      • Gender

        public Gender​(GenderType type)
        Constructs a new gender object with the passed in type.
        Parameters:
        type - The type of the gender.
    • Method Detail

      • id

        public Gender 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 Gender 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 Gender 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 Gender 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 Gender 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 Gender 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 Gender 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 Gender 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 Gender 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 Gender 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 Gender 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 Gender 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 gender.
        Returns:
        The type of the gender.
      • setType

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

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

        public Gender type​(GenderType type)
        Build up this gender with a type.
        Parameters:
        type - The type.
        Returns:
        this.
      • getKnownType

        public GenderType getKnownType()
        The known type of the gender.
        Returns:
        The type of the gender.
      • setKnownType

        public void setKnownType​(GenderType type)
        The type of the gender.
        Parameters:
        type - The type of the gender.
      • getFields

        public List<Field> getFields()
        Get the fields being used as evidence.
        Specified by:
        getFields in interface HasFields
        Returns:
        The references to the record fields being used as evidence.
      • setFields

        public void setFields​(List<Field> fields)
        Set the list of fields being used as evidence.
        Specified by:
        setFields in interface HasFields
        Parameters:
        fields - - List of fields
      • field

        public Gender field​(Field field)
        Build up this gender with a field.
        Parameters:
        field - The field.
        Returns:
        this.
      • addField

        public void addField​(Field field)
        Add a record field being used as evidence.
        Parameters:
        field - The evidence to be added.
      • accept

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