Class SystemComponent.SystemComponentBuilder<C extends SystemComponent,B extends SystemComponent.SystemComponentBuilder<C,B>>

java.lang.Object
ch.admin.bit.jeap.archrepo.metamodel.system.SystemComponent.SystemComponentBuilder<C,B>
Direct Known Subclasses:
BackendService.BackendServiceBuilder, Frontend.FrontendBuilder, MobileApp.MobileAppBuilder, SelfContainedSystem.SelfContainedSystemBuilder, UnknownSystemComponent.UnknownSystemComponentBuilder
Enclosing class:
SystemComponent

public abstract static class SystemComponent.SystemComponentBuilder<C extends SystemComponent,B extends SystemComponent.SystemComponentBuilder<C,B>> extends Object
  • Constructor Details

    • SystemComponentBuilder

      public SystemComponentBuilder()
  • Method Details

    • id

      public B id(UUID id)
      Returns:
      this.
    • name

      public B name(@NonNull @NonNull String name)
      Returns:
      this.
    • description

      public B description(String description)
      Returns:
      this.
    • ownedBy

      public B ownedBy(Team ownedBy)
      Returns:
      this.
    • reactionStatistics

      public B reactionStatistics(List<ReactionStatistics> reactionStatistics)
      Returns:
      this.
    • importer

      public B importer(Importer importer)
      Returns:
      this.
    • parent

      public B parent(System parent)
      Returns:
      this.
    • createdAt

      public B createdAt(ZonedDateTime createdAt)
      Returns:
      this.
    • lastSeen

      public B lastSeen(ZonedDateTime lastSeen)
      Returns:
      this.
    • self

      protected abstract B self()
    • build

      public abstract C build()
    • toString

      public String toString()
      Overrides:
      toString in class Object