Uses of Class
nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
Packages that use FieldDescriptor
Package
Description
-
Uses of FieldDescriptor in nl.datasteel.crudcraft.codegen.descriptor.model
Methods in nl.datasteel.crudcraft.codegen.descriptor.model that return types with arguments of type FieldDescriptorModifier and TypeMethodDescriptionModelDescriptor.getFields()
Returns the fields of the model, which are defined in the ModelIdentity. -
Uses of FieldDescriptor in nl.datasteel.crudcraft.codegen.descriptor.model.part
Methods in nl.datasteel.crudcraft.codegen.descriptor.model.part that return types with arguments of type FieldDescriptorModifier and TypeMethodDescriptionModelIdentity.fields()
Safe, Defensive accessor for fields.ModelIdentity.getFields()
Returns the fields defined in the model.Constructor parameters in nl.datasteel.crudcraft.codegen.descriptor.model.part with type arguments of type FieldDescriptorModifierConstructorDescriptionModelIdentity
(String name, String packageName, List<FieldDescriptor> fields, String basePackage) Immutable constructor for ModelIdentity. -
Uses of FieldDescriptor in nl.datasteel.crudcraft.codegen.writer.relationship
Methods in nl.datasteel.crudcraft.codegen.writer.relationship with parameters of type FieldDescriptorModifier and TypeMethodDescriptionvoid
OneToManyHandler.addClear
(ModelDescriptor modelDescriptor, FieldDescriptor fieldDescriptor, com.squareup.javapoet.MethodSpec.Builder clear, com.squareup.javapoet.ClassName entityType) Adds the clear logic for a one-to-many or many-to-many relationship field.void
OneToOneHandler.addClear
(ModelDescriptor modelDescriptor, FieldDescriptor fieldDescriptor, com.squareup.javapoet.MethodSpec.Builder clear, com.squareup.javapoet.ClassName entityType) Adds the clear logic for a one-to-one relationship field.void
RelationshipHandler.addClear
(ModelDescriptor md, FieldDescriptor fd, com.squareup.javapoet.MethodSpec.Builder clear, com.squareup.javapoet.ClassName entityType) Adds the clear logic for a relationship field.void
OneToManyHandler.addFix
(ModelDescriptor modelDescriptor, FieldDescriptor fieldDescriptor, com.squareup.javapoet.MethodSpec.Builder fix, com.squareup.javapoet.ClassName entityType) Adds the fix logic for a one-to-many or many-to-many relationship field.void
OneToOneHandler.addFix
(ModelDescriptor modelDescriptor, FieldDescriptor fieldDescriptor, com.squareup.javapoet.MethodSpec.Builder fix, com.squareup.javapoet.ClassName entityType) Adds the fix logic for a one-to-one relationship field.void
RelationshipHandler.addFix
(ModelDescriptor md, FieldDescriptor fd, com.squareup.javapoet.MethodSpec.Builder fix, com.squareup.javapoet.ClassName entityType) Adds the fix logic for a relationship field.default String
RelationshipHandler.getInverseRelationshipFieldName
(FieldDescriptor fd, ModelDescriptor md) default String
RelationshipHandler.getRelationshipFieldName
(FieldDescriptor fd) -
Uses of FieldDescriptor in nl.datasteel.crudcraft.codegen.writer.search
Methods in nl.datasteel.crudcraft.codegen.writer.search that return FieldDescriptorModifier and TypeMethodDescriptionPropertySpec.descriptor()
Returns the value of thedescriptor
record component.SearchField.descriptor()
Returns the value of thedescriptor
record component.Constructors in nl.datasteel.crudcraft.codegen.writer.search with parameters of type FieldDescriptorModifierConstructorDescriptionPropertySpec
(FieldDescriptor descriptor, String name, Set<SearchOperator> operators) Immutable constructor for PropertySpec.SearchField
(FieldDescriptor descriptor, String property, String path, SearchOperator operator) Creates an instance of aSearchField
record class.