Class Coverage.Builder<_B>

java.lang.Object
org.javastro.ivoa.entities.resource.dataservice.Coverage.Builder<_B>
All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
Enclosing class:
Coverage

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Coverage _storedValue
  • Constructor Details

    • Builder

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

      public Builder(_B _parentBuilder, Coverage _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 Coverage> _P init(_P _product)
    • withSTCResourceProfile

      public Coverage.Builder<_B> withSTCResourceProfile(AstroSTCDescriptionType stcResourceProfile)
      Sets the new value of "stcResourceProfile" (any previous value will be replaced)
      Parameters:
      stcResourceProfile - New value of the "stcResourceProfile" property.
    • withSTCResourceProfile

      public AstroSTCDescriptionType.Builder<? extends Coverage.Builder<_B>> withSTCResourceProfile()
      Returns the existing builder or a new builder to build the value of the "stcResourceProfile" property. Use StcBaseType.Builder.end() to return to the current builder.
      Returns:
      A new builder to build the value of the "stcResourceProfile" property. Use StcBaseType.Builder.end() to return to the current builder.
    • withSpatial

      public Coverage.Builder<_B> withSpatial(SpatialCoverage spatial)
      Sets the new value of "spatial" (any previous value will be replaced)
      Parameters:
      spatial - New value of the "spatial" property.
    • withSpatial

      public SpatialCoverage.Builder<? extends Coverage.Builder<_B>> withSpatial()
      Returns the existing builder or a new builder to build the value of the "spatial" property. Use SpatialCoverage.Builder.end() to return to the current builder.
      Returns:
      A new builder to build the value of the "spatial" property. Use SpatialCoverage.Builder.end() to return to the current builder.
    • addTemporals

      public Coverage.Builder<_B> addTemporals(Iterable<? extends String> temporals)
      Adds the given items to the value of "temporals"
      Parameters:
      temporals - Items to add to the value of the "temporals" property
    • withTemporals

      public Coverage.Builder<_B> withTemporals(Iterable<? extends String> temporals)
      Sets the new value of "temporals" (any previous value will be replaced)
      Parameters:
      temporals - New value of the "temporals" property.
    • addTemporals

      public Coverage.Builder<_B> addTemporals(String... temporals)
      Adds the given items to the value of "temporals"
      Parameters:
      temporals - Items to add to the value of the "temporals" property
    • withTemporals

      public Coverage.Builder<_B> withTemporals(String... temporals)
      Sets the new value of "temporals" (any previous value will be replaced)
      Parameters:
      temporals - New value of the "temporals" property.
    • addSpectrals

      public Coverage.Builder<_B> addSpectrals(Iterable<? extends String> spectrals)
      Adds the given items to the value of "spectrals"
      Parameters:
      spectrals - Items to add to the value of the "spectrals" property
    • withSpectrals

      public Coverage.Builder<_B> withSpectrals(Iterable<? extends String> spectrals)
      Sets the new value of "spectrals" (any previous value will be replaced)
      Parameters:
      spectrals - New value of the "spectrals" property.
    • addSpectrals

      public Coverage.Builder<_B> addSpectrals(String... spectrals)
      Adds the given items to the value of "spectrals"
      Parameters:
      spectrals - Items to add to the value of the "spectrals" property
    • withSpectrals

      public Coverage.Builder<_B> withSpectrals(String... spectrals)
      Sets the new value of "spectrals" (any previous value will be replaced)
      Parameters:
      spectrals - New value of the "spectrals" property.
    • withFootprint

      public Coverage.Builder<_B> withFootprint(ServiceReference footprint)
      Sets the new value of "footprint" (any previous value will be replaced)
      Parameters:
      footprint - New value of the "footprint" property.
    • withFootprint

      public ServiceReference.Builder<? extends Coverage.Builder<_B>> withFootprint()
      Returns the existing builder or a new builder to build the value of the "footprint" property. Use ServiceReference.Builder.end() to return to the current builder.
      Returns:
      A new builder to build the value of the "footprint" property. Use ServiceReference.Builder.end() to return to the current builder.
    • addWavebands

      public Coverage.Builder<_B> addWavebands(Iterable<? extends Waveband> wavebands)
      Adds the given items to the value of "wavebands"
      Parameters:
      wavebands - Items to add to the value of the "wavebands" property
    • withWavebands

      public Coverage.Builder<_B> withWavebands(Iterable<? extends Waveband> wavebands)
      Sets the new value of "wavebands" (any previous value will be replaced)
      Parameters:
      wavebands - New value of the "wavebands" property.
    • addWavebands

      public Coverage.Builder<_B> addWavebands(Waveband... wavebands)
      Adds the given items to the value of "wavebands"
      Parameters:
      wavebands - Items to add to the value of the "wavebands" property
    • withWavebands

      public Coverage.Builder<_B> withWavebands(Waveband... wavebands)
      Sets the new value of "wavebands" (any previous value will be replaced)
      Parameters:
      wavebands - New value of the "wavebands" property.
    • withRegionOfRegard

      public Coverage.Builder<_B> withRegionOfRegard(Float regionOfRegard)
      Sets the new value of "regionOfRegard" (any previous value will be replaced)
      Parameters:
      regionOfRegard - New value of the "regionOfRegard" property.
    • build

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

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

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