Class CoordsType.Builder<_B>

java.lang.Object
org.javastro.ivoa.entities.stc.v1.StcBaseType.Builder<_B>
org.javastro.ivoa.entities.stc.v1.CoordsType.Builder<_B>
All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
Direct Known Subclasses:
AstroCoordsType.Builder, PixelCoordsType.Builder
Enclosing class:
CoordsType

public static class CoordsType.Builder<_B> extends StcBaseType.Builder<_B> implements com.kscs.util.jaxb.Buildable
  • Constructor Details

    • Builder

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

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

    • init

      protected <_P extends CoordsType> _P init(_P _product)
    • addGenCoordinates

      public CoordsType.Builder<_B> addGenCoordinates(Iterable<? extends jakarta.xml.bind.JAXBElement<? extends CoordinateType>> genCoordinates)
      Adds the given items to the value of "genCoordinates"
      Parameters:
      genCoordinates - Items to add to the value of the "genCoordinates" property
    • withGenCoordinates

      public CoordsType.Builder<_B> withGenCoordinates(Iterable<? extends jakarta.xml.bind.JAXBElement<? extends CoordinateType>> genCoordinates)
      Sets the new value of "genCoordinates" (any previous value will be replaced)
      Parameters:
      genCoordinates - New value of the "genCoordinates" property.
    • addGenCoordinates

      public CoordsType.Builder<_B> addGenCoordinates(jakarta.xml.bind.JAXBElement<? extends CoordinateType>... genCoordinates)
      Adds the given items to the value of "genCoordinates"
      Parameters:
      genCoordinates - Items to add to the value of the "genCoordinates" property
    • withGenCoordinates

      public CoordsType.Builder<_B> withGenCoordinates(jakarta.xml.bind.JAXBElement<? extends CoordinateType>... genCoordinates)
      Sets the new value of "genCoordinates" (any previous value will be replaced)
      Parameters:
      genCoordinates - New value of the "genCoordinates" property.
    • withCoordSystemId

      public CoordsType.Builder<_B> withCoordSystemId(Object coordSystemId)
      Sets the new value of "coordSystemId" (any previous value will be replaced)
      Parameters:
      coordSystemId - New value of the "coordSystemId" property.
    • withId

      public CoordsType.Builder<_B> withId(String id)
      Sets the new value of "id" (any previous value will be replaced)
      Overrides:
      withId in class StcBaseType.Builder<_B>
      Parameters:
      id - New value of the "id" property.
    • withIdref

      public CoordsType.Builder<_B> withIdref(Object idref)
      Sets the new value of "idref" (any previous value will be replaced)
      Overrides:
      withIdref in class StcBaseType.Builder<_B>
      Parameters:
      idref - New value of the "idref" property.
    • withUcd

      public CoordsType.Builder<_B> withUcd(String ucd)
      Sets the new value of "ucd" (any previous value will be replaced)
      Overrides:
      withUcd in class StcBaseType.Builder<_B>
      Parameters:
      ucd - New value of the "ucd" property.
    • withType

      public CoordsType.Builder<_B> withType(String type)
      Sets the new value of "type" (any previous value will be replaced)
      Overrides:
      withType in class StcBaseType.Builder<_B>
      Parameters:
      type - New value of the "type" property.
    • withHref

      public CoordsType.Builder<_B> withHref(String href)
      Sets the new value of "href" (any previous value will be replaced)
      Overrides:
      withHref in class StcBaseType.Builder<_B>
      Parameters:
      href - New value of the "href" property.
    • withIDType

      public CoordsType.Builder<_B> withIDType(String idType)
      Sets the new value of "idType" (any previous value will be replaced)
      Overrides:
      withIDType in class StcBaseType.Builder<_B>
      Parameters:
      idType - New value of the "idType" property.
    • withIDREFType

      public CoordsType.Builder<_B> withIDREFType(String idrefType)
      Sets the new value of "idrefType" (any previous value will be replaced)
      Overrides:
      withIDREFType in class StcBaseType.Builder<_B>
      Parameters:
      idrefType - New value of the "idrefType" property.
    • build

      public CoordsType build()
      Specified by:
      build in interface com.kscs.util.jaxb.Buildable
      Overrides:
      build in class StcBaseType.Builder<_B>
    • copyOf

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

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