Class BuilderMetadata
java.lang.Object
de.cuioss.test.valueobjects.property.impl.BuilderMetadata
- All Implemented Interfaces:
PropertyMetadata
,Comparable<PropertyMetadata>
Extensions of
PropertyMetadata
that deals with builder-specific
aspects- Author:
- Oliver Wolff
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static BuilderMetadata
wrapFromMetadata
(PropertyMetadata metadata) Simple converter for creating aBuilderMetadata
from any givenPropertyMetadata
with defaults for the methods.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface de.cuioss.test.valueobjects.property.PropertyMetadata
getAssertionStrategy, getCollectionType, getGenerator, getName, getPropertyAccessStrategy, getPropertyClass, getPropertyMemberInfo, getPropertyReadWrite, isDefaultValue, isRequired, next, resolveActualClass, resolveCollectionGenerator
-
Constructor Details
-
BuilderMetadata
public BuilderMetadata()
-
-
Method Details
-
builder
- Returns:
- a new instance of
BuilderMetadata.BuilderMetadataBuilder
-
wrapFromMetadata
Simple converter for creating aBuilderMetadata
from any givenPropertyMetadata
with defaults for the methods.- Parameters:
metadata
- must not be null- Returns:
- a
BuilderMetadata
computed from the givenPropertyMetadata
without further configuration
-