public static class ResourceType.Builder<_B> extends Object implements com.kscs.util.jaxb.Buildable
| Modifier and Type | Field and Description |
|---|---|
protected _B |
_parentBuilder |
protected ResourceType |
_storedValue |
| Constructor and Description |
|---|
Builder(_B _parentBuilder,
ResourceType _other,
boolean _copy) |
Builder(_B _parentBuilder,
ResourceType _other,
boolean _copy,
com.kscs.util.jaxb.PropertyTree _propertyTree,
com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) |
| Modifier and Type | Method and Description |
|---|---|
ResourceType.Builder<_B> |
addContent(Iterable<?> content)
Adds the given items to the value of "content"
|
ResourceType.Builder<_B> |
addContent(Object... content)
Adds the given items to the value of "content"
|
ResourceType |
build() |
_B |
end() |
protected <_P extends ResourceType> |
init(_P _product) |
ResourceType.Builder<_B> |
withContent(Iterable<?> content)
Sets the new value of "content" (any previous value will be replaced)
|
ResourceType.Builder<_B> |
withContent(Object... content)
Sets the new value of "content" (any previous value will be replaced)
|
ResourceType.Builder<_B> |
withLabel(String label)
Sets the new value of "label" (any previous value will be replaced)
|
ResourceType.Builder<_B> |
withRole(String role)
Sets the new value of "role" (any previous value will be replaced)
|
ResourceType.Builder<_B> |
withTitle(String title)
Sets the new value of "title" (any previous value will be replaced)
|
ResourceType.Builder<_B> |
withType(TypeType type)
Sets the new value of "type" (any previous value will be replaced)
|
protected final _B _parentBuilder
protected final ResourceType _storedValue
public Builder(_B _parentBuilder, ResourceType _other, boolean _copy)
public Builder(_B _parentBuilder, ResourceType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
public _B end()
protected <_P extends ResourceType> _P init(_P _product)
public ResourceType.Builder<_B> addContent(Iterable<?> content)
content - Items to add to the value of the "content" propertypublic ResourceType.Builder<_B> withContent(Iterable<?> content)
content - New value of the "content" property.public ResourceType.Builder<_B> addContent(Object... content)
content - Items to add to the value of the "content" propertypublic ResourceType.Builder<_B> withContent(Object... content)
content - New value of the "content" property.public ResourceType.Builder<_B> withType(TypeType type)
type - New value of the "type" property.public ResourceType.Builder<_B> withRole(String role)
role - New value of the "role" property.public ResourceType.Builder<_B> withTitle(String title)
title - New value of the "title" property.public ResourceType.Builder<_B> withLabel(String label)
label - New value of the "label" property.public ResourceType build()
build in interface com.kscs.util.jaxb.BuildableCopyright © 2022 NorStella. All rights reserved.