Class AstroCoordsType.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.stc.v1.StcBaseType.Builder<_B>
org.javastro.ivoa.entities.stc.v1.CoordsType.Builder<_B>
org.javastro.ivoa.entities.stc.v1.AstroCoordsType.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- AstroCoordsType
public static class AstroCoordsType.Builder<_B>
extends CoordsType.Builder<_B>
implements com.kscs.util.jaxb.Buildable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.kscs.util.jaxb.Buildable
com.kscs.util.jaxb.Buildable.PrimitiveBuildable -
Field Summary
Fields inherited from class org.javastro.ivoa.entities.stc.v1.StcBaseType.Builder
_parentBuilder, _storedValue -
Constructor Summary
ConstructorsConstructorDescriptionBuilder(_B _parentBuilder, AstroCoordsType _other, boolean _copy) Builder(_B _parentBuilder, AstroCoordsType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
Method Summary
Modifier and TypeMethodDescriptionaddGenCoordinates(jakarta.xml.bind.JAXBElement<? extends CoordinateType>... genCoordinates) Adds the given items to the value of "genCoordinates"addGenCoordinates(Iterable<? extends jakarta.xml.bind.JAXBElement<? extends CoordinateType>> genCoordinates) Adds the given items to the value of "genCoordinates"build()copyOf(AstroCoordsType _other) copyOf(AstroCoordsType.Builder _other) protected <_P extends AstroCoordsType>
_Pinit(_P _product) AstroCoordsFileType.Builder<? extends AstroCoordsType.Builder<_B>>Returns the existing builder or a new builder to build the value of the "coordFile" property.withCoordFile(AstroCoordsFileType coordFile) Sets the new value of "coordFile" (any previous value will be replaced)withCoordSystemId(Object coordSystemId) Sets the new value of "coordSystemId" (any previous value will be replaced)withGenCoordinates(jakarta.xml.bind.JAXBElement<? extends CoordinateType>... genCoordinates) Sets the new value of "genCoordinates" (any previous value will be replaced)withGenCoordinates(Iterable<? extends jakarta.xml.bind.JAXBElement<? extends CoordinateType>> genCoordinates) Sets the new value of "genCoordinates" (any previous value will be replaced)Sets the new value of "href" (any previous value will be replaced)Sets the new value of "id" (any previous value will be replaced)Sets the new value of "idref" (any previous value will be replaced)withIDREFType(String idrefType) Sets the new value of "idrefType" (any previous value will be replaced)withIDType(String idType) Sets the new value of "idType" (any previous value will be replaced)OrbitType.Builder<? extends AstroCoordsType.Builder<_B>>Returns the existing builder or a new builder to build the value of the "orbit" property.Sets the new value of "orbit" (any previous value will be replaced)withPosition(jakarta.xml.bind.JAXBElement<? extends CoordinateType> position) Sets the new value of "position" (any previous value will be replaced)RedshiftCoordinateType.Builder<? extends AstroCoordsType.Builder<_B>>Returns the existing builder or a new builder to build the value of the "redshift" property.withRedshift(RedshiftCoordinateType redshift) Sets the new value of "redshift" (any previous value will be replaced)SpectralCoordinateType.Builder<? extends AstroCoordsType.Builder<_B>>Returns the existing builder or a new builder to build the value of the "spectral" property.withSpectral(SpectralCoordinateType spectral) Sets the new value of "spectral" (any previous value will be replaced)TimeCoordinateType.Builder<? extends AstroCoordsType.Builder<_B>>withTime()Returns the existing builder or a new builder to build the value of the "time" property.withTime(TimeCoordinateType time) Sets the new value of "time" (any previous value will be replaced)Sets the new value of "type" (any previous value will be replaced)Sets the new value of "ucd" (any previous value will be replaced)withVelocity(jakarta.xml.bind.JAXBElement<? extends CoordinateType> velocity) Sets the new value of "velocity" (any previous value will be replaced)Methods inherited from class org.javastro.ivoa.entities.stc.v1.CoordsType.Builder
copyOf, copyOf, initMethods inherited from class org.javastro.ivoa.entities.stc.v1.StcBaseType.Builder
copyOf, copyOf, end, init
-
Constructor Details
-
Builder
-
Builder
public Builder(_B _parentBuilder, AstroCoordsType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Details
-
init
-
withTime
Sets the new value of "time" (any previous value will be replaced)- Parameters:
time- New value of the "time" property.
-
withTime
Returns the existing builder or a new builder to build the value of the "time" property. UseStcBaseType.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "time" property.
Use
StcBaseType.Builder.end()to return to the current builder.
-
withPosition
public AstroCoordsType.Builder<_B> withPosition(jakarta.xml.bind.JAXBElement<? extends CoordinateType> position) Sets the new value of "position" (any previous value will be replaced)- Parameters:
position- New value of the "position" property.
-
withVelocity
public AstroCoordsType.Builder<_B> withVelocity(jakarta.xml.bind.JAXBElement<? extends CoordinateType> velocity) Sets the new value of "velocity" (any previous value will be replaced)- Parameters:
velocity- New value of the "velocity" property.
-
withSpectral
Sets the new value of "spectral" (any previous value will be replaced)- Parameters:
spectral- New value of the "spectral" property.
-
withSpectral
Returns the existing builder or a new builder to build the value of the "spectral" property. UseStcBaseType.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "spectral" property.
Use
StcBaseType.Builder.end()to return to the current builder.
-
withRedshift
Sets the new value of "redshift" (any previous value will be replaced)- Parameters:
redshift- New value of the "redshift" property.
-
withRedshift
Returns the existing builder or a new builder to build the value of the "redshift" property. UseStcBaseType.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "redshift" property.
Use
StcBaseType.Builder.end()to return to the current builder.
-
withCoordFile
Sets the new value of "coordFile" (any previous value will be replaced)- Parameters:
coordFile- New value of the "coordFile" property.
-
withCoordFile
Returns the existing builder or a new builder to build the value of the "coordFile" property. UseStcBaseType.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "coordFile" property.
Use
StcBaseType.Builder.end()to return to the current builder.
-
withOrbit
Sets the new value of "orbit" (any previous value will be replaced)- Parameters:
orbit- New value of the "orbit" property.
-
withOrbit
Returns the existing builder or a new builder to build the value of the "orbit" property. UseStcBaseType.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "orbit" property.
Use
StcBaseType.Builder.end()to return to the current builder.
-
addGenCoordinates
public AstroCoordsType.Builder<_B> addGenCoordinates(Iterable<? extends jakarta.xml.bind.JAXBElement<? extends CoordinateType>> genCoordinates) Adds the given items to the value of "genCoordinates"- Overrides:
addGenCoordinatesin classCoordsType.Builder<_B>- Parameters:
genCoordinates- Items to add to the value of the "genCoordinates" property
-
addGenCoordinates
public AstroCoordsType.Builder<_B> addGenCoordinates(jakarta.xml.bind.JAXBElement<? extends CoordinateType>... genCoordinates) Adds the given items to the value of "genCoordinates"- Overrides:
addGenCoordinatesin classCoordsType.Builder<_B>- Parameters:
genCoordinates- Items to add to the value of the "genCoordinates" property
-
withGenCoordinates
public AstroCoordsType.Builder<_B> withGenCoordinates(Iterable<? extends jakarta.xml.bind.JAXBElement<? extends CoordinateType>> genCoordinates) Sets the new value of "genCoordinates" (any previous value will be replaced)- Overrides:
withGenCoordinatesin classCoordsType.Builder<_B>- Parameters:
genCoordinates- New value of the "genCoordinates" property.
-
withGenCoordinates
public AstroCoordsType.Builder<_B> withGenCoordinates(jakarta.xml.bind.JAXBElement<? extends CoordinateType>... genCoordinates) Sets the new value of "genCoordinates" (any previous value will be replaced)- Overrides:
withGenCoordinatesin classCoordsType.Builder<_B>- Parameters:
genCoordinates- New value of the "genCoordinates" property.
-
withCoordSystemId
Sets the new value of "coordSystemId" (any previous value will be replaced)- Overrides:
withCoordSystemIdin classCoordsType.Builder<_B>- Parameters:
coordSystemId- New value of the "coordSystemId" property.
-
withId
Sets the new value of "id" (any previous value will be replaced)- Overrides:
withIdin classCoordsType.Builder<_B>- Parameters:
id- New value of the "id" property.
-
withIdref
Sets the new value of "idref" (any previous value will be replaced)- Overrides:
withIdrefin classCoordsType.Builder<_B>- Parameters:
idref- New value of the "idref" property.
-
withUcd
Sets the new value of "ucd" (any previous value will be replaced)- Overrides:
withUcdin classCoordsType.Builder<_B>- Parameters:
ucd- New value of the "ucd" property.
-
withType
Sets the new value of "type" (any previous value will be replaced)- Overrides:
withTypein classCoordsType.Builder<_B>- Parameters:
type- New value of the "type" property.
-
withHref
Sets the new value of "href" (any previous value will be replaced)- Overrides:
withHrefin classCoordsType.Builder<_B>- Parameters:
href- New value of the "href" property.
-
withIDType
Sets the new value of "idType" (any previous value will be replaced)- Overrides:
withIDTypein classCoordsType.Builder<_B>- Parameters:
idType- New value of the "idType" property.
-
withIDREFType
Sets the new value of "idrefType" (any previous value will be replaced)- Overrides:
withIDREFTypein classCoordsType.Builder<_B>- Parameters:
idrefType- New value of the "idrefType" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable- Overrides:
buildin classCoordsType.Builder<_B>
-
copyOf
-
copyOf
-