Class PropertyNameBuilder
Object
PropertyNameBuilder
- All Implemented Interfaces:
Builder<PropertyName>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Created object, may be null if unset()reset()Configure the Builder to produce a default result.reset(PropertyName original) Configure the Builder to produce a copy of the provided original.unset()Configure the Builder to producenull.
-
Field Details
-
ff
-
-
Constructor Details
-
PropertyNameBuilder
public PropertyNameBuilder() -
PropertyNameBuilder
-
-
Method Details
-
property
-
name
-
name
-
build
Description copied from interface:BuilderCreated object, may be null if unset()- Specified by:
buildin interfaceBuilder<PropertyName>- Returns:
- Created object may be null if unset()
-
reset
Description copied from interface:BuilderConfigure the Builder to produce a default result.- Specified by:
resetin interfaceBuilder<PropertyName>- Returns:
- Builder configured to produce a default result.
-
reset
Description copied from interface:BuilderConfigure the Builder to produce a copy of the provided original.- Specified by:
resetin interfaceBuilder<PropertyName>- Parameters:
original- Original, if null this will behave the same as unset()- Returns:
- Builder configured to produce the provided original
-
unset
Description copied from interface:BuilderConfigure the Builder to producenull.This method allows a Builder to be used as a placeholder; in its unset state the build() method will produce
null. If any of the builder methods are used the builder will produce a result.- Specified by:
unsetin interfaceBuilder<PropertyName>- Returns:
- Builder configured to build
null
-