Class ListRecordsType.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.resource.registry.oaipmh.ListRecordsType.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- ListRecordsType
public static class ListRecordsType.Builder<_B>
extends Object
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 -
Constructor Summary
ConstructorsConstructorDescriptionBuilder(_B _parentBuilder, ListRecordsType _other, boolean _copy) Builder(_B _parentBuilder, ListRecordsType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
Method Summary
Modifier and TypeMethodDescriptionRecordType.Builder<? extends ListRecordsType.Builder<_B>>Returns a new builder to build an additional value of the "Records" property.addRecords(Iterable<? extends RecordType> records) Adds the given items to the value of "records"addRecords(RecordType... records) Adds the given items to the value of "records"build()copyOf(ListRecordsType _other) copyOf(ListRecordsType.Builder _other) end()protected <_P extends ListRecordsType>
_Pinit(_P _product) withRecords(Iterable<? extends RecordType> records) Sets the new value of "records" (any previous value will be replaced)withRecords(RecordType... records) Sets the new value of "records" (any previous value will be replaced)ResumptionTokenType.Builder<? extends ListRecordsType.Builder<_B>>Returns the existing builder or a new builder to build the value of the "resumptionToken" property.withResumptionToken(ResumptionTokenType resumptionToken) Sets the new value of "resumptionToken" (any previous value will be replaced)
-
Field Details
-
_parentBuilder
-
_storedValue
-
-
Constructor Details
-
Builder
-
Builder
public Builder(_B _parentBuilder, ListRecordsType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Details
-
end
-
init
-
addRecords
Adds the given items to the value of "records"- Parameters:
records- Items to add to the value of the "records" property
-
withRecords
Sets the new value of "records" (any previous value will be replaced)- Parameters:
records- New value of the "records" property.
-
addRecords
Adds the given items to the value of "records"- Parameters:
records- Items to add to the value of the "records" property
-
withRecords
Sets the new value of "records" (any previous value will be replaced)- Parameters:
records- New value of the "records" property.
-
addRecords
Returns a new builder to build an additional value of the "Records" property. UseRecordType.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Records" property.
Use
RecordType.Builder.end()to return to the current builder.
-
withResumptionToken
Sets the new value of "resumptionToken" (any previous value will be replaced)- Parameters:
resumptionToken- New value of the "resumptionToken" property.
-
withResumptionToken
Returns the existing builder or a new builder to build the value of the "resumptionToken" property. UseResumptionTokenType.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "resumptionToken" property.
Use
ResumptionTokenType.Builder.end()to return to the current builder.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable
-
copyOf
-
copyOf
-