Package ru.objectsfill.object_param
Class Extend
java.lang.Object
ru.objectsfill.object_param.Extend
class with parameters for field
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classbuilder for extend class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstart builder with nameGets the collection size.Gets mutation function.Gets the field name.Gets the value length.start empty builder
-
Constructor Details
-
Extend
public Extend(String fieldName, Integer collectionSize, Integer valueLength, UnaryOperator<Object> singleChangeFunction) constructor for builder- Parameters:
fieldName- field namecollectionSize- sizevalueLength- lengthsingleChangeFunction- mutation function
-
-
Method Details
-
getFieldChangeFunction
Gets mutation function.- Returns:
- mutation function.
-
getFieldName
Gets the field name.- Returns:
- field name.
-
getCollectionSize
Gets the collection size.- Returns:
- The collection size.
-
getValueLength
Gets the value length.- Returns:
- The value length.
-
field
start builder with name- Parameters:
fieldName- set field name- Returns:
- fill field parameter builder.
-
wrapByFunction
start empty builder- Returns:
- fill field parameter builder.
-