Class Faq
- java.lang.Object
-
- org.apache.maven.doxia.module.fml.model.Faq
-
- All Implemented Interfaces:
java.io.Serializable
public class Faq extends java.lang.Object implements java.io.SerializableA Faq.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Faq()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)Method equals.java.lang.StringgetAnswer()Get the answer.java.lang.StringgetId()Get the FAQ identifier.java.lang.StringgetQuestion()Get the question.inthashCode()Method hashCode.voidsetAnswer(java.lang.String answer)Set the answer.voidsetId(java.lang.String id)Set the FAQ identifier.voidsetQuestion(java.lang.String question)Set the question.java.lang.StringtoString()Method toString.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
other- a other object.- Returns:
- boolean
-
getAnswer
public java.lang.String getAnswer()
Get the answer.- Returns:
- String
-
getId
public java.lang.String getId()
Get the FAQ identifier.- Returns:
- String
-
getQuestion
public java.lang.String getQuestion()
Get the question.- Returns:
- String
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCodein classjava.lang.Object- Returns:
- int
-
setAnswer
public void setAnswer(java.lang.String answer)
Set the answer.- Parameters:
answer- a answer object.
-
setId
public void setId(java.lang.String id)
Set the FAQ identifier.- Parameters:
id- a id object.
-
setQuestion
public void setQuestion(java.lang.String question)
Set the question.- Parameters:
question- a question object.
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-