Class Creator.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Creator _storedValue
  • Constructor Details

    • Builder

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

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

      public Creator.Builder<_B> withName(ResourceName name)
      Sets the new value of "name" (any previous value will be replaced)
      Parameters:
      name - New value of the "name" property.
    • withName

      public ResourceName.Builder<? extends Creator.Builder<_B>> withName()
      Returns the existing builder or a new builder to build the value of the "name" property. Use ResourceName.Builder.end() to return to the current builder.
      Returns:
      A new builder to build the value of the "name" property. Use ResourceName.Builder.end() to return to the current builder.
    • withLogo

      public Creator.Builder<_B> withLogo(String logo)
      Sets the new value of "logo" (any previous value will be replaced)
      Parameters:
      logo - New value of the "logo" property.
    • addAltIdentifiers

      public Creator.Builder<_B> addAltIdentifiers(Iterable<? extends String> altIdentifiers)
      Adds the given items to the value of "altIdentifiers"
      Parameters:
      altIdentifiers - Items to add to the value of the "altIdentifiers" property
    • withAltIdentifiers

      public Creator.Builder<_B> withAltIdentifiers(Iterable<? extends String> altIdentifiers)
      Sets the new value of "altIdentifiers" (any previous value will be replaced)
      Parameters:
      altIdentifiers - New value of the "altIdentifiers" property.
    • addAltIdentifiers

      public Creator.Builder<_B> addAltIdentifiers(String... altIdentifiers)
      Adds the given items to the value of "altIdentifiers"
      Parameters:
      altIdentifiers - Items to add to the value of the "altIdentifiers" property
    • withAltIdentifiers

      public Creator.Builder<_B> withAltIdentifiers(String... altIdentifiers)
      Sets the new value of "altIdentifiers" (any previous value will be replaced)
      Parameters:
      altIdentifiers - New value of the "altIdentifiers" property.
    • withIvoId

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

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

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

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