Class Verb.Builder

java.lang.Object
dev.learning.xapi.model.Verb.Builder
Enclosing class:
Verb

public static class Verb.Builder extends Object
Builder for Verb.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • id

      public Verb.Builder id(URI id)
      Sets the identifier.
      Parameters:
      id - The identifier of the Verb.
      Returns:
      This builder
      See Also:
      • Verb.id
    • id

      public Verb.Builder id(String id)
      Sets the identifier.
      Parameters:
      id - The identifier of the Verb.
      Returns:
      This builder
      See Also:
      • Verb.id
    • addDisplay

      public Verb.Builder addDisplay(Locale key, String value)
      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