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 Details

    • withIgnoredProperties

      public T withIgnoredProperties(String... ignoredProperties)
      See Also:
    • withIgnoredProperties

      public T withIgnoredProperties(List<String> ignoredProperties)
      List of class properties to be ignored by JaVers.

      Properties can be also ignored with the DiffIgnore annotation.

      You can either specify includedProperties or ignoredProperties, not both.
      Throws:
      IllegalArgumentException - If includedProperties was already set.
      See Also:
    • withIncludedProperties

      public T withIncludedProperties(List<String> includedProperties)
      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 the DiffInclude annotation.

      You can either specify includedProperties or ignoredProperties, not both.
      Throws:
      JaversException - If ignoredProperties was already set
    • withShallowProperties

      public T withShallowProperties(List<String> shallowProperties)
      Equiv to the property-level ShallowReference annotations.
    • withTypeName

      public T withTypeName(Optional<String> typeName)
    • withTypeName

      public T withTypeName(String typeName)
    • build

      public ClientsClassDefinition build()