java.lang.Object
org.apache.maven.doxia.module.fml.model.Part
All Implemented Interfaces:
Serializable

public class Part extends Object implements Serializable
FAQ part.
Version:
$Revision$ $Date$
See Also:
  • Field Details

    • id

      private String id
      The identifier of the part.
    • title

      private String title
      The title of the FAQ part.
    • faqs

      private List<Faq> faqs
      Field faqs.
  • Constructor Details

    • Part

      public Part()
  • Method Details

    • addFaq

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

      public boolean equals(Object other)
      Method equals.
      Overrides:
      equals in class Object
      Parameters:
      other - a other object.
      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 - a faq object.
    • setFaqs

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

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

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

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