public static final class UpdateAttributeFragment.Builder extends Object
UpdateAttributeFragment
with specified properties to modify.
Below is a snippet illustrating how to use this builder:
UpdateAttributeFragment fragment = UpdateAttributeFragment.builder("myAttribute").name("myAttributeNewName").defaultValue(10).create();
UpdateAttributeFragment.builder(String)
Modifier and Type | Method and Description |
---|---|
UpdateAttributeFragment.Builder |
alterChangeBars(boolean value)
Determines whether the attribute definition to modify should alter change bars.
|
UpdateAttributeFragment.Builder |
alterDates(boolean value)
Determines whether the attribute definition to modify should alter dates.
|
UpdateAttributeFragment |
create()
Creates a
UpdateAttributeFragment instance with the properties configured on this builder. |
UpdateAttributeFragment.Builder |
defaultValue(RichText value)
Sets the new default value on the attribute definition to modify.
|
UpdateAttributeFragment.Builder |
dxl(String value)
Sets the new DXL code on the attribute definition to modify.
|
UpdateAttributeFragment.Builder |
history(boolean value)
Determines whether the attribute definition to modify should generate history.
|
UpdateAttributeFragment.Builder |
inherit(boolean value)
Determines whether the attribute definition to modify should be inherited.
|
UpdateAttributeFragment.Builder |
multi(boolean value)
Determines whether the attribute definition to modify should be multi-valued.
|
UpdateAttributeFragment.Builder |
name(String value)
Sets the new name on the attribute definition to modify.
|
UpdateAttributeFragment.Builder |
scope(CreateAttributeFragment.Scope scope)
Sets the new scope on the attribute definition to modify.
|
public UpdateAttributeFragment create()
UpdateAttributeFragment
instance with the properties configured on this builder.UpdateAttributeFragment
instance.public UpdateAttributeFragment.Builder name(String value)
value
- the new attribute name.public UpdateAttributeFragment.Builder scope(CreateAttributeFragment.Scope scope)
scope
- the new attribute scope.public UpdateAttributeFragment.Builder dxl(String value)
value
- the new DXL code.public UpdateAttributeFragment.Builder defaultValue(RichText value)
value
- the new default value.public UpdateAttributeFragment.Builder alterChangeBars(boolean value)
value
- a boolean which determines whether the attribute definition to modify should alter change bars.public UpdateAttributeFragment.Builder alterDates(boolean value)
value
- a boolean which determines whether the attribute definition to modify should alter dates.public UpdateAttributeFragment.Builder history(boolean value)
value
- a boolean which determines whether the attribute definition to modify should generate history.public UpdateAttributeFragment.Builder inherit(boolean value)
value
- a boolean which determines whether the attribute definition to modify should be inherited.public UpdateAttributeFragment.Builder multi(boolean value)
value
- a boolean which determines whether the attribute definition to modify should be multi-valued.