Package org.ldaptive.beans.generate
Class BeanGenerator.Builder
- java.lang.Object
-
- org.ldaptive.beans.generate.BeanGenerator.Builder
-
- Enclosing class:
- BeanGenerator
public static class BeanGenerator.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private BeanGenerator
object
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanGenerator
build()
BeanGenerator.Builder
excludedNames(String... classes)
BeanGenerator.Builder
includeSuperiorClasses(boolean b)
BeanGenerator.Builder
nameMappings(Map<String,String> mappings)
BeanGenerator.Builder
objectClasses(String... classes)
BeanGenerator.Builder
packageName(String name)
BeanGenerator.Builder
schema(Schema schema)
BeanGenerator.Builder
typeMappings(Map<String,Class<?>> mappings)
BeanGenerator.Builder
useOperationalAttributes(boolean b)
BeanGenerator.Builder
useOptionalAttributes(boolean b)
-
-
-
Field Detail
-
object
private final BeanGenerator object
-
-
Method Detail
-
schema
public BeanGenerator.Builder schema(Schema schema)
-
packageName
public BeanGenerator.Builder packageName(String name)
-
objectClasses
public BeanGenerator.Builder objectClasses(String... classes)
-
useOptionalAttributes
public BeanGenerator.Builder useOptionalAttributes(boolean b)
-
useOperationalAttributes
public BeanGenerator.Builder useOperationalAttributes(boolean b)
-
includeSuperiorClasses
public BeanGenerator.Builder includeSuperiorClasses(boolean b)
-
typeMappings
public BeanGenerator.Builder typeMappings(Map<String,Class<?>> mappings)
-
nameMappings
public BeanGenerator.Builder nameMappings(Map<String,String> mappings)
-
excludedNames
public BeanGenerator.Builder excludedNames(String... classes)
-
build
public BeanGenerator build()
-
-