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