Class Part
- 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:
- 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(Object other)Method equals.List<Faq>getFaqs()Method getFaqs.StringgetId()Get the identifier of the part.StringgetTitle()Get the title of the FAQ part.inthashCode()Method hashCode.voidremoveFaq(Faq faq)Method removeFaq.voidsetFaqs(List<Faq> faqs)Set a list of FAQ.voidsetId(String id)Set the identifier of the part.voidsetTitle(String title)Set the title of the FAQ part.StringtoString()Method toString.
-
-
-
Method Detail
-
addFaq
public void addFaq(Faq faq)
Method addFaq.- Parameters:
faq-
-
equals
public boolean equals(Object other)
Method equals.
-
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
-
removeFaq
public void removeFaq(Faq faq)
Method removeFaq.- Parameters:
faq-
-
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-
-
-