Class Part
- java.lang.Object
-
- org.apache.maven.doxia.module.fml.model.Part
-
- All Implemented Interfaces:
java.io.Serializable
public class Part extends java.lang.Object implements java.io.SerializableFAQ part.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Part()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFaq(Faq faq)Method addFaq.booleanequals(java.lang.Object other)Method equals.java.util.List<Faq>getFaqs()Method getFaqs.java.lang.StringgetId()Get the identifier of the part.java.lang.StringgetTitle()Get the title of the FAQ part.inthashCode()Method hashCode.voidremoveFaq(Faq faq)Method removeFaq.voidsetFaqs(java.util.List<Faq> faqs)Set a list of FAQ.voidsetId(java.lang.String id)Set the identifier of the part.voidsetTitle(java.lang.String title)Set the title of the FAQ part.java.lang.StringtoString()Method toString.
-
-
-
Method Detail
-
addFaq
public void addFaq(Faq faq)
Method addFaq.- Parameters:
faq-
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
other-- Returns:
- boolean
-
getFaqs
public java.util.List<Faq> getFaqs()
Method getFaqs.- Returns:
- List
-
getId
public java.lang.String getId()
Get the identifier of the part.- Returns:
- String
-
getTitle
public java.lang.String getTitle()
Get the title of the FAQ part.- Returns:
- String
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCodein classjava.lang.Object- Returns:
- int
-
removeFaq
public void removeFaq(Faq faq)
Method removeFaq.- Parameters:
faq-
-
setFaqs
public void setFaqs(java.util.List<Faq> faqs)
Set a list of FAQ.- Parameters:
faqs-
-
setId
public void setId(java.lang.String id)
Set the identifier of the part.- Parameters:
id-
-
setTitle
public void setTitle(java.lang.String title)
Set the title of the FAQ part.- Parameters:
title-
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-