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