Interface PropertyFactory
- All Known Implementing Classes:
ModelFactory
,ModelTest
,ModelTest2
public interface PropertyFactory
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault PropertyFactory.Property
default PropertyFactory.Property
property
(NamedValue keyValuePair) Factory method to define property.
-
Method Details
-
property
-
property
Factory method to define property.
Key-value pair is a construct
key -> "value"
Where 'key' is the name of the property to set and "value" is it's string value.- Parameters:
keyValuePair
- - combination of key -> "value" pairs. Example:property(name1 -> "property_1")
- Returns:
- defined property
-