Package dev.learning.xapi.model
Class Verb.Builder
java.lang.Object
dev.learning.xapi.model.Verb.Builder
- Enclosing class:
- Verb
Builder for Verb.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDisplay(Locale key, String value) Adds a human readable representation of the Verb.Sets the identifier.Sets the identifier.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the identifier.- Parameters:
id- The identifier of the Verb.- Returns:
- This builder
- See Also:
-
Verb.id
-
id
Sets the identifier.- Parameters:
id- The identifier of the Verb.- Returns:
- This builder
- See Also:
-
Verb.id
-
addDisplay
Adds a human readable representation of the Verb.- Parameters:
key- The key of the entry.value- The value of the entry.- Returns:
- This builder
- See Also:
-
Verb.display
-