Package org.w3.xlink
Class ResourceType.Builder<_B>
- java.lang.Object
-
- org.w3.xlink.ResourceType.Builder<_B>
-
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- ResourceType
public static class ResourceType.Builder<_B> extends Object implements com.kscs.util.jaxb.Buildable
-
-
Field Summary
Fields Modifier and Type Field Description protected _B_parentBuilderprotected ResourceType_storedValue
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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"ResourceTypebuild()ResourceType.Builder<_B>copyOf(ResourceType _other)ResourceType.Builder<_B>copyOf(ResourceType.Builder _other)_Bend()protected <_P extends ResourceType>
_Pinit(_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)
-
-
-
Field Detail
-
_parentBuilder
protected final _B _parentBuilder
-
_storedValue
protected final ResourceType _storedValue
-
-
Constructor Detail
-
Builder
public Builder(_B _parentBuilder, ResourceType _other, boolean _copy)
-
Builder
public Builder(_B _parentBuilder, ResourceType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Detail
-
end
public _B end()
-
init
protected <_P extends ResourceType> _P init(_P _product)
-
addContent
public ResourceType.Builder<_B> addContent(Iterable<?> content)
Adds the given items to the value of "content"- Parameters:
content- Items to add to the value of the "content" property
-
withContent
public ResourceType.Builder<_B> withContent(Iterable<?> content)
Sets the new value of "content" (any previous value will be replaced)- Parameters:
content- New value of the "content" property.
-
addContent
public ResourceType.Builder<_B> addContent(Object... content)
Adds the given items to the value of "content"- Parameters:
content- Items to add to the value of the "content" property
-
withContent
public ResourceType.Builder<_B> withContent(Object... content)
Sets the new value of "content" (any previous value will be replaced)- Parameters:
content- New value of the "content" property.
-
withType
public ResourceType.Builder<_B> withType(TypeType type)
Sets the new value of "type" (any previous value will be replaced)- Parameters:
type- New value of the "type" property.
-
withRole
public ResourceType.Builder<_B> withRole(String role)
Sets the new value of "role" (any previous value will be replaced)- Parameters:
role- New value of the "role" property.
-
withTitle
public ResourceType.Builder<_B> withTitle(String title)
Sets the new value of "title" (any previous value will be replaced)- Parameters:
title- New value of the "title" property.
-
withLabel
public ResourceType.Builder<_B> withLabel(String label)
Sets the new value of "label" (any previous value will be replaced)- Parameters:
label- New value of the "label" property.
-
build
public ResourceType build()
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable
-
copyOf
public ResourceType.Builder<_B> copyOf(ResourceType _other)
-
copyOf
public ResourceType.Builder<_B> copyOf(ResourceType.Builder _other)
-
-