Class SpectralCoordinateType.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.stc.v1.StcBaseType.Builder<_B>
org.javastro.ivoa.entities.stc.v1.CoordinateType.Builder<_B>
org.javastro.ivoa.entities.stc.v1.BasicCoordinateType.Builder<_B>
org.javastro.ivoa.entities.stc.v1.SpectralCoordinateType.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- SpectralCoordinateType
public static class SpectralCoordinateType.Builder<_B>
extends BasicCoordinateType.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, SpectralCoordinateType _other, boolean _copy) Builder(_B _parentBuilder, SpectralCoordinateType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
Method Summary
Modifier and TypeMethodDescriptionaddErrors(Iterable<? extends Double1Type> errors) Adds the given items to the value of "errors"addErrors(Double1Type... errors) Adds the given items to the value of "errors"addPixSizes(Iterable<? extends Double1Type> pixSizes) Adds the given items to the value of "pixSizes"addPixSizes(Double1Type... pixSizes) Adds the given items to the value of "pixSizes"addResolutions(Iterable<? extends Double1Type> resolutions) Adds the given items to the value of "resolutions"addResolutions(Double1Type... resolutions) Adds the given items to the value of "resolutions"addSizes(Iterable<? extends Double1Type> sizes) Adds the given items to the value of "sizes"addSizes(Double1Type... sizes) Adds the given items to the value of "sizes"build()copyOf(SpectralCoordinateType _other) copyOf(SpectralCoordinateType.Builder _other) protected <_P extends SpectralCoordinateType>
_Pinit(_P _product) withCoordSystemId(Object coordSystemId) Sets the new value of "coordSystemId" (any previous value will be replaced)withErrors(Iterable<? extends Double1Type> errors) Sets the new value of "errors" (any previous value will be replaced)withErrors(Double1Type... errors) Sets the new value of "errors" (any previous value will be replaced)withFrameId(Object frameId) Sets the new value of "frameId" (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)Sets the new value of "name" (any previous value will be replaced)withPixSizes(Iterable<? extends Double1Type> pixSizes) Sets the new value of "pixSizes" (any previous value will be replaced)withPixSizes(Double1Type... pixSizes) Sets the new value of "pixSizes" (any previous value will be replaced)withResolutions(Iterable<? extends Double1Type> resolutions) Sets the new value of "resolutions" (any previous value will be replaced)withResolutions(Double1Type... resolutions) Sets the new value of "resolutions" (any previous value will be replaced)withSizes(Iterable<? extends Double1Type> sizes) Sets the new value of "sizes" (any previous value will be replaced)withSizes(Double1Type... sizes) Sets the new value of "sizes" (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)withUnit(SpectralUnitType unit) Sets the new value of "unit" (any previous value will be replaced)Double1Type.Builder<? extends SpectralCoordinateType.Builder<_B>>Returns the existing builder or a new builder to build the value of the "value" property.withValue(Double1Type value) Sets the new value of "value" (any previous value will be replaced)Methods inherited from class org.javastro.ivoa.entities.stc.v1.BasicCoordinateType.Builder
addErrors, addPixSizes, addResolutions, addSizes, copyOf, copyOf, initMethods inherited from class org.javastro.ivoa.entities.stc.v1.CoordinateType.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, SpectralCoordinateType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Details
-
init
-
withCoordSystemId
Sets the new value of "coordSystemId" (any previous value will be replaced)- Parameters:
coordSystemId- New value of the "coordSystemId" property.
-
withUnit
Sets the new value of "unit" (any previous value will be replaced)- Parameters:
unit- New value of the "unit" property.
-
withValue
Sets the new value of "value" (any previous value will be replaced)- Overrides:
withValuein classBasicCoordinateType.Builder<_B>- Parameters:
value- New value of the "value" property.
-
withValue
Returns the existing builder or a new builder to build the value of the "value" property. UseDouble1Type.Builder.end()to return to the current builder.- Overrides:
withValuein classBasicCoordinateType.Builder<_B>- Returns:
- A new builder to build the value of the "value" property.
Use
Double1Type.Builder.end()to return to the current builder.
-
addErrors
Adds the given items to the value of "errors"- Overrides:
addErrorsin classBasicCoordinateType.Builder<_B>- Parameters:
errors- Items to add to the value of the "errors" property
-
addErrors
Adds the given items to the value of "errors"- Overrides:
addErrorsin classBasicCoordinateType.Builder<_B>- Parameters:
errors- Items to add to the value of the "errors" property
-
withErrors
Sets the new value of "errors" (any previous value will be replaced)- Overrides:
withErrorsin classBasicCoordinateType.Builder<_B>- Parameters:
errors- New value of the "errors" property.
-
withErrors
Sets the new value of "errors" (any previous value will be replaced)- Overrides:
withErrorsin classBasicCoordinateType.Builder<_B>- Parameters:
errors- New value of the "errors" property.
-
addResolutions
public SpectralCoordinateType.Builder<_B> addResolutions(Iterable<? extends Double1Type> resolutions) Adds the given items to the value of "resolutions"- Overrides:
addResolutionsin classBasicCoordinateType.Builder<_B>- Parameters:
resolutions- Items to add to the value of the "resolutions" property
-
addResolutions
Adds the given items to the value of "resolutions"- Overrides:
addResolutionsin classBasicCoordinateType.Builder<_B>- Parameters:
resolutions- Items to add to the value of the "resolutions" property
-
withResolutions
public SpectralCoordinateType.Builder<_B> withResolutions(Iterable<? extends Double1Type> resolutions) Sets the new value of "resolutions" (any previous value will be replaced)- Overrides:
withResolutionsin classBasicCoordinateType.Builder<_B>- Parameters:
resolutions- New value of the "resolutions" property.
-
withResolutions
Sets the new value of "resolutions" (any previous value will be replaced)- Overrides:
withResolutionsin classBasicCoordinateType.Builder<_B>- Parameters:
resolutions- New value of the "resolutions" property.
-
addSizes
Adds the given items to the value of "sizes"- Overrides:
addSizesin classBasicCoordinateType.Builder<_B>- Parameters:
sizes- Items to add to the value of the "sizes" property
-
addSizes
Adds the given items to the value of "sizes"- Overrides:
addSizesin classBasicCoordinateType.Builder<_B>- Parameters:
sizes- Items to add to the value of the "sizes" property
-
withSizes
Sets the new value of "sizes" (any previous value will be replaced)- Overrides:
withSizesin classBasicCoordinateType.Builder<_B>- Parameters:
sizes- New value of the "sizes" property.
-
withSizes
Sets the new value of "sizes" (any previous value will be replaced)- Overrides:
withSizesin classBasicCoordinateType.Builder<_B>- Parameters:
sizes- New value of the "sizes" property.
-
addPixSizes
Adds the given items to the value of "pixSizes"- Overrides:
addPixSizesin classBasicCoordinateType.Builder<_B>- Parameters:
pixSizes- Items to add to the value of the "pixSizes" property
-
addPixSizes
Adds the given items to the value of "pixSizes"- Overrides:
addPixSizesin classBasicCoordinateType.Builder<_B>- Parameters:
pixSizes- Items to add to the value of the "pixSizes" property
-
withPixSizes
Sets the new value of "pixSizes" (any previous value will be replaced)- Overrides:
withPixSizesin classBasicCoordinateType.Builder<_B>- Parameters:
pixSizes- New value of the "pixSizes" property.
-
withPixSizes
Sets the new value of "pixSizes" (any previous value will be replaced)- Overrides:
withPixSizesin classBasicCoordinateType.Builder<_B>- Parameters:
pixSizes- New value of the "pixSizes" property.
-
withName
Sets the new value of "name" (any previous value will be replaced)- Overrides:
withNamein classBasicCoordinateType.Builder<_B>- Parameters:
name- New value of the "name" property.
-
withFrameId
Sets the new value of "frameId" (any previous value will be replaced)- Overrides:
withFrameIdin classBasicCoordinateType.Builder<_B>- Parameters:
frameId- New value of the "frameId" property.
-
withId
Sets the new value of "id" (any previous value will be replaced)- Overrides:
withIdin classBasicCoordinateType.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 classBasicCoordinateType.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 classBasicCoordinateType.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 classBasicCoordinateType.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 classBasicCoordinateType.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 classBasicCoordinateType.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 classBasicCoordinateType.Builder<_B>- Parameters:
idrefType- New value of the "idrefType" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable- Overrides:
buildin classBasicCoordinateType.Builder<_B>
-
copyOf
-
copyOf
-