ClassModelBuilder<T> |
ClassModelBuilder.annotations(List<Annotation> annotations) |
Sets the annotations for the model
|
static <S> ClassModelBuilder<S> |
ClassModel.builder(Class<S> type) |
Creates a new Class Model builder instance using reflection.
|
ClassModelBuilder<T> |
ClassModelBuilder.conventions(List<Convention> conventions) |
Sets the conventions to apply to the model
|
ClassModelBuilder<T> |
ClassModelBuilder.discriminator(String discriminator) |
Sets the discriminator to be used when storing instances of the modeled type
|
ClassModelBuilder<T> |
ClassModelBuilder.discriminatorKey(String discriminatorKey) |
Sets the discriminator key to be used when storing instances of the modeled type
|
ClassModelBuilder<T> |
ClassModelBuilder.enableDiscriminator(boolean discriminatorEnabled) |
Enables or disables the use of a discriminator when serializing
|
ClassModelBuilder<T> |
ClassModelBuilder.idGenerator(IdGenerator<?> idGenerator) |
Sets the IdGenerator for the ClassModel
|
ClassModelBuilder<T> |
ClassModelBuilder.idPropertyName(String idPropertyName) |
Designates a property as the _id property for this type.
|
ClassModelBuilder<T> |
ClassModelBuilder.instanceCreatorFactory(InstanceCreatorFactory<T> instanceCreatorFactory) |
Sets the InstanceCreatorFactory for the ClassModel
|
ClassModelBuilder<T> |
ClassModelBuilder.type(Class<T> type) |
Sets the type of the model
|