Class EntityInfobox.Builder
java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.Result.Builder
net.ygbstudio.jbrave.core.domain.dto.result.AbstractGraphInfobox.Builder
net.ygbstudio.jbrave.core.domain.dto.result.EntityInfobox.Builder
- Enclosing class:
EntityInfobox
Builder for
EntityInfobox instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull EntityInfoboxbuild()Builds a newEntityInfoboxfrom the current builder state.Sets the entity subtype.Methods inherited from class net.ygbstudio.jbrave.core.domain.dto.result.AbstractGraphInfobox.Builder
attributes, category, distance, images, label, longDesc, movie, position, profiles, providers, ratings, thumbnail, type, websiteUrlMethods inherited from class net.ygbstudio.jbrave.core.domain.dto.result.Result.Builder
description, familyFriendly, fetchedContentTimestamp, isSourceBoth, isSourceLocal, language, pageAge, pageFetched, profile, title, url
-
Constructor Details
-
Builder
public Builder()Creates a new builder with all fields unset.
-
-
Method Details
-
subtype
Sets the entity subtype.- Parameters:
subtype- the entity subtype- Returns:
- this builder
-
build
Builds a newEntityInfoboxfrom the current builder state.- Overrides:
buildin classAbstractGraphInfobox.Builder- Returns:
- a new
EntityInfoboxinstance
-