Class Content.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.resource.Content.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- Content
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContentLevels(Iterable<? extends String> contentLevels) Adds the given items to the value of "contentLevels"addContentLevels(String... contentLevels) Adds the given items to the value of "contentLevels"Relationship.Builder<? extends Content.Builder<_B>>Returns a new builder to build an additional value of the "Relationships" property.addRelationships(Iterable<? extends Relationship> relationships) Adds the given items to the value of "relationships"addRelationships(Relationship... relationships) Adds the given items to the value of "relationships"addSubjects(Iterable<? extends String> subjects) Adds the given items to the value of "subjects"addSubjects(String... subjects) Adds the given items to the value of "subjects"Adds the given items to the value of "types"Adds the given items to the value of "types"build()copyOf(Content.Builder _other) end()protected <_P extends Content>
_Pinit(_P _product) withContentLevels(Iterable<? extends String> contentLevels) Sets the new value of "contentLevels" (any previous value will be replaced)withContentLevels(String... contentLevels) Sets the new value of "contentLevels" (any previous value will be replaced)withDescription(String description) Sets the new value of "description" (any previous value will be replaced)withReferenceURL(String referenceURL) Sets the new value of "referenceURL" (any previous value will be replaced)withRelationships(Iterable<? extends Relationship> relationships) Sets the new value of "relationships" (any previous value will be replaced)withRelationships(Relationship... relationships) Sets the new value of "relationships" (any previous value will be replaced)Source.Builder<? extends Content.Builder<_B>>Returns the existing builder or a new builder to build the value of the "source" property.withSource(Source source) Sets the new value of "source" (any previous value will be replaced)withSubjects(Iterable<? extends String> subjects) Sets the new value of "subjects" (any previous value will be replaced)withSubjects(String... subjects) Sets the new value of "subjects" (any previous value will be replaced)Sets the new value of "types" (any previous value will be replaced)Sets the new value of "types" (any previous value will be replaced)
-
Field Details
-
_parentBuilder
-
_storedValue
-
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
end
-
init
-
addSubjects
Adds the given items to the value of "subjects"- Parameters:
subjects- Items to add to the value of the "subjects" property
-
withSubjects
Sets the new value of "subjects" (any previous value will be replaced)- Parameters:
subjects- New value of the "subjects" property.
-
addSubjects
Adds the given items to the value of "subjects"- Parameters:
subjects- Items to add to the value of the "subjects" property
-
withSubjects
Sets the new value of "subjects" (any previous value will be replaced)- Parameters:
subjects- New value of the "subjects" property.
-
withDescription
Sets the new value of "description" (any previous value will be replaced)- Parameters:
description- New value of the "description" property.
-
withSource
Sets the new value of "source" (any previous value will be replaced)- Parameters:
source- New value of the "source" property.
-
withSource
Returns the existing builder or a new builder to build the value of the "source" property. UseSource.Builder.end()to return to the current builder.- Returns:
- A new builder to build the value of the "source" property.
Use
Source.Builder.end()to return to the current builder.
-
withReferenceURL
Sets the new value of "referenceURL" (any previous value will be replaced)- Parameters:
referenceURL- New value of the "referenceURL" property.
-
addTypes
Adds the given items to the value of "types"- Parameters:
types- Items to add to the value of the "types" property
-
withTypes
Sets the new value of "types" (any previous value will be replaced)- Parameters:
types- New value of the "types" property.
-
addTypes
Adds the given items to the value of "types"- Parameters:
types- Items to add to the value of the "types" property
-
withTypes
Sets the new value of "types" (any previous value will be replaced)- Parameters:
types- New value of the "types" property.
-
addContentLevels
Adds the given items to the value of "contentLevels"- Parameters:
contentLevels- Items to add to the value of the "contentLevels" property
-
withContentLevels
Sets the new value of "contentLevels" (any previous value will be replaced)- Parameters:
contentLevels- New value of the "contentLevels" property.
-
addContentLevels
Adds the given items to the value of "contentLevels"- Parameters:
contentLevels- Items to add to the value of the "contentLevels" property
-
withContentLevels
Sets the new value of "contentLevels" (any previous value will be replaced)- Parameters:
contentLevels- New value of the "contentLevels" property.
-
addRelationships
Adds the given items to the value of "relationships"- Parameters:
relationships- Items to add to the value of the "relationships" property
-
withRelationships
Sets the new value of "relationships" (any previous value will be replaced)- Parameters:
relationships- New value of the "relationships" property.
-
addRelationships
Adds the given items to the value of "relationships"- Parameters:
relationships- Items to add to the value of the "relationships" property
-
withRelationships
Sets the new value of "relationships" (any previous value will be replaced)- Parameters:
relationships- New value of the "relationships" property.
-
addRelationships
Returns a new builder to build an additional value of the "Relationships" property. UseRelationship.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Relationships" property.
Use
Relationship.Builder.end()to return to the current builder.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable
-
copyOf
-
copyOf
-