Package org.javers.core.metamodel.clazz
Class ClientsClassDefinitionBuilder<T extends ClientsClassDefinitionBuilder>
java.lang.Object
org.javers.core.metamodel.clazz.ClientsClassDefinitionBuilder<T>
- Direct Known Subclasses:
EntityDefinitionBuilder,ValueObjectDefinitionBuilder
public abstract class ClientsClassDefinitionBuilder<T extends ClientsClassDefinitionBuilder>
extends Object
- Since:
- 1.4
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withIgnoredProperties(String... ignoredProperties) withIgnoredProperties(List<String> ignoredProperties) List of class properties to be ignored by JaVers.withIncludedProperties(List<String> includedProperties) If included properties are defined for a class, only these properties are visible for JaVers, and the rest is ignored.withShallowProperties(List<String> shallowProperties) Equiv to the property-levelShallowReferenceannotations.withTypeName(String typeName) withTypeName(Optional<String> typeName)
-
Method Details
-
withIgnoredProperties
- See Also:
-
withIgnoredProperties
List of class properties to be ignored by JaVers.
Properties can be also ignored with theDiffIgnoreannotation.
You can either specify includedProperties or ignoredProperties, not both.- Throws:
IllegalArgumentException- If includedProperties was already set.- See Also:
-
withIncludedProperties
If included properties are defined for a class, only these properties are visible for JaVers, and the rest is ignored.
Properties can be also included with theDiffIncludeannotation.
You can either specify includedProperties or ignoredProperties, not both.- Throws:
JaversException- If ignoredProperties was already set
-
withShallowProperties
Equiv to the property-levelShallowReferenceannotations. -
withTypeName
-
withTypeName
-
build
-