Class Availability.Builder<_B>

java.lang.Object
org.javastro.ivoa.entities.vosi.availability.Availability.Builder<_B>
All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
Enclosing class:
Availability

public static class Availability.Builder<_B> extends Object implements com.kscs.util.jaxb.Buildable
  • Field Details

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Availability _storedValue
  • Constructor Details

    • Builder

      public Builder(_B _parentBuilder, Availability _other, boolean _copy)
    • Builder

      public Builder(_B _parentBuilder, Availability _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
  • Method Details

    • end

      public _B end()
    • init

      protected <_P extends Availability> _P init(_P _product)
    • withAvailable

      public Availability.Builder<_B> withAvailable(boolean available)
      Sets the new value of "available" (any previous value will be replaced)
      Parameters:
      available - New value of the "available" property.
    • withUpSince

      public Availability.Builder<_B> withUpSince(ZonedDateTime upSince)
      Sets the new value of "upSince" (any previous value will be replaced)
      Parameters:
      upSince - New value of the "upSince" property.
    • withDownAt

      public Availability.Builder<_B> withDownAt(ZonedDateTime downAt)
      Sets the new value of "downAt" (any previous value will be replaced)
      Parameters:
      downAt - New value of the "downAt" property.
    • withBackAt

      public Availability.Builder<_B> withBackAt(ZonedDateTime backAt)
      Sets the new value of "backAt" (any previous value will be replaced)
      Parameters:
      backAt - New value of the "backAt" property.
    • addNotes

      public Availability.Builder<_B> addNotes(Iterable<? extends String> notes)
      Adds the given items to the value of "notes"
      Parameters:
      notes - Items to add to the value of the "notes" property
    • withNotes

      public Availability.Builder<_B> withNotes(Iterable<? extends String> notes)
      Sets the new value of "notes" (any previous value will be replaced)
      Parameters:
      notes - New value of the "notes" property.
    • addNotes

      public Availability.Builder<_B> addNotes(String... notes)
      Adds the given items to the value of "notes"
      Parameters:
      notes - Items to add to the value of the "notes" property
    • withNotes

      public Availability.Builder<_B> withNotes(String... notes)
      Sets the new value of "notes" (any previous value will be replaced)
      Parameters:
      notes - New value of the "notes" property.
    • build

      public Availability build()
      Specified by:
      build in interface com.kscs.util.jaxb.Buildable
    • copyOf

      public Availability.Builder<_B> copyOf(Availability _other)
    • copyOf

      public Availability.Builder<_B> copyOf(Availability.Builder _other)