Class Part

    • Constructor Detail

      • Part

        public Part()
    • Method Detail

      • addFaq

        public void addFaq​(Faq faq)
        Method addFaq.
        Parameters:
        faq -
      • equals

        public boolean equals​(Object other)
        Method equals.
        Overrides:
        equals in class Object
        Parameters:
        other -
        Returns:
        boolean
      • getFaqs

        public List<Faq> getFaqs()
        Method getFaqs.
        Returns:
        List
      • getId

        public String getId()
        Get the identifier of the part.
        Returns:
        String
      • getTitle

        public String getTitle()
        Get the title of the FAQ part.
        Returns:
        String
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class Object
        Returns:
        int
      • removeFaq

        public void removeFaq​(Faq faq)
        Method removeFaq.
        Parameters:
        faq -
      • setFaqs

        public void setFaqs​(List<Faq> faqs)
        Set a list of FAQ.
        Parameters:
        faqs -
      • setId

        public void setId​(String id)
        Set the identifier of the part.
        Parameters:
        id -
      • setTitle

        public void setTitle​(String title)
        Set the title of the FAQ part.
        Parameters:
        title -
      • toString

        public String toString()
        Method toString.
        Overrides:
        toString in class Object
        Returns:
        String