Class QAInfobox
java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.Result
net.ygbstudio.jbrave.core.domain.dto.result.AbstractGraphInfobox
net.ygbstudio.jbrave.core.domain.dto.result.QAInfobox
Represents a QA infobox in search results. This class provides structured information about
question-and-answer content in the Brave Search API results.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class net.ygbstudio.jbrave.core.domain.dto.result.AbstractGraphInfobox
attributes, category, distance, images, label, longDesc, movie, position, profiles, providers, ratings, thumbnail, type, websiteUrlFields inherited from class net.ygbstudio.jbrave.core.domain.dto.result.Result
description, familyFriendly, fetchedContentTimestamp, isSourceBoth, isSourceLocal, language, pageAge, pageFetched, profile, title, url -
Constructor Summary
ConstructorsConstructorDescriptionQAInfobox(QAInfobox.Builder builder) Creates a new QA infobox from the given builder. -
Method Summary
Methods inherited from class net.ygbstudio.jbrave.core.domain.dto.result.AbstractGraphInfobox
getAttributes, getCategory, getDistance, getImages, getLabel, getLongDesc, getMovie, getPosition, getProfiles, getProviders, getRatings, getThumbnail, getType, getWebsiteUrlMethods inherited from class net.ygbstudio.jbrave.core.domain.dto.result.Result
description, familyFriendly, fetchedContentTimestamp, isSourceBoth, isSourceLocal, language, pageAge, pageFetched, profile, title, url
-
Constructor Details
-
QAInfobox
Creates a new QA infobox from the given builder.- Parameters:
builder- the builder carrying the infobox fields
-
-
Method Details
-
getSubType
Returns the infobox subtype.- Returns:
- the subtype
-
getData
Returns the Q&A page data.- Returns:
- the Q&A page data
-
getMetaUrl
Returns the meta URL.- Returns:
- the meta URL
-
equals
-
hashCode
public int hashCode() -
toString
-