Class Section

    • Constructor Detail

      • Section

        public Section​(String label,
                       Collection<FieldReference> fieldReferences)
        Creates a section.
        Parameters:
        label - The label.
        fieldReferences - The field references.
      • Section

        public Section​(String label,
                       Collection<FieldReference> fieldReferences,
                       Collection<String> text,
                       FieldReference reportedReference)
        Creates a section.
        Parameters:
        label - The label.
        fieldReferences - The field references.
        text - The text.
        reportedReference - The reference to a reported field.
    • Method Detail

      • getLabel

        public String getLabel()
        Gets the label of the section.
        Returns:
        The label.
      • getText

        public List<String> getText()
        Gets additional information for the section.
        Returns:
        Additional information.
      • getFieldReferences

        public List<FieldReference> getFieldReferences()
        Gets the field references. These are the fields, which appear in this section.
        Returns:
        The field references.
      • getSections

        public List<Section> getSections()
        Gets nested sub-sections.
        Returns:
        The nested sub-sections.
      • getReportedReference

        public FieldReference getReportedReference()
        Gets the reported field reference.
        Returns:
        The reported field reference.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object