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.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 void
addFaq(Faq faq)
Method addFaq.boolean
equals(java.lang.Object other)
Method equals.java.util.List<Faq>
getFaqs()
Method getFaqs.java.lang.String
getId()
Get the identifier of the part.java.lang.String
getTitle()
Get the title of the FAQ part.int
hashCode()
Method hashCode.void
removeFaq(Faq faq)
Method removeFaq.void
setFaqs(java.util.List<Faq> faqs)
Set a list of FAQ.void
setId(java.lang.String id)
Set the identifier of the part.void
setTitle(java.lang.String title)
Set the title of the FAQ part.java.lang.String
toString()
Method toString.
-
-
-
Field Detail
-
id
private java.lang.String id
The identifier of the part.
-
title
private java.lang.String title
The title of the FAQ part.
-
faqs
private java.util.List<Faq> faqs
Field faqs.
-
-
Method Detail
-
addFaq
public void addFaq(Faq faq)
Method addFaq.- Parameters:
faq
-
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equals
in 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:
hashCode
in 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:
toString
in classjava.lang.Object
- Returns:
- String
-
-