Class EntityDefinitionBuilder


  • public class EntityDefinitionBuilder
    extends ClientsClassDefinitionBuilder<EntityDefinitionBuilder>
    Fluent builder for EntityDefinition, allows to set all optional attributes: Id-property, ignoredProperties and typeAlias, for example:
     EntityDefinitionBuilder.entityDefinition(Person.class)
        .withIdPropertyName(idPropertyName)
        .withIgnoredProperties(ignoredProperties)
        .withTypeName(typeName)
        .build();
    
    Since:
    1.4