Class Capability.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.resource.Capability.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Direct Known Subclasses:
CSCapRestriction.Builder,RegCapRestriction.Builder,SIACapRestriction.Builder,SimpleSpectralAccess.Builder,TableAccess.Builder
- Enclosing class:
- Capability
-
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, Capability _other, boolean _copy) Builder(_B _parentBuilder, Capability _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
Method Summary
Modifier and TypeMethodDescriptionaddInterfaces(Iterable<? extends ServiceInterface> interfaces) Adds the given items to the value of "interfaces"addInterfaces(ServiceInterface... interfaces) Adds the given items to the value of "interfaces"Validation.Builder<? extends Capability.Builder<_B>>Returns a new builder to build an additional value of the "ValidationLevels" property.addValidationLevels(Iterable<? extends Validation> validationLevels) Adds the given items to the value of "validationLevels"addValidationLevels(Validation... validationLevels) Adds the given items to the value of "validationLevels"build()copyOf(Capability _other) copyOf(Capability.Builder _other) end()protected <_P extends Capability>
_Pinit(_P _product) withDescription(String description) Sets the new value of "description" (any previous value will be replaced)withInterfaces(Iterable<? extends ServiceInterface> interfaces) Sets the new value of "interfaces" (any previous value will be replaced)withInterfaces(ServiceInterface... interfaces) Sets the new value of "interfaces" (any previous value will be replaced)withStandardID(String standardID) Sets the new value of "standardID" (any previous value will be replaced)withValidationLevels(Iterable<? extends Validation> validationLevels) Sets the new value of "validationLevels" (any previous value will be replaced)withValidationLevels(Validation... validationLevels) Sets the new value of "validationLevels" (any previous value will be replaced)
-
Field Details
-
_parentBuilder
-
_storedValue
-
-
Constructor Details
-
Builder
-
Builder
public Builder(_B _parentBuilder, Capability _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Details
-
end
-
init
-
addValidationLevels
Adds the given items to the value of "validationLevels"- Parameters:
validationLevels- Items to add to the value of the "validationLevels" property
-
withValidationLevels
Sets the new value of "validationLevels" (any previous value will be replaced)- Parameters:
validationLevels- New value of the "validationLevels" property.
-
addValidationLevels
Adds the given items to the value of "validationLevels"- Parameters:
validationLevels- Items to add to the value of the "validationLevels" property
-
withValidationLevels
Sets the new value of "validationLevels" (any previous value will be replaced)- Parameters:
validationLevels- New value of the "validationLevels" property.
-
addValidationLevels
Returns a new builder to build an additional value of the "ValidationLevels" property. UseValidation.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "ValidationLevels" property.
Use
Validation.Builder.end()to return to the current builder.
-
withDescription
Sets the new value of "description" (any previous value will be replaced)- Parameters:
description- New value of the "description" property.
-
addInterfaces
Adds the given items to the value of "interfaces"- Parameters:
interfaces- Items to add to the value of the "interfaces" property
-
withInterfaces
Sets the new value of "interfaces" (any previous value will be replaced)- Parameters:
interfaces- New value of the "interfaces" property.
-
addInterfaces
Adds the given items to the value of "interfaces"- Parameters:
interfaces- Items to add to the value of the "interfaces" property
-
withInterfaces
Sets the new value of "interfaces" (any previous value will be replaced)- Parameters:
interfaces- New value of the "interfaces" property.
-
withStandardID
Sets the new value of "standardID" (any previous value will be replaced)- Parameters:
standardID- New value of the "standardID" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable
-
copyOf
-
copyOf
-