Class Source.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Source _storedValue
  • Constructor Details

    • Builder

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

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

      public Source.Builder<_B> withValue(String value)
      Sets the new value of "value" (any previous value will be replaced)
      Parameters:
      value - New value of the "value" property.
    • withFormat

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

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

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

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